File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/device Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
60
60
RW_m_crash_data MBED_CRASH_REPORT_RAM_START EMPTY MBED_CRASH_REPORT_RAM_SIZE { ; RW data
61
61
}
62
62
RW_IRAM1 MBED_RAM0_START MBED_RAM0_SIZE-Stack_Size { ; RW data 96k L4-SRAM1
63
- .ANY (+RW +ZI )
63
+ .ANY (+RW, +Last )
64
64
}
65
65
; Total: 98 vectors = 392 bytes (0x188) to be reserved in RAM
66
- RW_IRAM2 (0x10000000+0x188) (0x08000-0x188) { ; RW data 32k L4-ECC-SRAM2 retained in standby
67
- .ANY (+RW + ZI)
66
+ RW_IRAM2 (0x10000000+0x188) (0x08000-0x188) { ; ZI data 32k L4-ECC-SRAM2
67
+ .ANY (+ZI)
68
68
}
69
69
ARM_LIB_STACK (MBED_RAM0_START+MBED_RAM0_SIZE) EMPTY -Stack_Size { ; stack
70
70
}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
33
33
}
34
34
35
35
define symbol __size_cstack__ = MBED_BOOT_STACK_SIZE;
36
- define symbol __size_heap__ = 0x10000 ;
36
+ define symbol __size_heap__ = 0x17000 ;
37
37
define block CSTACK with alignment = 8, size = __size_cstack__ { };
38
38
define block HEAP with alignment = 8, size = __size_heap__ { };
39
39
@@ -44,4 +44,4 @@ place at address mem:__intvec_start__ { readonly section .intvec };
44
44
45
45
place in ROM_region { readonly };
46
46
place in SRAM1_region { readwrite, block HEAP };
47
- place in SRAM2_region { block CSTACK };
47
+ place in SRAM2_region { first block CSTACK, zeroinit };
You can’t perform that action at this time.
0 commit comments