mirror of https://github.com/ARMmbed/mbed-os.git
These targets have a different memory layout,
they have two RAMs at two distinct locations: RAM1 (address: MBED_RAM_START, size: MBED_RAM_SIZE): * stack * heap * some part of static memory RAM2 (address: MBED_IRAM2_START, size: MBED_IRAM2_SIZE): * remaining part of static memory starting at MBED_IRAM2_START * crash report * vectorpull/14142/head
parent
2255408f45
commit
24132695e3
|
|
@ -102,7 +102,7 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
|
||||||
.ANY (+RW +ZI)
|
.ANY (+RW +ZI)
|
||||||
}
|
}
|
||||||
|
|
||||||
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_SIZE-RAM_FIXED_SIZE+MBED_IRAM2_START-AlignExpr(ImageLimit(RW_IRAM1), 16)) {
|
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_SIZE-RAM_FIXED_SIZE-(AlignExpr(ImageLimit(RW_IRAM1), 16)-MBED_RAM_START)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
RW_IRAM2 MBED_IRAM2_START MBED_IRAM2_SIZE {
|
RW_IRAM2 MBED_IRAM2_START MBED_IRAM2_SIZE {
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE {
|
||||||
.ANY (+RW +ZI)
|
.ANY (+RW +ZI)
|
||||||
}
|
}
|
||||||
|
|
||||||
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_SIZE-RAM_FIXED_SIZE+MBED_IRAM2_START-AlignExpr(ImageLimit(RW_IRAM1), 16)) { ; Heap growing up
|
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_SIZE-RAM_FIXED_SIZE-(AlignExpr(ImageLimit(RW_IRAM1), 16)-MBED_RAM_START)) { ; Heap growing up
|
||||||
}
|
}
|
||||||
|
|
||||||
RW_IRAM2 MBED_IRAM2_START MBED_IRAM2_SIZE {
|
RW_IRAM2 MBED_IRAM2_START MBED_IRAM2_SIZE {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue