Maintain legacy RTOS behavior before mbed-5
Fork of mbed-rtos by
Revision 78:2db19f47c2ba, committed 2015-05-21
- Comitter:
- mbed_official
- Date:
- Thu May 21 10:00:35 2015 +0100
- Parent:
- 77:3516160e016b
- Child:
- 79:c586ffeebfb4
- Commit message:
- Synchronized with git revision 1838c70a90ab783b1450eaf62cc645c43f463c3c
Full URL: https://github.com/mbedmicro/mbed/commit/1838c70a90ab783b1450eaf62cc645c43f463c3c/
Changed in this revision
--- a/rtx/TARGET_CORTEX_M/RTX_CM_lib.h Thu May 14 06:30:09 2015 +0100 +++ b/rtx/TARGET_CORTEX_M/RTX_CM_lib.h Thu May 21 10:00:35 2015 +0100 @@ -310,6 +310,9 @@ #elif defined(TARGET_STM32L152RE) #define INITIAL_SP (0x20014000UL) +#elif defined(TARGET_NZ32ST1L) +#define INITIAL_SP (0x20008000UL) + #else #error "no target defined"
--- a/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c Thu May 14 06:30:09 2015 +0100 +++ b/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c Thu May 21 10:00:35 2015 +0100 @@ -56,7 +56,7 @@ # elif defined(TARGET_LPC11U24) || defined(TARGET_STM32F303RE) || defined(TARGET_LPC11U35_401) || defined(TARGET_LPC11U35_501) || defined(TARGET_LPCCAPPUCCINO) || defined(TARGET_LPC1114) \ || defined(TARGET_LPC812) || defined(TARGET_KL25Z) || defined(TARGET_KL05Z) || defined(TARGET_STM32F100RB) || defined(TARGET_STM32F051R8) \ || defined(TARGET_STM32F103RB) || defined(TARGET_LPC824) || defined(TARGET_STM32F302R8) || defined(TARGET_STM32F334R8) || defined(TARGET_STM32F334C8) \ - || defined(TARGET_STM32L053R8) || defined(TARGET_STM32L053C8) || defined(TARGET_STM32F072RB) || defined(TARGET_STM32F091RC) + || defined(TARGET_STM32L053R8) || defined(TARGET_STM32L053C8) || defined(TARGET_STM32F072RB) || defined(TARGET_STM32F091RC) || defined(TARGET_NZ32ST1L) # define OS_TASKCNT 6 # else # error "no target defined" @@ -71,7 +71,7 @@ # define OS_SCHEDULERSTKSIZE 256 # elif defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401) || defined(TARGET_LPC11U35_501) || defined(TARGET_LPCCAPPUCCINO) || defined(TARGET_LPC1114) \ || defined(TARGET_LPC812) || defined(TARGET_KL25Z) || defined(TARGET_KL05Z) || defined(TARGET_STM32F100RB) || defined(TARGET_STM32F051R8) \ - || defined(TARGET_STM32F103RB) || defined(TARGET_LPC824) || defined(TARGET_STM32F302R8) || defined(TARGET_STM32F072RB) || defined(TARGET_STM32F091RC) + || defined(TARGET_STM32F103RB) || defined(TARGET_LPC824) || defined(TARGET_STM32F302R8) || defined(TARGET_STM32F072RB) || defined(TARGET_STM32F091RC) || defined(TARGET_NZ32ST1L) # define OS_SCHEDULERSTKSIZE 128 # elif defined(TARGET_STM32F334R8) || defined(TARGET_STM32F303RE) || defined(TARGET_STM32F334C8) || defined(TARGET_STM32L053R8) || defined(TARGET_STM32L053C8) # define OS_SCHEDULERSTKSIZE 112 @@ -153,7 +153,7 @@ # elif defined(TARGET_STM32F411RE) # define OS_CLOCK 100000000 -#elif defined(TARGET_STM32F103RB) +#elif defined(TARGET_STM32F103RB) # define OS_CLOCK 72000000 #elif defined(TARGET_STM32F429ZI) @@ -171,6 +171,12 @@ #elif defined(TARGET_MAX32610) || defined(TARGET_MAX32600) # define OS_CLOCK 24000000 +#elif defined(TARGET_NZ32ST1L) +# define OS_CLOCK 32000000 + +#elif defined(TARGET_STM32L152RE) +# define OS_CLOCK 24000000 + # else # error "no target defined" # endif