ads1115 only

Fork of mbed by mbed official

Committer:
Kojto
Date:
Wed Sep 16 15:32:31 2015 +0100
Revision:
107:4f6c30876dfa
Child:
108:34e6b704fe68
Release 107  of the mbed library

Changes:
- new platforms - DISCO_F746NG, DISCO_L476VG, NUCLEO_L476RG
- KL43Z - bugfix RTC init function
- K20 - SPI mode fix

Who changed what in which revision?

UserRevisionLine numberNew 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 107:4f6c30876dfa 38
Kojto 107:4f6c30876dfa 39 ; Total: 98 vectors = 392 bytes (0x188) to be reserved in RAM
Kojto 107:4f6c30876dfa 40 RW_IRAM1 (0x20000000+0x188) (0x20000-0x188) { ; RW data
Kojto 107:4f6c30876dfa 41 .ANY (+RW +ZI)
Kojto 107:4f6c30876dfa 42 }
Kojto 107:4f6c30876dfa 43
Kojto 107:4f6c30876dfa 44 RW_IRAM2 0x10000000 0x00008000 {
Kojto 107:4f6c30876dfa 45 .ANY (+RW +ZI)
Kojto 107:4f6c30876dfa 46 }
Kojto 107:4f6c30876dfa 47
Kojto 107:4f6c30876dfa 48 }
Kojto 107:4f6c30876dfa 49