mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
targets/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/device/TOOLCHAIN_IAR/stm32f207xx.icf@149:156823d33999, 2016-10-28 (annotated)
- Committer:
- <>
- Date:
- Fri Oct 28 11:17:30 2016 +0100
- Revision:
- 149:156823d33999
- Parent:
- targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_IAR/stm32f207xx.icf@144:ef7eb2e8f9f7
- Child:
- 188:bcfe06ba3d64
This updates the lib to the mbed lib v128
NOTE: This release includes a restructuring of the file and directory locations and thus some
include paths in your code may need updating accordingly.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 144:ef7eb2e8f9f7 | 1 | /* [ROM = 1024kb = 0x100000] */ |
<> | 144:ef7eb2e8f9f7 | 2 | define symbol __intvec_start__ = 0x08000000; |
<> | 144:ef7eb2e8f9f7 | 3 | define symbol __region_ROM_start__ = 0x08000000; |
<> | 144:ef7eb2e8f9f7 | 4 | define symbol __region_ROM_end__ = 0x080FFFFF; |
<> | 144:ef7eb2e8f9f7 | 5 | |
<> | 144:ef7eb2e8f9f7 | 6 | /* [RAM = 128kb = 0x20000] Vector table dynamic copy: 97 vectors = 388 bytes (0x184) to be reserved in RAM */ |
<> | 144:ef7eb2e8f9f7 | 7 | define symbol __NVIC_start__ = 0x20000000; |
<> | 144:ef7eb2e8f9f7 | 8 | define symbol __NVIC_end__ = 0x20000187; /*aligned on 8 bytes */ |
<> | 144:ef7eb2e8f9f7 | 9 | define symbol __region_RAM_start__ = 0x20000188; |
<> | 144:ef7eb2e8f9f7 | 10 | define symbol __region_RAM_end__ = 0x2001FFFF; |
<> | 144:ef7eb2e8f9f7 | 11 | |
<> | 144:ef7eb2e8f9f7 | 12 | /* Memory regions */ |
<> | 144:ef7eb2e8f9f7 | 13 | define memory mem with size = 4G; |
<> | 144:ef7eb2e8f9f7 | 14 | define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]; |
<> | 144:ef7eb2e8f9f7 | 15 | define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]; |
<> | 144:ef7eb2e8f9f7 | 16 | |
<> | 144:ef7eb2e8f9f7 | 17 | /* Stack and Heap */ |
<> | 144:ef7eb2e8f9f7 | 18 | /*Heap 1/4 of ram and stack 1/8*/ |
<> | 144:ef7eb2e8f9f7 | 19 | define symbol __size_cstack__ = 0x4000; |
<> | 144:ef7eb2e8f9f7 | 20 | define symbol __size_heap__ = 0x8000; |
<> | 144:ef7eb2e8f9f7 | 21 | define block CSTACK with alignment = 8, size = __size_cstack__ { }; |
<> | 144:ef7eb2e8f9f7 | 22 | define block HEAP with alignment = 8, size = __size_heap__ { }; |
<> | 144:ef7eb2e8f9f7 | 23 | define block STACKHEAP with fixed order { block HEAP, block CSTACK }; |
<> | 144:ef7eb2e8f9f7 | 24 | |
<> | 144:ef7eb2e8f9f7 | 25 | initialize by copy with packing = zeros { readwrite }; |
<> | 144:ef7eb2e8f9f7 | 26 | do not initialize { section .noinit }; |
<> | 144:ef7eb2e8f9f7 | 27 | |
<> | 144:ef7eb2e8f9f7 | 28 | place at address mem:__intvec_start__ { readonly section .intvec }; |
<> | 144:ef7eb2e8f9f7 | 29 | |
<> | 144:ef7eb2e8f9f7 | 30 | place in ROM_region { readonly }; |
<> | 144:ef7eb2e8f9f7 | 31 | place in RAM_region { readwrite, block STACKHEAP }; |