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 5454; Total: 118 vectors = 472 bytes (0x1D8) to be reserved in RAM
5555#define VECTOR_SIZE 0x1D8
5656
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)
5863
5964LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
6065
@@ -64,7 +69,11 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
6469 .ANY (+RO)
6570 }
6671
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
6877 .ANY (+RW +ZI)
6978 }
7079
You can’t perform that action at this time.
0 commit comments