kopia lustrzana https://github.com/UU5JPP/Wolf-LITE
29 wiersze
836 B
Plaintext
29 wiersze
836 B
Plaintext
; *************************************************************
|
|
; *** Scatter-Loading Description File generated by uVision ***
|
|
; *************************************************************
|
|
|
|
LR_IROM1 0x08000000 0x00080000 { ; load region size_region
|
|
ER_IROM1 0x08000000 0x00080000 { ; load address = execution address
|
|
*.o (RESET, +First)
|
|
*(InRoot$$Sections)
|
|
.ANY (+RO)
|
|
.ANY (+XO)
|
|
}
|
|
|
|
; Stack region growing down
|
|
REGION_STACK 0x20000000 {
|
|
*(STACK)
|
|
}
|
|
|
|
; We have to define heap region, even if we don't actually use heap
|
|
REGION_HEAP ImageLimit(REGION_STACK) {
|
|
*(HEAP)
|
|
}
|
|
|
|
; this will place .bss region above the stack and heap and allocate RAM that is left for it
|
|
RW_IRAM1 ImageLimit(REGION_HEAP) (0x20000 - ImageLength(REGION_STACK) - ImageLength(REGION_HEAP)) {
|
|
*(+RW +ZI)
|
|
}
|
|
}
|
|
|