Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/device/TOOLCHAIN_IAR/stm32l011xx.icf@1:f30bdcd2b33b, 2017-02-27 (annotated)
- Committer:
- jacobjohnson
- Date:
- Mon Feb 27 17:45:05 2017 +0000
- Revision:
- 1:f30bdcd2b33b
- Parent:
- 0:098463de4c5d
changed the inputscale from 1 to 7 in analogin_api.c. This will need to be changed later, and accessed from the main level, but for now this allows the adc to read a value from 0 to 3.7V, instead of just up to 1V.;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| group-onsemi | 0:098463de4c5d | 1 | /* [ROM = 16kb = 0x4000] */ |
| group-onsemi | 0:098463de4c5d | 2 | define symbol __intvec_start__ = 0x08000000; |
| group-onsemi | 0:098463de4c5d | 3 | define symbol __region_ROM_start__ = 0x08000000; |
| group-onsemi | 0:098463de4c5d | 4 | define symbol __region_ROM_end__ = 0x08003FFF; |
| group-onsemi | 0:098463de4c5d | 5 | |
| group-onsemi | 0:098463de4c5d | 6 | /* [RAM = 2kb = 0x800] Vector table dynamic copy: 48 vectors = 192 bytes (0xC0) to be reserved in RAM */ |
| group-onsemi | 0:098463de4c5d | 7 | define symbol __NVIC_start__ = 0x20000000; |
| group-onsemi | 0:098463de4c5d | 8 | define symbol __NVIC_end__ = 0x200000BF; /* Aligned on 8 bytes */ |
| group-onsemi | 0:098463de4c5d | 9 | define symbol __region_RAM_start__ = 0x200000C0; |
| group-onsemi | 0:098463de4c5d | 10 | define symbol __region_RAM_end__ = 0x200007FF; |
| group-onsemi | 0:098463de4c5d | 11 | |
| group-onsemi | 0:098463de4c5d | 12 | /* Memory regions */ |
| group-onsemi | 0:098463de4c5d | 13 | define memory mem with size = 4G; |
| group-onsemi | 0:098463de4c5d | 14 | define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]; |
| group-onsemi | 0:098463de4c5d | 15 | define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]; |
| group-onsemi | 0:098463de4c5d | 16 | |
| group-onsemi | 0:098463de4c5d | 17 | /* Stack and Heap */ |
| group-onsemi | 0:098463de4c5d | 18 | define symbol __size_cstack__ = 0x400; |
| group-onsemi | 0:098463de4c5d | 19 | define symbol __size_heap__ = 0x200; |
| group-onsemi | 0:098463de4c5d | 20 | define block CSTACK with alignment = 8, size = __size_cstack__ { }; |
| group-onsemi | 0:098463de4c5d | 21 | define block HEAP with alignment = 8, size = __size_heap__ { }; |
| group-onsemi | 0:098463de4c5d | 22 | define block STACKHEAP with fixed order { block HEAP, block CSTACK }; |
| group-onsemi | 0:098463de4c5d | 23 | |
| group-onsemi | 0:098463de4c5d | 24 | initialize by copy with packing = zeros { readwrite }; |
| group-onsemi | 0:098463de4c5d | 25 | do not initialize { section .noinit }; |
| group-onsemi | 0:098463de4c5d | 26 | |
| group-onsemi | 0:098463de4c5d | 27 | place at address mem:__intvec_start__ { readonly section .intvec }; |
| group-onsemi | 0:098463de4c5d | 28 | |
| group-onsemi | 0:098463de4c5d | 29 | place in ROM_region { readonly }; |
| group-onsemi | 0:098463de4c5d | 30 | place in RAM_region { readwrite, block STACKHEAP }; |