Skip to content
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

OnSemi RAM usage fix #3022

Merged
merged 1 commit into from
Oct 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#! armcc -E

#define Heap_Size 0x0400

LR_IROM1 0x00003000 0x0004F000 { ; load region size_region
ER_IROM1 0x00003000 0x0004F000 { ; load address = execution address
*.o (RESET, +First)
Expand All @@ -11,13 +9,8 @@ LR_IROM1 0x00003000 0x0004F000 { ; load region size_region

; no uvisor support at this time

;ARM_LIB_STACK AlignExpr(+0, 8) EMPTY 0x1000 {}
ARM_LIB_STACK 0x3FFF4000 EMPTY 0x1000 {}

RW_IRAM0 +0 {
RW_IRAM1 0x3FFF4000 {
.ANY(+RW +ZI)
}
RW_IRAM1 ImageLimit(RW_IRAM0) EMPTY Heap_Size { ; Heap region growing up
}
ARM_LIB_HEAP AlignExpr(+0, 8) ALIGN 8 EMPTY (0x3FFF4000 + 0xC000 - AlignExpr(ImageLimit(RW_IRAM1),8) ) {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
EXPORT __Vectors
EXPORT __Vectors_End
EXPORT __Vectors_Size
IMPORT |Image$$ARM_LIB_STACK$$ZI$$Limit|
IMPORT |Image$$ARM_LIB_HEAP$$ZI$$Limit|

__Vectors DCD |Image$$ARM_LIB_STACK$$ZI$$Limit| ; Top of Stack
__Vectors DCD |Image$$ARM_LIB_HEAP$$ZI$$Limit| ; Top of RAM
DCD Reset_Handler ; Reset Handler
DCD NMI_Handler ; NMI Handler
DCD HardFault_Handler ; Hard Fault Handler
Expand Down