Modified version of the mbed library for use with the Nucleo boards.
Dependents: EEPROMWrite Full-Project
Fork of mbed-src by
targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_IAR/stm32f446xx.icf@613:bc40b8d2aec4, 2015-08-20 (annotated)
- Committer:
- mbed_official
- Date:
- Thu Aug 20 10:45:13 2015 +0100
- Revision:
- 613:bc40b8d2aec4
Synchronized with git revision 92ca8c7b60a283b6bb60eb65b183dac1599f0ade
Full URL: https://github.com/mbedmicro/mbed/commit/92ca8c7b60a283b6bb60eb65b183dac1599f0ade/
Nordic: update application start address in GCC linker script
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 613:bc40b8d2aec4 | 1 | /* [ROM = 512kb = 0x80000] */ |
mbed_official | 613:bc40b8d2aec4 | 2 | define symbol __intvec_start__ = 0x08000000; |
mbed_official | 613:bc40b8d2aec4 | 3 | define symbol __region_ROM_start__ = 0x08000000; |
mbed_official | 613:bc40b8d2aec4 | 4 | define symbol __region_ROM_end__ = 0x0807FFFF; |
mbed_official | 613:bc40b8d2aec4 | 5 | |
mbed_official | 613:bc40b8d2aec4 | 6 | /* [RAM = 128kb = 0x20000] Vector table dynamic copy: 113 vectors = 452 bytes (0x1C4) to be reserved in RAM */ |
mbed_official | 613:bc40b8d2aec4 | 7 | define symbol __NVIC_start__ = 0x20000000; |
mbed_official | 613:bc40b8d2aec4 | 8 | define symbol __NVIC_end__ = 0x200001C3; /* Aligned on 8 bytes */ |
mbed_official | 613:bc40b8d2aec4 | 9 | define symbol __region_RAM_start__ = 0x200001C4; |
mbed_official | 613:bc40b8d2aec4 | 10 | define symbol __region_RAM_end__ = 0x2001FFFF; |
mbed_official | 613:bc40b8d2aec4 | 11 | |
mbed_official | 613:bc40b8d2aec4 | 12 | /* Memory regions */ |
mbed_official | 613:bc40b8d2aec4 | 13 | define memory mem with size = 4G; |
mbed_official | 613:bc40b8d2aec4 | 14 | define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]; |
mbed_official | 613:bc40b8d2aec4 | 15 | define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]; |
mbed_official | 613:bc40b8d2aec4 | 16 | |
mbed_official | 613:bc40b8d2aec4 | 17 | /* Stack and Heap */ |
mbed_official | 613:bc40b8d2aec4 | 18 | /*Heap 1/4 of ram and stack 1/8*/ |
mbed_official | 613:bc40b8d2aec4 | 19 | define symbol __size_cstack__ = 0x4000; |
mbed_official | 613:bc40b8d2aec4 | 20 | define symbol __size_heap__ = 0x8000; |
mbed_official | 613:bc40b8d2aec4 | 21 | define block CSTACK with alignment = 8, size = __size_cstack__ { }; |
mbed_official | 613:bc40b8d2aec4 | 22 | define block HEAP with alignment = 8, size = __size_heap__ { }; |
mbed_official | 613:bc40b8d2aec4 | 23 | define block STACKHEAP with fixed order { block HEAP, block CSTACK }; |
mbed_official | 613:bc40b8d2aec4 | 24 | |
mbed_official | 613:bc40b8d2aec4 | 25 | initialize by copy with packing = zeros { readwrite }; |
mbed_official | 613:bc40b8d2aec4 | 26 | do not initialize { section .noinit }; |
mbed_official | 613:bc40b8d2aec4 | 27 | |
mbed_official | 613:bc40b8d2aec4 | 28 | place at address mem:__intvec_start__ { readonly section .intvec }; |
mbed_official | 613:bc40b8d2aec4 | 29 | |
mbed_official | 613:bc40b8d2aec4 | 30 | place in ROM_region { readonly }; |
mbed_official | 613:bc40b8d2aec4 | 31 | place in RAM_region { readwrite, block STACKHEAP }; |