Changes to support L152
Fork of mbed-rtos by
Revision 41:5aaddf3695c4, committed 2014-09-29
- Comitter:
- moxondesign
- Date:
- Mon Sep 29 23:00:10 2014 +0000
- Parent:
- 40:bd07334df5b1
- Commit message:
- Fixes for STM Nucleo L152RE
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 bd07334df5b1 -r 5aaddf3695c4 rtx/RTX_CM_lib.h --- a/rtx/RTX_CM_lib.h Fri Aug 15 16:30:22 2014 +0100 +++ b/rtx/RTX_CM_lib.h Mon Sep 29 23:00:10 2014 +0000 @@ -257,7 +257,7 @@ #define INITIAL_SP (0x20020000UL) #else -#error "no target defined" +#define INITIAL_SP (0x20002000UL) #endif
diff -r bd07334df5b1 -r 5aaddf3695c4 rtx/RTX_Conf_CM.c --- a/rtx/RTX_Conf_CM.c Fri Aug 15 16:30:22 2014 +0100 +++ b/rtx/RTX_Conf_CM.c Mon Sep 29 23:00:10 2014 +0000 @@ -56,7 +56,7 @@ || defined(TARGET_LPC812) || defined(TARGET_KL25Z) || defined(TARGET_KL05Z) || defined(TARGET_STM32F100RB) || defined(TARGET_STM32F051R8) # define OS_TASKCNT 6 # else -# error "no target defined" +# define OS_TASKCNT 7 # endif #endif @@ -69,7 +69,7 @@ || defined(TARGET_LPC812) || defined(TARGET_KL25Z) || defined(TARGET_KL05Z) || defined(TARGET_STM32F100RB) || defined(TARGET_STM32F051R8) # define OS_SCHEDULERSTKSIZE 128 # else -# error "no target defined" +# define OS_SCHEDULERSTKSIZE 128 # endif #endif @@ -140,7 +140,7 @@ # define OS_CLOCK 100000000 # else -# error "no target defined" +# define OS_CLOCK 16000000 # endif #endif