Skip to content

[NUC472/M453] Support single UART shared by multiple serial objects and other updates #3211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 10, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[NUC472/M453] Reduce (interrupt) stack size from 4 KB to 2 KB
  • Loading branch information
ccli8 committed Nov 7, 2016
commit 4ae76be2ced93c78499b2b612183d96098d6faa4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Nuvoton M453 GCC linker script file
*/

StackSize = 0x1000;
StackSize = 0x800;

MEMORY
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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###*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Nuvoton NUC472 GCC linker script file
*/

StackSize = 0x1000;
StackSize = 0x800;

MEMORY
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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###*/

Expand Down