File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
targets/TARGET_NUVOTON/TARGET_NUC472/device/TOOLCHAIN_GCC_ARM/TARGET_NU_XRAM_SUPPORTED Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 14
14
#define MBED_BOOT_STACK_SIZE 0x400
15
15
#endif
16
16
17
+ M_CRASH_DATA_RAM_SIZE = 0x100;
17
18
StackSize = MBED_BOOT_STACK_SIZE;
18
19
19
20
MEMORY
@@ -132,7 +133,19 @@ SECTIONS
132
133
. += __vector_size;
133
134
PROVIDE (__end_vector_table__ = .);
134
135
} > RAM_INTERN
135
-
136
+
137
+ .crash_data_ram :
138
+ {
139
+ . = ALIGN (8);
140
+ __CRASH_DATA_RAM__ = .;
141
+ __CRASH_DATA_RAM_START__ = .; /* Create a global symbol at data start */
142
+ KEEP(*(.keep.crash_data_ram))
143
+ *(.m_crash_data_ram) /* This is a user defined section */
144
+ . += M_CRASH_DATA_RAM_SIZE;
145
+ . = ALIGN (8);
146
+ __CRASH_DATA_RAM_END__ = .; /* Define a global symbol at data end */
147
+ } > RAM_INTERN
148
+
136
149
.data :
137
150
{
138
151
PROVIDE ( __etext = LOADADDR (.data) );
You can’t perform that action at this time.
0 commit comments