rtt-f030/bsp/v2m-mps2/rtthread-v2m-mps2.sct

27 lines
744 B
Plaintext
Raw Normal View History

2018-03-01 21:01:23 +08:00
#! armcc -E
; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
#define ROM_START 0x00000000
#define ROM_SIZE 0x00400000
#define RAM1_START 0x20000000
#define RAM1_SIZE 0x00400000
#define RTT_HEAP_SIZE \
(RAM1_SIZE - ImageLength(RW_IRAM1))
LR_IROM1 ROM_START ROM_SIZE { ; load region size_region
ER_IROM1 ROM_START ROM_SIZE { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
RW_IRAM1 RAM1_START RAM1_SIZE { ; RW data
.ANY (+RW +ZI)
}
RTT_HEAP +0 EMPTY RTT_HEAP_SIZE {
}
}