Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.
Fork of mbed-rtos by
Revision 30:b69b81781cda, committed 2014-04-30
- Comitter:
- kazu_zamasu
- Date:
- Wed Apr 30 16:26:20 2014 +0000
- Parent:
- 29:9d826f3cfb27
- Commit message:
- Rev2
Changed in this revision
rtx/RTX_CM_lib.h | Show annotated file Show diff for this revision Revisions of this file |
rtx/RTX_Conf_CM.c | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9d826f3cfb27 -r b69b81781cda rtx/RTX_CM_lib.h --- a/rtx/RTX_CM_lib.h Tue Apr 29 08:36:23 2014 +0000 +++ b/rtx/RTX_CM_lib.h Wed Apr 30 16:26:20 2014 +0000 @@ -199,7 +199,7 @@ osThreadDef_t os_thread_def_main = {(os_pthread)main, osPriorityNormal, 0, NULL}; // This define should be probably moved to the CMSIS layer -#if defined(TARGET_LPC1768) || defined(TARGET_LPC1549) +#if defined(TARGET_LPC1768) #define INITIAL_SP (0x10008000UL) #elif defined(TARGET_LPC11U24) @@ -238,6 +238,12 @@ #elif defined(TARGET_STM32F407) || defined(TARGET_F407VG) #define INITIAL_SP (0x20020000UL) +#elif defined(TARGET_LPC1549) +#define INITIAL_SP (0x02009000UL) + +#elif defined(TARGET_LPC11U68) +#define INITIAL_SP (0x10004000UL) + #else #error "no target defined"
diff -r 9d826f3cfb27 -r b69b81781cda rtx/RTX_Conf_CM.c --- a/rtx/RTX_Conf_CM.c Tue Apr 29 08:36:23 2014 +0000 +++ b/rtx/RTX_Conf_CM.c Wed Apr 30 16:26:20 2014 +0000 @@ -50,7 +50,7 @@ // <i> Default: 6 #ifndef OS_TASKCNT # if defined(TARGET_LPC1768)|| defined(TARGET_LPC1549) || defined(TARGET_LPC2368) || defined(TARGET_LPC4088) || defined(TARGET_LPC1347) || defined(TARGET_K64F) \ - || defined(TARGET_KL46Z) || defined(TARGET_STM32F407) || defined(TARGET_F407VG) || defined(TARGET_STM32F303VC) + || defined(TARGET_KL46Z) || defined(TARGET_STM32F407) || defined(TARGET_F407VG) || defined(TARGET_STM32F303VC) || defined(TARGET_LPC11U68) # define OS_TASKCNT 14 # elif defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401) || defined(TARGET_LPC11U35_501) || defined(TARGET_LPC1114) \ || defined(TARGET_LPC812) || defined(TARGET_KL25Z) || defined(TARGET_STM32F100RB) || defined(TARGET_STM32F051R8) @@ -63,7 +63,7 @@ // <o>Scheduler (+ interrupts) stack size [bytes] <64-4096:8><#/4> #ifndef OS_SCHEDULERSTKSIZE # if defined(TARGET_LPC1768) || defined(TARGET_LPC1549) || defined(TARGET_LPC2368) || defined(TARGET_LPC4088) || defined(TARGET_LPC1347) || defined(TARGET_K64F) \ - || defined(TARGET_KL46Z) || defined(TARGET_STM32F407) || defined(TARGET_F407VG) || defined(TARGET_STM32F303VC) + || defined(TARGET_KL46Z) || defined(TARGET_STM32F407) || defined(TARGET_F407VG) || defined(TARGET_STM32F303VC) || defined(TARGET_LPC11U68) # define OS_SCHEDULERSTKSIZE 256 # elif defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401) || defined(TARGET_LPC11U35_501) || defined(TARGET_LPC1114) \ || defined(TARGET_LPC812) || defined(TARGET_KL25Z) || defined(TARGET_STM32F100RB) || defined(TARGET_STM32F051R8)