mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Committer:
AnnaBridge
Date:
Wed Feb 20 22:31:08 2019 +0000
Revision:
189:f392fc9709a3
Parent:
167:e84263d55307
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 167:e84263d55307 1 #! armcc -E
<> 144:ef7eb2e8f9f7 2 ; Scatter-Loading Description File
<> 144:ef7eb2e8f9f7 3 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
<> 144:ef7eb2e8f9f7 4 ; Copyright (c) 2015, STMicroelectronics
<> 144:ef7eb2e8f9f7 5 ; All rights reserved.
<> 144:ef7eb2e8f9f7 6 ;
<> 144:ef7eb2e8f9f7 7 ; Redistribution and use in source and binary forms, with or without
<> 144:ef7eb2e8f9f7 8 ; modification, are permitted provided that the following conditions are met:
<> 144:ef7eb2e8f9f7 9 ;
<> 144:ef7eb2e8f9f7 10 ; 1. Redistributions of source code must retain the above copyright notice,
<> 144:ef7eb2e8f9f7 11 ; this list of conditions and the following disclaimer.
<> 144:ef7eb2e8f9f7 12 ; 2. Redistributions in binary form must reproduce the above copyright notice,
<> 144:ef7eb2e8f9f7 13 ; this list of conditions and the following disclaimer in the documentation
<> 144:ef7eb2e8f9f7 14 ; and/or other materials provided with the distribution.
<> 144:ef7eb2e8f9f7 15 ; 3. Neither the name of STMicroelectronics nor the names of its contributors
<> 144:ef7eb2e8f9f7 16 ; may be used to endorse or promote products derived from this software
<> 144:ef7eb2e8f9f7 17 ; without specific prior written permission.
<> 144:ef7eb2e8f9f7 18 ;
<> 144:ef7eb2e8f9f7 19 ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
<> 144:ef7eb2e8f9f7 20 ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
<> 144:ef7eb2e8f9f7 21 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
<> 144:ef7eb2e8f9f7 22 ; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
<> 144:ef7eb2e8f9f7 23 ; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
<> 144:ef7eb2e8f9f7 24 ; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
<> 144:ef7eb2e8f9f7 25 ; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
<> 144:ef7eb2e8f9f7 26 ; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
<> 144:ef7eb2e8f9f7 27 ; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
<> 144:ef7eb2e8f9f7 28 ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<> 144:ef7eb2e8f9f7 29 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
<> 144:ef7eb2e8f9f7 30
AnnaBridge 167:e84263d55307 31 #if !defined(MBED_APP_START)
AnnaBridge 167:e84263d55307 32 #define MBED_APP_START 0x08000000
AnnaBridge 167:e84263d55307 33 #endif
AnnaBridge 167:e84263d55307 34
AnnaBridge 167:e84263d55307 35 #if !defined(MBED_APP_SIZE)
AnnaBridge 167:e84263d55307 36 #define MBED_APP_SIZE 0x100000
AnnaBridge 167:e84263d55307 37 #endif
AnnaBridge 167:e84263d55307 38
AnnaBridge 189:f392fc9709a3 39 #define MBED_RAM_START 0x20000000
AnnaBridge 189:f392fc9709a3 40 #define MBED_RAM_SIZE 0x00018000
AnnaBridge 189:f392fc9709a3 41 #define MBED_CRASH_REPORT_RAM_START (MBED_RAM_START)
AnnaBridge 189:f392fc9709a3 42 #define MBED_CRASH_REPORT_RAM_SIZE 0x100
AnnaBridge 189:f392fc9709a3 43 #define MBED_RAM0_START (MBED_CRASH_REPORT_RAM_START + MBED_CRASH_REPORT_RAM_SIZE)
AnnaBridge 189:f392fc9709a3 44 #define MBED_RAM0_SIZE (MBED_RAM_SIZE - MBED_CRASH_REPORT_RAM_SIZE)
AnnaBridge 189:f392fc9709a3 45
<> 144:ef7eb2e8f9f7 46 ; 1MB FLASH (0x100000) + 128KB SRAM (0x20000)
AnnaBridge 167:e84263d55307 47 LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
<> 144:ef7eb2e8f9f7 48
AnnaBridge 167:e84263d55307 49 ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
<> 144:ef7eb2e8f9f7 50 *.o (RESET, +First)
<> 144:ef7eb2e8f9f7 51 *(InRoot$$Sections)
<> 144:ef7eb2e8f9f7 52 .ANY (+RO)
<> 144:ef7eb2e8f9f7 53 }
<> 144:ef7eb2e8f9f7 54
AnnaBridge 189:f392fc9709a3 55 RW_m_crash_data MBED_CRASH_REPORT_RAM_START EMPTY MBED_CRASH_REPORT_RAM_SIZE { ; RW data
AnnaBridge 189:f392fc9709a3 56 }
AnnaBridge 189:f392fc9709a3 57
AnnaBridge 189:f392fc9709a3 58 RW_IRAM1 MBED_RAM0_START MBED_RAM0_SIZE { ; RW data 96k L4-SRAM1
<> 144:ef7eb2e8f9f7 59 .ANY (+RW +ZI)
<> 144:ef7eb2e8f9f7 60 }
AnnaBridge 189:f392fc9709a3 61
<> 144:ef7eb2e8f9f7 62 ; Total: 98 vectors = 392 bytes (0x188) to be reserved in RAM
<> 144:ef7eb2e8f9f7 63 RW_IRAM2 (0x10000000+0x188) (0x08000-0x188) { ; RW data 32k L4-ECC-SRAM2 retained in standby
<> 144:ef7eb2e8f9f7 64 .ANY (+RW +ZI)
<> 144:ef7eb2e8f9f7 65 }
<> 144:ef7eb2e8f9f7 66
<> 144:ef7eb2e8f9f7 67 }
<> 144:ef7eb2e8f9f7 68