The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Fri May 11 16:51:14 2018 +0100
Revision:
167:84c0a372a020
Parent:
86:04dd9b1680ae
Child:
172:65be27845400
mbed library. Release version 162

Who changed what in which revision?

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