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