mbed library sources
Fork of mbed-src by
targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/stm32f334x8.icf@434:53c4d348572c, 2014-12-10 (annotated)
- Committer:
- mbed_official
- Date:
- Wed Dec 10 09:00:07 2014 +0000
- Revision:
- 434:53c4d348572c
- Parent:
- 420:8e6e2662709e
Synchronized with git revision 2e1ba4df655e57869b947464fba2c4fa0b6e2a83
Full URL: https://github.com/mbedmicro/mbed/commit/2e1ba4df655e57869b947464fba2c4fa0b6e2a83/
Targets: CMSIS - Fixed linker files for IAR (Ram size on one) and for the rest increased the heap...
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 378:be043393235b | 1 | /* [ROM = 64kb = 0x10000] */ |
mbed_official | 378:be043393235b | 2 | define symbol __intvec_start__ = 0x08000000; |
mbed_official | 378:be043393235b | 3 | define symbol __region_ROM_start__ = 0x08000000; |
mbed_official | 378:be043393235b | 4 | define symbol __region_ROM_end__ = 0x0800FFFF; |
mbed_official | 378:be043393235b | 5 | |
mbed_official | 378:be043393235b | 6 | /* [RAM = 16kb = 0x4000] Vector table dynamic copy: 98 vectors = 392 bytes (0x188) to be reserved in RAM */ |
mbed_official | 378:be043393235b | 7 | define symbol __NVIC_start__ = 0x20000000; |
mbed_official | 420:8e6e2662709e | 8 | define symbol __NVIC_end__ = 0x20000187; /*aligned on 8 bytes */ |
mbed_official | 420:8e6e2662709e | 9 | define symbol __region_RAM_start__ = 0x20000188; |
mbed_official | 434:53c4d348572c | 10 | define symbol __region_RAM_end__ = 0x20002FFF; |
mbed_official | 378:be043393235b | 11 | define symbol __region_CCMRAM_start__ = 0x10000000; |
mbed_official | 378:be043393235b | 12 | define symbol __region_CCMRAM_end__ = 0x10000FFF; |
mbed_official | 378:be043393235b | 13 | |
mbed_official | 378:be043393235b | 14 | /* Memory regions */ |
mbed_official | 378:be043393235b | 15 | define memory mem with size = 4G; |
mbed_official | 378:be043393235b | 16 | define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]; |
mbed_official | 378:be043393235b | 17 | define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]; |
mbed_official | 378:be043393235b | 18 | define region CCMRAM_region = mem:[from __region_CCMRAM_start__ to __region_CCMRAM_end__]; |
mbed_official | 378:be043393235b | 19 | |
mbed_official | 378:be043393235b | 20 | /* Stack and Heap */ |
mbed_official | 434:53c4d348572c | 21 | define symbol __size_cstack__ = 0x800; |
mbed_official | 434:53c4d348572c | 22 | define symbol __size_heap__ = 0x1000; |
mbed_official | 378:be043393235b | 23 | define block CSTACK with alignment = 8, size = __size_cstack__ { }; |
mbed_official | 378:be043393235b | 24 | define block HEAP with alignment = 8, size = __size_heap__ { }; |
mbed_official | 378:be043393235b | 25 | define block STACKHEAP with fixed order { block HEAP, block CSTACK }; |
mbed_official | 378:be043393235b | 26 | |
mbed_official | 378:be043393235b | 27 | initialize by copy with packing = zeros { readwrite }; |
mbed_official | 378:be043393235b | 28 | do not initialize { section .noinit }; |
mbed_official | 378:be043393235b | 29 | |
mbed_official | 378:be043393235b | 30 | place at address mem:__intvec_start__ { readonly section .intvec }; |
mbed_official | 378:be043393235b | 31 | |
mbed_official | 378:be043393235b | 32 | place in ROM_region { readonly }; |
mbed_official | 378:be043393235b | 33 | place in RAM_region { readwrite, block STACKHEAP }; |