with Nucleo STM32F302R8 support (until merged)
Dependents: m2x-demo-all-cc3000
Fork of mbed-rtos by
Diff: rtx/RTX_Conf_CM.c
- Revision:
- 43:aaa1b2c7c64c
- Parent:
- 42:079b9616ee6c
- Child:
- 44:e2da1b20a6d5
diff -r 079b9616ee6c -r aaa1b2c7c64c rtx/RTX_Conf_CM.c --- a/rtx/RTX_Conf_CM.c Thu Sep 25 17:30:10 2014 +0100 +++ b/rtx/RTX_Conf_CM.c Mon Oct 06 10:00:12 2014 +0100 @@ -54,7 +54,7 @@ # define OS_TASKCNT 14 # 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_STM32F103RB) || defined(TARGET_LPC824) # define OS_TASKCNT 6 # else # error "no target defined" @@ -68,7 +68,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_STM32F103RB) || defined(TARGET_LPC824) # define OS_SCHEDULERSTKSIZE 128 # else # error "no target defined" @@ -123,6 +123,9 @@ # elif defined(TARGET_LPC812) # define OS_CLOCK 36000000 +# elif defined(TARGET_LPC824) +# define OS_CLOCK 30000000 + # elif defined(TARGET_STM32F100RB) # define OS_CLOCK 24000000