The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_MAX32630FTHR/TOOLCHAIN_IAR/MAX3263x.icf@172:65be27845400, 2019-02-20 (annotated)
- Committer:
- AnnaBridge
- Date:
- Wed Feb 20 20:53:29 2019 +0000
- Revision:
- 172:65be27845400
- Parent:
- 135:176b8275d35d
mbed library release version 165
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 135:176b8275d35d | 1 | /* [ROM] */ |
<> | 135:176b8275d35d | 2 | define symbol __intvec_start__ = 0x00000000; |
<> | 135:176b8275d35d | 3 | define symbol __region_ROM_start__ = 0x00000000; |
<> | 135:176b8275d35d | 4 | define symbol __region_ROM_end__ = 0x001FFFFF; |
<> | 135:176b8275d35d | 5 | |
<> | 135:176b8275d35d | 6 | /* [RAM] Vector table dynamic copy: 68 vectors * 4 bytes = 272 (0x110) bytes */ |
<> | 135:176b8275d35d | 7 | define symbol __NVIC_start__ = 0x00000000; |
<> | 135:176b8275d35d | 8 | define symbol __NVIC_end__ = 0x00000110; /* to be aligned on 8 bytes */ |
<> | 135:176b8275d35d | 9 | define symbol __region_RAM_start__ = 0x20000000; |
<> | 135:176b8275d35d | 10 | define symbol __region_RAM_end__ = 0x2007FFFF; |
<> | 135:176b8275d35d | 11 | |
<> | 135:176b8275d35d | 12 | /* Memory regions */ |
<> | 135:176b8275d35d | 13 | define memory mem with size = 4G; |
<> | 135:176b8275d35d | 14 | define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]; |
<> | 135:176b8275d35d | 15 | define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]; |
<> | 135:176b8275d35d | 16 | |
<> | 135:176b8275d35d | 17 | /* Stack and Heap */ |
<> | 135:176b8275d35d | 18 | define symbol __size_cstack__ = 0x5000; |
<> | 135:176b8275d35d | 19 | define symbol __size_heap__ = 0xA000; |
<> | 135:176b8275d35d | 20 | define block CSTACK with alignment = 8, size = __size_cstack__ { }; |
<> | 135:176b8275d35d | 21 | define block HEAP with alignment = 8, size = __size_heap__ { }; |
<> | 135:176b8275d35d | 22 | |
<> | 135:176b8275d35d | 23 | initialize by copy { readwrite }; |
<> | 135:176b8275d35d | 24 | do not initialize { section .noinit }; |
<> | 135:176b8275d35d | 25 | |
<> | 135:176b8275d35d | 26 | place at address mem:__intvec_start__ { readonly section .intvec }; |
<> | 135:176b8275d35d | 27 | place in ROM_region { readonly }; |
<> | 135:176b8275d35d | 28 | place in RAM_region { readwrite, |
<> | 135:176b8275d35d | 29 | block CSTACK, block HEAP }; |