File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
targets/TARGET_STM/TARGET_STM32L1/TARGET_XDOT_L151CC/device/TOOLCHAIN_ARM_MICRO Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; Scatter-Loading Description File
2
3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
4
; Copyright (c) 2015, STMicroelectronics
27
28
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
29
30
31
+ #if !defined(MBED_APP_START)
32
+ #define MBED_APP_START 0x08000000
33
+ #endif
34
+
35
+ #if !defined(MBED_APP_SIZE)
36
+ #define MBED_APP_SIZE 0x40000
37
+ #endif
38
+
39
+
30
40
; STM32L151RC: 256KB FLASH + 32KB SRAM
31
- LR_IROM1 0x08000000 0x40000 { ; load region size_region
41
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
32
42
33
- ER_IROM1 0x08000000 0x40000 { ; load address = execution address
43
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
34
44
*.o (RESET, +First)
35
45
*(InRoot$$Sections)
36
46
.ANY (+RO)
You can’t perform that action at this time.
0 commit comments