mbed rtos - modified for the final project of the course "Advanced Operating Systems"

Dependents:   aos_mbed

Fork of mbed-rtos by mbed official

Revision:
15:29007aef10a4
Parent:
14:ee87e782d34f
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) {