File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_MICRO Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 54
54
; Total: 118 vectors = 472 bytes (0x1D8) to be reserved in RAM
55
55
#define VECTOR_SIZE 0x1D8
56
56
57
- #define RAM_FIXED_SIZE (MBED_BOOT_STACK_SIZE+VECTOR_SIZE)
57
+ #define MBED_CRASH_REPORT_RAM_SIZE 0x100
58
+
59
+ #define MBED_IRAM1_START (MBED_RAM_START + VECTOR_SIZE + MBED_CRASH_REPORT_RAM_SIZE)
60
+ #define MBED_IRAM1_SIZE (MBED_RAM_SIZE - VECTOR_SIZE - MBED_CRASH_REPORT_RAM_SIZE)
61
+
62
+ #define RAM_FIXED_SIZE (MBED_BOOT_STACK_SIZE+VECTOR_SIZE+MBED_CRASH_REPORT_RAM_SIZE)
58
63
59
64
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
60
65
@@ -64,7 +69,11 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
64
69
.ANY (+RO)
65
70
}
66
71
67
- RW_IRAM1 (MBED_RAM_START+VECTOR_SIZE) (MBED_RAM_SIZE-VECTOR_SIZE) { ; RW data
72
+ RW_m_crash_data (MBED_RAM_START+VECTOR_SIZE) EMPTY MBED_CRASH_REPORT_RAM_SIZE { ; RW data
73
+ }
74
+
75
+
76
+ RW_IRAM1 MBED_IRAM1_START MBED_IRAM1_SIZE { ; RW data
68
77
.ANY (+RW +ZI)
69
78
}
70
79
You can’t perform that action at this time.
0 commit comments