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)