mirror of https://github.com/ARMmbed/mbed-os.git
Add the target config option "boot-stack-size" which is passed to the linker as the define "MBED_BOOT_STACK_SIZE" so the linker can adjust the stack accordingly. On mbed 2 the boot stack becomes the main stack after boot. On mbed 5 the boot stack becomes the ISR stack after boot. Because of these different uses the stack size for mbed 2 is set to 4K by default while on mbed 5 it is set to 1k. Additionally, the NRF5X family requires a larger interrupt stack size due to the softdevice so the size is increased to 2k on mbed 5 builds. |
||
|---|---|---|
| .. | ||
| TARGET_ARM_FM | ||
| TARGET_ARM_SSG | ||
| TARGET_Analog_Devices | ||
| TARGET_Atmel | ||
| TARGET_Freescale | ||
| TARGET_Maxim | ||
| TARGET_NORDIC | ||
| TARGET_NUVOTON | ||
| TARGET_NXP | ||
| TARGET_ONSEMI | ||
| TARGET_RENESAS | ||
| TARGET_Realtek | ||
| TARGET_STM | ||
| TARGET_Silicon_Labs | ||
| TARGET_TOSHIBA | ||
| TARGET_WICED | ||
| TARGET_WIZNET | ||
| TARGET_ublox | ||
| targets.json | ||