From dc4b409c0b28d330cc8c917c609632c71d7ebeeb Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 3 Dec 2013 09:01:20 +0000 Subject: [PATCH] Fixed bug #443. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6523 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARMCM4-STM32F303-DISCOVERY/.cproject | 1 + os/ports/GCC/ARMCMx/chcore_v7m.h | 8 ++++---- readme.txt | 2 ++ 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 @@ + 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)