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 20
20
21
21
#include "../partition_M2354_mem.h"
22
22
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
25
29
#endif
26
30
27
31
LR_IROM1 MBED_APP_START
@@ -34,7 +38,7 @@ LR_IROM1 MBED_APP_START
34
38
.ANY (+RO)
35
39
}
36
40
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
38
42
{
39
43
}
40
44
Original file line number Diff line number Diff line change 22
22
23
23
#include "../partition_M2354_mem.h"
24
24
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
27
31
#endif
28
32
29
- StackSize = MBED_BOOT_STACK_SIZE ;
33
+ StackSize = MBED_CONF_TARGET_BOOT_STACK_SIZE ;
30
34
31
35
MEMORY
32
36
{
Original file line number Diff line number Diff line change 21
21
#include "../M251_mem.h"
22
22
23
23
#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
25
29
#endif
26
30
27
31
StackSize = MBED_CONF_TARGET_BOOT_STACK_SIZE;
Original file line number Diff line number Diff line change 23
23
#include "../M261_mem.h"
24
24
25
25
#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
27
31
#endif
28
32
29
33
M_CRASH_DATA_RAM_SIZE = 0x100;
Original file line number Diff line number Diff line change 23
23
#include "../M451_mem.h"
24
24
25
25
#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
27
31
#endif
28
32
29
33
StackSize = MBED_CONF_TARGET_BOOT_STACK_SIZE;
Original file line number Diff line number Diff line change 22
22
23
23
#include "../M460_mem.h"
24
24
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
27
31
#endif
28
32
29
33
#if !defined(NU_HYPERRAM_START)
35
39
#endif
36
40
37
41
M_CRASH_DATA_RAM_SIZE = 0x100;
38
- StackSize = MBED_BOOT_STACK_SIZE ;
42
+ StackSize = MBED_CONF_TARGET_BOOT_STACK_SIZE ;
39
43
40
44
MEMORY
41
45
{
Original file line number Diff line number Diff line change 23
23
#include "../M480_mem.h"
24
24
25
25
#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
27
31
#endif
28
32
29
33
M_CRASH_DATA_RAM_SIZE = 0x100;
Original file line number Diff line number Diff line change 23
23
#include "../NANO100_mem.h"
24
24
25
25
#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
27
31
#endif
28
32
29
33
StackSize = MBED_CONF_TARGET_BOOT_STACK_SIZE;
Original file line number Diff line number Diff line change 11
11
#endif
12
12
13
13
#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
15
19
#endif
16
20
17
21
M_CRASH_DATA_RAM_SIZE = 0x100;
Original file line number Diff line number Diff line change 11
11
#endif
12
12
13
13
#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
15
19
#endif
16
20
17
21
M_CRASH_DATA_RAM_SIZE = 0x100;
You can’t perform that action at this time.
0 commit comments