File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 12
12
13
13
STACK_SIZE = MBED_BOOT_STACK_SIZE;
14
14
15
+ M_CRASH_DATA_RAM_SIZE = 0x100;
16
+
15
17
/* Linker script to configure memory regions. */
16
18
MEMORY
17
19
{
@@ -91,6 +93,18 @@ SECTIONS
91
93
__etext = .;
92
94
_sidata = .;
93
95
96
+ .crash_data_ram :
97
+ {
98
+ . = ALIGN (8);
99
+ __CRASH_DATA_RAM__ = .;
100
+ __CRASH_DATA_RAM_START__ = .; /* Create a global symbol at data start */
101
+ KEEP(*(.keep.crash_data_ram))
102
+ *(.m_crash_data_ram) /* This is a user defined section */
103
+ . += M_CRASH_DATA_RAM_SIZE;
104
+ . = ALIGN (8);
105
+ __CRASH_DATA_RAM_END__ = .; /* Define a global symbol at data end */
106
+ } > RAM
107
+
94
108
.data : AT (__etext)
95
109
{
96
110
__data_start__ = .;
You can’t perform that action at this time.
0 commit comments