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:
Wed Aug 16 18:12:46 2017 +0100
Revision:
149:e2bfab296f20
Parent:
136:ef9c61f8c49f
Release 149 of the mbed library.

Who changed what in which revision?

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