ads1115 only

Fork of mbed by mbed official

Committer:
kaoshen
Date:
Tue Jan 17 23:27:32 2017 +0000
Revision:
135:fce8a9387ed1
Parent:
86:04dd9b1680ae
333 ADS1115 ADC1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 86:04dd9b1680ae 1 ; Scatter-Loading Description File
bogdanm 86:04dd9b1680ae 2 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
bogdanm 86:04dd9b1680ae 3 ; Copyright (c) 2014, STMicroelectronics
bogdanm 86:04dd9b1680ae 4 ; All rights reserved.
bogdanm 86:04dd9b1680ae 5 ;
bogdanm 86:04dd9b1680ae 6 ; Redistribution and use in source and binary forms, with or without
bogdanm 86:04dd9b1680ae 7 ; modification, are permitted provided that the following conditions are met:
bogdanm 86:04dd9b1680ae 8 ;
bogdanm 86:04dd9b1680ae 9 ; 1. Redistributions of source code must retain the above copyright notice,
bogdanm 86:04dd9b1680ae 10 ; this list of conditions and the following disclaimer.
bogdanm 86:04dd9b1680ae 11 ; 2. Redistributions in binary form must reproduce the above copyright notice,
bogdanm 86:04dd9b1680ae 12 ; this list of conditions and the following disclaimer in the documentation
bogdanm 86:04dd9b1680ae 13 ; and/or other materials provided with the distribution.
bogdanm 86:04dd9b1680ae 14 ; 3. Neither the name of STMicroelectronics nor the names of its contributors
bogdanm 86:04dd9b1680ae 15 ; may be used to endorse or promote products derived from this software
bogdanm 86:04dd9b1680ae 16 ; without specific prior written permission.
bogdanm 86:04dd9b1680ae 17 ;
bogdanm 86:04dd9b1680ae 18 ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
bogdanm 86:04dd9b1680ae 19 ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
bogdanm 86:04dd9b1680ae 20 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
bogdanm 86:04dd9b1680ae 21 ; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
bogdanm 86:04dd9b1680ae 22 ; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
bogdanm 86:04dd9b1680ae 23 ; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
bogdanm 86:04dd9b1680ae 24 ; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
bogdanm 86:04dd9b1680ae 25 ; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
bogdanm 86:04dd9b1680ae 26 ; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
bogdanm 86:04dd9b1680ae 27 ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bogdanm 86:04dd9b1680ae 28 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
bogdanm 86:04dd9b1680ae 29
bogdanm 86:04dd9b1680ae 30 ; STM32F334R8: 64KB FLASH (0x10000) + 12KB SRAM (0x3000)
bogdanm 86:04dd9b1680ae 31 LR_IROM1 0x08000000 0x10000 { ; load region size_region
bogdanm 86:04dd9b1680ae 32
bogdanm 86:04dd9b1680ae 33 ER_IROM1 0x08000000 0x10000 { ; load address = execution address
bogdanm 86:04dd9b1680ae 34 *.o (RESET, +First)
bogdanm 86:04dd9b1680ae 35 *(InRoot$$Sections)
bogdanm 86:04dd9b1680ae 36 .ANY (+RO)
bogdanm 86:04dd9b1680ae 37 }
bogdanm 86:04dd9b1680ae 38
bogdanm 86:04dd9b1680ae 39 ; Total: 98 vectors = 392 bytes (0x188) to be reserved in RAM
bogdanm 86:04dd9b1680ae 40 RW_IRAM1 (0x20000000+0x188) (0x3000-0x188) { ; RW data
bogdanm 86:04dd9b1680ae 41 .ANY (+RW +ZI)
bogdanm 86:04dd9b1680ae 42 }
bogdanm 86:04dd9b1680ae 43
bogdanm 86:04dd9b1680ae 44 }
bogdanm 86:04dd9b1680ae 45