Changes to support L152

Dependents:   L152RE_rtos_test

Fork of mbed-rtos by mbed official

Revision:
19:98941d799678
Parent:
18:710466f5cf33
Child:
20:991c4c00af93
--- a/rtx/RTX_CM_lib.h	Mon Mar 17 15:00:20 2014 +0000
+++ b/rtx/RTX_CM_lib.h	Wed Mar 19 10:15:36 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
-#ifdef TARGET_LPC1768
+#if   defined(TARGET_LPC1768)
 #define INITIAL_SP            (0x10008000UL)
 
 #elif defined(TARGET_LPC11U24)
@@ -217,6 +217,9 @@
 #elif defined(TARGET_KL25Z)
 #define INITIAL_SP            (0x20003000UL)
 
+#elif defined(TARGET_KL46Z)
+#define INITIAL_SP            (0x20006000UL)
+
 #elif defined(TARGET_LPC4088)
 #define INITIAL_SP            (0x10010000UL)