mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-31 19:33:04 +08:00
34 lines
932 B
Plaintext
34 lines
932 B
Plaintext
|
#! armclang --target=arm-arm-none-eabi -mcpu=cortex-m0 -E -xc
|
||
|
; *************************************************************
|
||
|
; *** Scatter-Loading Description File generated by uVision ***
|
||
|
; *************************************************************
|
||
|
|
||
|
|
||
|
#define RAM1_SIZE 0x00020000
|
||
|
#define RAM1_BASE 0x20000000
|
||
|
#define RAM1_LIMIT (RAM1_BASE + RAM1_SIZE)
|
||
|
|
||
|
#define STACK_SIZE 0x800
|
||
|
#define HEAP_SIZE (RAM1_LIMIT - ImageLimit(RW_IRAM1))
|
||
|
|
||
|
LR_IROM1 0x00000000 0x00040000 { ; load region size_region
|
||
|
ER_IROM1 0x00000000 0x00040000 { ; load address = execution address
|
||
|
*.o (RESET, +First)
|
||
|
*(InRoot$$Sections)
|
||
|
.ANY (+RO)
|
||
|
.ANY (+XO)
|
||
|
}
|
||
|
|
||
|
ARM_LIB_STACK RAM1_BASE ALIGN 8 EMPTY STACK_SIZE {}
|
||
|
|
||
|
;RW_IRAM1 0x20000000 0x00020000 { ; RW data
|
||
|
RW_IRAM1 +0 { ; RW data
|
||
|
.ANY (+RW +ZI)
|
||
|
}
|
||
|
|
||
|
ARM_LIB_HEAP +0 ALIGN 8 EMPTY HEAP_SIZE {}
|
||
|
|
||
|
ScatterAssert(ImageLimit(ARM_LIB_HEAP) <= RAM1_LIMIT)
|
||
|
}
|
||
|
|