Skip to content

Commit 3c1d938

Browse files
Add ARM_LIB_STACK to resolve CI Error
1 parent 12e4ada commit 3c1d938

File tree

1 file changed

+10
-1
lines changed
  • targets/TARGET_TT/TARGET_TT_M4G9/device/TOOLCHAIN_ARM_STD

1 file changed

+10
-1
lines changed

targets/TARGET_TT/TARGET_TT_M4G9/device/TOOLCHAIN_ARM_STD/tmpm4g9f15.sct

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
#define MBED_APP_SIZE 0x000180000
2323
#endif
2424

25+
#if !defined(MBED_BOOT_STACK_SIZE)
26+
#define MBED_BOOT_STACK_SIZE 0x400
27+
#endif
28+
29+
#define Stack_Size MBED_BOOT_STACK_SIZE
30+
2531
; TMPM4G9: 1536 KB FLASH (0x180000) + 192 KB SRAM (0x30000)
2632

2733
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
3339
.ANY (+RO)
3440
}
3541

36-
RW_IRAM1 0x20000320 (0x30000 - 0x320)
42+
RW_IRAM1 0x20000320 (0x30000 - 0x320 - Stack_Size)
3743
{
3844
tmpm4g9_fc.o (+RO)
3945
.ANY (+RW, +ZI)
4046
}
47+
48+
ARM_LIB_STACK (0x20000320+0x30000) EMPTY -Stack_Size { ; stack
49+
}
4150
}

0 commit comments

Comments
 (0)