modes
Fork of mbed-rtos by
Diff: rtx/RTX_CM_lib.h
- Revision:
- 15:29007aef10a4
- Parent:
- 14:ee87e782d34f
- Child:
- 16:f88660a9bed1
diff -r ee87e782d34f -r 29007aef10a4 rtx/RTX_CM_lib.h --- a/rtx/RTX_CM_lib.h Wed Sep 11 20:15:08 2013 +0100 +++ b/rtx/RTX_CM_lib.h Tue Nov 19 09:00:05 2013 +0000 @@ -203,7 +203,7 @@ #define INITIAL_SP (0x10008000UL) #elif TARGET_LPC11U24 -#define INITIAL_SP (0x10001000UL) +#define INITIAL_SP (0x10002000UL) #elif TARGET_LPC1114 #define INITIAL_SP (0x10001000UL) @@ -226,8 +226,8 @@ extern unsigned char Image$$RW_IRAM1$$ZI$$Limit[]; #define HEAP_START (Image$$RW_IRAM1$$ZI$$Limit) #elif defined(__GNUC__) -extern unsigned char __HeapLimit[]; -#define HEAP_START (__HeapLimit) +extern unsigned char __end__[]; +#define HEAP_START (__end__) #endif void set_main_stack(void) {