File tree Expand file tree Collapse file tree 10 files changed +56
-16
lines changed
TARGET_M251/device/TOOLCHAIN_GCC_ARM
TARGET_M261/device/TOOLCHAIN_GCC_ARM
TARGET_M451/device/TOOLCHAIN_GCC_ARM
TARGET_M460/device/TOOLCHAIN_GCC_ARM
TARGET_M480/device/TOOLCHAIN_GCC_ARM
TARGET_NANO100/device/TOOLCHAIN_GCC_ARM
TARGET_NUC472/device/TOOLCHAIN_GCC_ARM
TARGET_NU_XRAM_UNSUPPORTED Expand file tree Collapse file tree 10 files changed +56
-16
lines changed Original file line number Diff line number Diff line change 2020
2121#include "../partition_M2354_mem.h"
2222
23- #if !defined(MBED_BOOT_STACK_SIZE)
24- #define MBED_BOOT_STACK_SIZE 0x400
23+ #if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
24+ # if defined(MBED_BOOT_STACK_SIZE)
25+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE MBED_BOOT_STACK_SIZE
26+ # else
27+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
28+ # endif
2529#endif
2630
2731LR_IROM1 MBED_APP_START
@@ -34,7 +38,7 @@ LR_IROM1 MBED_APP_START
3438 .ANY (+RO)
3539 }
3640
37- ARM_LIB_STACK MBED_RAM_APP_START EMPTY MBED_BOOT_STACK_SIZE
41+ ARM_LIB_STACK MBED_RAM_APP_START EMPTY MBED_CONF_TARGET_BOOT_STACK_SIZE
3842 {
3943 }
4044
Original file line number Diff line number Diff line change 2222
2323#include " ../partition_M2354_mem.h"
2424
25- #if !defined(MBED_BOOT_STACK_SIZE)
26- #define MBED_BOOT_STACK_SIZE 0x400
25+ #if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
26+ # if defined(MBED_BOOT_STACK_SIZE)
27+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE MBED_BOOT_STACK_SIZE
28+ # else
29+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
30+ # endif
2731#endif
2832
29- StackSize = MBED_BOOT_STACK_SIZE ;
33+ StackSize = MBED_CONF_TARGET_BOOT_STACK_SIZE ;
3034
3135MEMORY
3236{
Original file line number Diff line number Diff line change 2121#include " ../M251_mem.h"
2222
2323#if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
24- #define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
24+ # if defined(MBED_BOOT_STACK_SIZE)
25+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE MBED_BOOT_STACK_SIZE
26+ # else
27+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
28+ # endif
2529#endif
2630
2731StackSize = MBED_CONF_TARGET_BOOT_STACK_SIZE;
Original file line number Diff line number Diff line change 2323#include " ../M261_mem.h"
2424
2525#if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
26- #define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
26+ # if defined(MBED_BOOT_STACK_SIZE)
27+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE MBED_BOOT_STACK_SIZE
28+ # else
29+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
30+ # endif
2731#endif
2832
2933M_CRASH_DATA_RAM_SIZE = 0x100 ;
Original file line number Diff line number Diff line change 2323#include " ../M451_mem.h"
2424
2525#if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
26- #define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
26+ # if defined(MBED_BOOT_STACK_SIZE)
27+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE MBED_BOOT_STACK_SIZE
28+ # else
29+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
30+ # endif
2731#endif
2832
2933StackSize = MBED_CONF_TARGET_BOOT_STACK_SIZE;
Original file line number Diff line number Diff line change 2222
2323#include " ../M460_mem.h"
2424
25- #if !defined(MBED_BOOT_STACK_SIZE)
26- #define MBED_BOOT_STACK_SIZE 0x400
25+ #if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
26+ # if defined(MBED_BOOT_STACK_SIZE)
27+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE MBED_BOOT_STACK_SIZE
28+ # else
29+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
30+ # endif
2731#endif
2832
2933#if !defined(NU_HYPERRAM_START)
3539#endif
3640
3741M_CRASH_DATA_RAM_SIZE = 0x100 ;
38- StackSize = MBED_BOOT_STACK_SIZE ;
42+ StackSize = MBED_CONF_TARGET_BOOT_STACK_SIZE ;
3943
4044MEMORY
4145{
Original file line number Diff line number Diff line change 2323#include " ../M480_mem.h"
2424
2525#if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
26- #define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
26+ # if defined(MBED_BOOT_STACK_SIZE)
27+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE MBED_BOOT_STACK_SIZE
28+ # else
29+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
30+ # endif
2731#endif
2832
2933M_CRASH_DATA_RAM_SIZE = 0x100 ;
Original file line number Diff line number Diff line change 2323#include " ../NANO100_mem.h"
2424
2525#if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
26- #define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
26+ # if defined(MBED_BOOT_STACK_SIZE)
27+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE MBED_BOOT_STACK_SIZE
28+ # else
29+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
30+ # endif
2731#endif
2832
2933StackSize = MBED_CONF_TARGET_BOOT_STACK_SIZE;
Original file line number Diff line number Diff line change 1111#endif
1212
1313#if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
14- #define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
14+ # if defined(MBED_BOOT_STACK_SIZE)
15+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE MBED_BOOT_STACK_SIZE
16+ # else
17+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
18+ # endif
1519#endif
1620
1721M_CRASH_DATA_RAM_SIZE = 0x100 ;
Original file line number Diff line number Diff line change 1111#endif
1212
1313#if !defined(MBED_CONF_TARGET_BOOT_STACK_SIZE)
14- #define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
14+ # if defined(MBED_BOOT_STACK_SIZE)
15+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE MBED_BOOT_STACK_SIZE
16+ # else
17+ # define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400
18+ # endif
1519#endif
1620
1721M_CRASH_DATA_RAM_SIZE = 0x100 ;
You can’t perform that action at this time.
0 commit comments