mirror of https://github.com/ARMmbed/mbed-os.git
[NUC472/M453] Reduce (interrupt) stack size from 4 KB to 2 KB
parent
c557842d68
commit
4ae76be2ce
|
@ -10,10 +10,10 @@ LR_IROM1 0x00000000 {
|
|||
; uvisor-lib.a (+RW +ZI)
|
||||
;}
|
||||
|
||||
ARM_LIB_STACK 0x20000000 EMPTY 0x1000 {
|
||||
ARM_LIB_STACK 0x20000000 EMPTY 0x800 {
|
||||
}
|
||||
|
||||
ER_IRAMVEC 0x20001000 EMPTY (4*(16 + 64)) { ; Reserve for vectors
|
||||
ER_IRAMVEC 0x20000800 EMPTY (4*(16 + 64)) { ; Reserve for vectors
|
||||
}
|
||||
|
||||
RW_IRAM1 AlignExpr(+0, 16) { ; 16 byte-aligned
|
||||
|
|
|
@ -10,10 +10,10 @@ LR_IROM1 0x00000000 {
|
|||
; uvisor-lib.a (+RW +ZI)
|
||||
;}
|
||||
|
||||
ARM_LIB_STACK 0x20000000 EMPTY 0x1000 {
|
||||
ARM_LIB_STACK 0x20000000 EMPTY 0x800 {
|
||||
}
|
||||
|
||||
ER_IRAMVEC 0x20001000 EMPTY (4*(16 + 64)) { ; Reserve for vectors
|
||||
ER_IRAMVEC 0x20000800 EMPTY (4*(16 + 64)) { ; Reserve for vectors
|
||||
}
|
||||
|
||||
RW_IRAM1 AlignExpr(+0, 16) { ; 16 byte-aligned
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Nuvoton M453 GCC linker script file
|
||||
*/
|
||||
|
||||
StackSize = 0x1000;
|
||||
StackSize = 0x800;
|
||||
|
||||
MEMORY
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@ define symbol __ICFEDIT_region_ROM_end__ = 0x00040000;
|
|||
define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
|
||||
define symbol __ICFEDIT_region_IRAM_end__ = 0x20008000;
|
||||
/*-Sizes-*/
|
||||
define symbol __ICFEDIT_size_cstack__ = 0x1000;
|
||||
define symbol __ICFEDIT_size_cstack__ = 0x800;
|
||||
define symbol __ICFEDIT_size_heap__ = 0x4000;
|
||||
/**** End of ICF editor section. ###ICF###*/
|
||||
|
||||
|
|
|
@ -10,10 +10,10 @@ LR_IROM1 0x00000000 {
|
|||
; uvisor-lib.a (+RW +ZI)
|
||||
;}
|
||||
|
||||
ARM_LIB_STACK 0x20000000 EMPTY 0x1000 {
|
||||
ARM_LIB_STACK 0x20000000 EMPTY 0x800 {
|
||||
}
|
||||
|
||||
ER_IRAMVEC 0x20001000 EMPTY (4*(16 + 142)) { ; Reserve for vectors
|
||||
ER_IRAMVEC 0x20000800 EMPTY (4*(16 + 142)) { ; Reserve for vectors
|
||||
}
|
||||
|
||||
RW_IRAM1 AlignExpr(+0, 16) { ; 16 byte-aligned
|
||||
|
|
|
@ -10,10 +10,10 @@ LR_IROM1 0x00000000 {
|
|||
; uvisor-lib.a (+RW +ZI)
|
||||
;}
|
||||
|
||||
ARM_LIB_STACK 0x20000000 EMPTY 0x1000 {
|
||||
ARM_LIB_STACK 0x20000000 EMPTY 0x800 {
|
||||
}
|
||||
|
||||
ER_IRAMVEC 0x20001000 EMPTY (4*(16 + 142)) { ; Reserve for vectors
|
||||
ER_IRAMVEC 0x20000800 EMPTY (4*(16 + 142)) { ; Reserve for vectors
|
||||
}
|
||||
|
||||
RW_IRAM1 AlignExpr(+0, 16) { ; 16 byte-aligned
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Nuvoton NUC472 GCC linker script file
|
||||
*/
|
||||
|
||||
StackSize = 0x1000;
|
||||
StackSize = 0x800;
|
||||
|
||||
MEMORY
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_IRAM_end__ = 0x20010000;
|
|||
define symbol __ICFEDIT_region_XRAM_start__ = 0x60000000;
|
||||
define symbol __ICFEDIT_region_XRAM_end__ = 0x60100000;
|
||||
/*-Sizes-*/
|
||||
define symbol __ICFEDIT_size_cstack__ = 0x1000;
|
||||
define symbol __ICFEDIT_size_cstack__ = 0x800;
|
||||
define symbol __ICFEDIT_size_heap__ = 0xC0000;
|
||||
/**** End of ICF editor section. ###ICF###*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue