Merge pull request #857 from adamgreen/rtxIssue856Fix

Correct warning when assigning HEAP_START to stack_pointer
pull/854/merge
Martin Kojtal 2015-01-22 07:39:53 +00:00
commit 1c9ba7ca9c
1 changed files with 2 additions and 2 deletions

View File

@ -304,10 +304,10 @@ osThreadDef_t os_thread_def_main = {(os_pthread)main, osPriorityNormal, 0, NULL}
#endif
#ifdef __CC_ARM
extern unsigned char Image$$RW_IRAM1$$ZI$$Limit[];
extern uint32_t Image$$RW_IRAM1$$ZI$$Limit[];
#define HEAP_START (Image$$RW_IRAM1$$ZI$$Limit)
#elif defined(__GNUC__)
extern unsigned char __end__[];
extern uint32_t __end__[];
#define HEAP_START (__end__)
#elif defined(__ICCARM__)
#pragma section="HEAP"