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