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_SDT32625B/TOOLCHAIN_IAR/MAX32625.icf@171:3a7713b1edbc, 2018-11-08 (annotated)
- Committer:
- AnnaBridge
- Date:
- Thu Nov 08 11:45:42 2018 +0000
- Revision:
- 171:3a7713b1edbc
- Parent:
- TARGET_MAX32625PICO_NO_BOOT/TOOLCHAIN_IAR/MAX32625.icf@169:a7c7b631e539
mbed library. Release version 164
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Anna Bridge |
169:a7c7b631e539 | 1 | /* [ROM] */ |
Anna Bridge |
169:a7c7b631e539 | 2 | define symbol __intvec_start__ = 0x00000000; |
Anna Bridge |
169:a7c7b631e539 | 3 | define symbol __region_ROM_start__ = 0x00000000; |
Anna Bridge |
169:a7c7b631e539 | 4 | define symbol __region_ROM_end__ = 0x0007FFFF; |
Anna Bridge |
169:a7c7b631e539 | 5 | |
Anna Bridge |
169:a7c7b631e539 | 6 | /* [RAM] Vector table dynamic copy: 68 vectors * 4 bytes = 272 (0x110) bytes */ |
Anna Bridge |
169:a7c7b631e539 | 7 | define symbol __NVIC_start__ = 0x00000000; |
Anna Bridge |
169:a7c7b631e539 | 8 | define symbol __NVIC_end__ = 0x00000110; /* to be aligned on 8 bytes */ |
Anna Bridge |
169:a7c7b631e539 | 9 | define symbol __region_RAM_start__ = 0x20000000; |
Anna Bridge |
169:a7c7b631e539 | 10 | define symbol __region_RAM_end__ = 0x20027FFF; |
Anna Bridge |
169:a7c7b631e539 | 11 | |
Anna Bridge |
169:a7c7b631e539 | 12 | /* Memory regions */ |
Anna Bridge |
169:a7c7b631e539 | 13 | define memory mem with size = 4G; |
Anna Bridge |
169:a7c7b631e539 | 14 | define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]; |
Anna Bridge |
169:a7c7b631e539 | 15 | define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]; |
Anna Bridge |
169:a7c7b631e539 | 16 | |
Anna Bridge |
169:a7c7b631e539 | 17 | /* Stack and Heap */ |
Anna Bridge |
169:a7c7b631e539 | 18 | define symbol __size_cstack__ = 0x5000; |
Anna Bridge |
169:a7c7b631e539 | 19 | define symbol __size_heap__ = 0xA000; |
Anna Bridge |
169:a7c7b631e539 | 20 | define block CSTACK with alignment = 8, size = __size_cstack__ { }; |
Anna Bridge |
169:a7c7b631e539 | 21 | define block HEAP with alignment = 8, size = __size_heap__ { }; |
Anna Bridge |
169:a7c7b631e539 | 22 | |
Anna Bridge |
169:a7c7b631e539 | 23 | initialize by copy { readwrite }; |
Anna Bridge |
169:a7c7b631e539 | 24 | do not initialize { section .noinit }; |
Anna Bridge |
169:a7c7b631e539 | 25 | |
Anna Bridge |
169:a7c7b631e539 | 26 | place at address mem:__intvec_start__ { readonly section .intvec }; |
Anna Bridge |
169:a7c7b631e539 | 27 | place in ROM_region { readonly }; |
Anna Bridge |
169:a7c7b631e539 | 28 | place in RAM_region { readwrite, |
Anna Bridge |
169:a7c7b631e539 | 29 | block CSTACK, block HEAP }; |