ads1115 only
Fork of mbed by
TARGET_NUCLEO_F412ZG/TOOLCHAIN_ARM_MICRO/stm32f412zg.sct@135:fce8a9387ed1, 2017-01-17 (annotated)
- Committer:
- kaoshen
- Date:
- Tue Jan 17 23:27:32 2017 +0000
- Revision:
- 135:fce8a9387ed1
- Parent:
- 132:9baf128c2fab
333 ADS1115 ADC1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 132:9baf128c2fab | 1 | ; Scatter-Loading Description File |
<> | 132:9baf128c2fab | 2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
<> | 132:9baf128c2fab | 3 | ; Copyright (c) 2016, STMicroelectronics |
<> | 132:9baf128c2fab | 4 | ; All rights reserved. |
<> | 132:9baf128c2fab | 5 | ; |
<> | 132:9baf128c2fab | 6 | ; Redistribution and use in source and binary forms, with or without |
<> | 132:9baf128c2fab | 7 | ; modification, are permitted provided that the following conditions are met: |
<> | 132:9baf128c2fab | 8 | ; |
<> | 132:9baf128c2fab | 9 | ; 1. Redistributions of source code must retain the above copyright notice, |
<> | 132:9baf128c2fab | 10 | ; this list of conditions and the following disclaimer. |
<> | 132:9baf128c2fab | 11 | ; 2. Redistributions in binary form must reproduce the above copyright notice, |
<> | 132:9baf128c2fab | 12 | ; this list of conditions and the following disclaimer in the documentation |
<> | 132:9baf128c2fab | 13 | ; and/or other materials provided with the distribution. |
<> | 132:9baf128c2fab | 14 | ; 3. Neither the name of STMicroelectronics nor the names of its contributors |
<> | 132:9baf128c2fab | 15 | ; may be used to endorse or promote products derived from this software |
<> | 132:9baf128c2fab | 16 | ; without specific prior written permission. |
<> | 132:9baf128c2fab | 17 | ; |
<> | 132:9baf128c2fab | 18 | ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
<> | 132:9baf128c2fab | 19 | ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
<> | 132:9baf128c2fab | 20 | ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
<> | 132:9baf128c2fab | 21 | ; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
<> | 132:9baf128c2fab | 22 | ; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
<> | 132:9baf128c2fab | 23 | ; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
<> | 132:9baf128c2fab | 24 | ; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
<> | 132:9baf128c2fab | 25 | ; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
<> | 132:9baf128c2fab | 26 | ; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
<> | 132:9baf128c2fab | 27 | ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
<> | 132:9baf128c2fab | 28 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
<> | 132:9baf128c2fab | 29 | |
<> | 132:9baf128c2fab | 30 | ; STM32F412ZG: 1024 KB FLASH (0x100000) + 256 KB SRAM (0x40000) |
<> | 132:9baf128c2fab | 31 | LR_IROM1 0x08000000 0x100000 { ; load region size_region |
<> | 132:9baf128c2fab | 32 | |
<> | 132:9baf128c2fab | 33 | ER_IROM1 0x08000000 0x100000 { ; load address = execution address |
<> | 132:9baf128c2fab | 34 | *.o (RESET, +First) |
<> | 132:9baf128c2fab | 35 | *(InRoot$$Sections) |
<> | 132:9baf128c2fab | 36 | .ANY (+RO) |
<> | 132:9baf128c2fab | 37 | } |
<> | 132:9baf128c2fab | 38 | |
<> | 132:9baf128c2fab | 39 | ; Total: 113 vectors = 452 bytes (0x1C4) to be reserved in RAM |
<> | 132:9baf128c2fab | 40 | RW_IRAM1 (0x20000000+0x1C4) (0x40000-0x1C4) { ; RW data |
<> | 132:9baf128c2fab | 41 | .ANY (+RW +ZI) |
<> | 132:9baf128c2fab | 42 | } |
<> | 132:9baf128c2fab | 43 | |
<> | 132:9baf128c2fab | 44 | } |
<> | 132:9baf128c2fab | 45 |