mirror of https://github.com/ARMmbed/mbed-os.git
NRF52: Fix failure if boot stack size is not provided
The same default value is provided in the GCC_ARM linker file.pull/13452/head
parent
39e69d328d
commit
2ed7403e3e
|
@ -14,6 +14,10 @@
|
|||
#define MBED_RAM_SIZE 0x10000
|
||||
#endif
|
||||
|
||||
#if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
|
||||
#define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x800
|
||||
#endif
|
||||
|
||||
#define Stack_Size MBED_CONF_TARGET_BOOT_STACK_SIZE
|
||||
|
||||
#define MBED_RAM0_START MBED_RAM_START
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
#define MBED_RAM_SIZE 0x40000
|
||||
#endif
|
||||
|
||||
#if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
|
||||
#define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x800
|
||||
#endif
|
||||
|
||||
#define Stack_Size MBED_CONF_TARGET_BOOT_STACK_SIZE
|
||||
|
||||
#define MBED_RAM0_START MBED_RAM_START
|
||||
|
|
Loading…
Reference in New Issue