Add ARM_LIB_STACK to resolve CI Error

pull/9224/head
panyz0725@thundersoft.com 2019-02-21 15:31:51 +08:00
parent 12e4adab99
commit 3c1d938abf
1 changed files with 10 additions and 1 deletions

View File

@ -22,6 +22,12 @@
#define MBED_APP_SIZE 0x000180000
#endif
#if !defined(MBED_BOOT_STACK_SIZE)
#define MBED_BOOT_STACK_SIZE 0x400
#endif
#define Stack_Size MBED_BOOT_STACK_SIZE
; TMPM4G9: 1536 KB FLASH (0x180000) + 192 KB SRAM (0x30000)
LR_IROM1 MBED_APP_START MBED_APP_SIZE ; load region size_region
@ -33,9 +39,12 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE ; load region size_region
.ANY (+RO)
}
RW_IRAM1 0x20000320 (0x30000 - 0x320)
RW_IRAM1 0x20000320 (0x30000 - 0x320 - Stack_Size)
{
tmpm4g9_fc.o (+RO)
.ANY (+RW, +ZI)
}
ARM_LIB_STACK (0x20000320+0x30000) EMPTY -Stack_Size { ; stack
}
}