ads1115 only
Fork of mbed by
TARGET_NUCLEO_F207ZG/TOOLCHAIN_IAR/stm32f207xx.icf@123:b0220dba8be7, 2016-08-12 (annotated)
- Committer:
- Kojto
- Date:
- Fri Aug 12 13:04:35 2016 +0200
- Revision:
- 123:b0220dba8be7
Release 123 of the mbed library
Changes:
- new targets: nucleo_f207zg, beetle, nrf51_dk, hexiwear,
nuvoton nuc472, vk rz a1h
- ST - fix timer interrupt handler, sleep api fix
- NXP - lpc15xx us ticker fix
- Nordic - analogin fixes, LF clock init addition, enable i2c async
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 123:b0220dba8be7 | 1 | /* [ROM = 1024kb = 0x100000] */ |
Kojto | 123:b0220dba8be7 | 2 | define symbol __intvec_start__ = 0x08000000; |
Kojto | 123:b0220dba8be7 | 3 | define symbol __region_ROM_start__ = 0x08000000; |
Kojto | 123:b0220dba8be7 | 4 | define symbol __region_ROM_end__ = 0x080FFFFF; |
Kojto | 123:b0220dba8be7 | 5 | |
Kojto | 123:b0220dba8be7 | 6 | /* [RAM = 128kb = 0x20000] Vector table dynamic copy: 97 vectors = 388 bytes (0x184) to be reserved in RAM */ |
Kojto | 123:b0220dba8be7 | 7 | define symbol __NVIC_start__ = 0x20000000; |
Kojto | 123:b0220dba8be7 | 8 | define symbol __NVIC_end__ = 0x20000187; /*aligned on 8 bytes */ |
Kojto | 123:b0220dba8be7 | 9 | define symbol __region_RAM_start__ = 0x20000188; |
Kojto | 123:b0220dba8be7 | 10 | define symbol __region_RAM_end__ = 0x2001FFFF; |
Kojto | 123:b0220dba8be7 | 11 | |
Kojto | 123:b0220dba8be7 | 12 | /* Memory regions */ |
Kojto | 123:b0220dba8be7 | 13 | define memory mem with size = 4G; |
Kojto | 123:b0220dba8be7 | 14 | define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]; |
Kojto | 123:b0220dba8be7 | 15 | define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]; |
Kojto | 123:b0220dba8be7 | 16 | |
Kojto | 123:b0220dba8be7 | 17 | /* Stack and Heap */ |
Kojto | 123:b0220dba8be7 | 18 | /*Heap 1/4 of ram and stack 1/8*/ |
Kojto | 123:b0220dba8be7 | 19 | define symbol __size_cstack__ = 0x4000; |
Kojto | 123:b0220dba8be7 | 20 | define symbol __size_heap__ = 0x8000; |
Kojto | 123:b0220dba8be7 | 21 | define block CSTACK with alignment = 8, size = __size_cstack__ { }; |
Kojto | 123:b0220dba8be7 | 22 | define block HEAP with alignment = 8, size = __size_heap__ { }; |
Kojto | 123:b0220dba8be7 | 23 | define block STACKHEAP with fixed order { block HEAP, block CSTACK }; |
Kojto | 123:b0220dba8be7 | 24 | |
Kojto | 123:b0220dba8be7 | 25 | initialize by copy with packing = zeros { readwrite }; |
Kojto | 123:b0220dba8be7 | 26 | do not initialize { section .noinit }; |
Kojto | 123:b0220dba8be7 | 27 | |
Kojto | 123:b0220dba8be7 | 28 | place at address mem:__intvec_start__ { readonly section .intvec }; |
Kojto | 123:b0220dba8be7 | 29 | |
Kojto | 123:b0220dba8be7 | 30 | place in ROM_region { readonly }; |
Kojto | 123:b0220dba8be7 | 31 | place in RAM_region { readwrite, block STACKHEAP }; |