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 1212
1313STACK_SIZE = MBED_BOOT_STACK_SIZE;
1414
15+ M_CRASH_DATA_RAM_SIZE = 0x100 ;
16+
1517/* Linker script to configure memory regions. */
1618MEMORY
1719{
@@ -91,6 +93,18 @@ SECTIONS
9193 __etext = .;
9294 _sidata = .;
9395
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+
94108 .data : AT (__etext)
95109 {
96110 __data_start__ = .;
You can’t perform that action at this time.
0 commit comments