aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-12-03 09:01:20 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-12-03 09:01:20 +0000
commitdc4b409c0b28d330cc8c917c609632c71d7ebeeb (patch)
tree6410f12d40d48fdd1f42a3227c009ac620090cf7
parentf407c0326feb5ed4c3c49d92a56189dd4a546277 (diff)
downloadChibiOS-dc4b409c0b28d330cc8c917c609632c71d7ebeeb.tar.gz
ChibiOS-dc4b409c0b28d330cc8c917c609632c71d7ebeeb.tar.bz2
ChibiOS-dc4b409c0b28d330cc8c917c609632c71d7ebeeb.zip
Fixed bug #443.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6523 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--demos/ARMCM4-STM32F303-DISCOVERY/.cproject1
-rw-r--r--os/ports/GCC/ARMCMx/chcore_v7m.h8
-rw-r--r--readme.txt2
3 files changed, 7 insertions, 4 deletions
diff --git a/demos/ARMCM4-STM32F303-DISCOVERY/.cproject b/demos/ARMCM4-STM32F303-DISCOVERY/.cproject
index 22d0ba952..09344407f 100644
--- a/demos/ARMCM4-STM32F303-DISCOVERY/.cproject
+++ b/demos/ARMCM4-STM32F303-DISCOVERY/.cproject
@@ -48,4 +48,5 @@
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
+ <storageModule moduleId="refreshScope"/>
</cproject>
diff --git a/os/ports/GCC/ARMCMx/chcore_v7m.h b/os/ports/GCC/ARMCMx/chcore_v7m.h
index 86921ee64..1afdb42f9 100644
--- a/os/ports/GCC/ARMCMx/chcore_v7m.h
+++ b/os/ports/GCC/ARMCMx/chcore_v7m.h
@@ -165,11 +165,11 @@
/**
* @brief PendSV priority level.
- * @note This priority is enforced to be equal to @p CORTEX_BASEPRI_KERNEL,
- * this handler always have the highest priority that cannot preempt
- * the kernel.
+ * @note This priority is enforced to be equal to
+ * @p CORTEX_MAX_KERNEL_PRIORITY, this handler always have the
+ * highest priority that cannot preempt the kernel.
*/
-#define CORTEX_PRIORITY_PENDSV CORTEX_BASEPRI_KERNEL
+#define CORTEX_PRIORITY_PENDSV CORTEX_MAX_KERNEL_PRIORITY
/*===========================================================================*/
/* Port exported info. */
diff --git a/readme.txt b/readme.txt
index d6ac2df48..aaad8b84e 100644
--- a/readme.txt
+++ b/readme.txt
@@ -91,6 +91,8 @@
*** 2.7.0 ***
- FIX: Fixed wrong definition in STM32F37x ADC driver (bug #444)(backported
to 2.6.2).
+- FIX: Fixed wrong CORTEX_PRIORITY_PENDSV value (bug #443)(backported to
+ 2.4.6 and 2.6.2).
- FIX: Fixed lost incoming characters in STM32 USARTv1 driver (bug #442)
(backported to 2.4.6 and 2.6.2).
- FIX: Fixed UART4/5-related bugs in STM32 USARTv1 UART driver (bug #440)