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 Jun 21 17:31:38 2017 +0100
Revision:
145:64910690c574
Parent:
136:ef9c61f8c49f
Release 145 of the mbed library.

Who changed what in which revision?

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