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 Sep 15 14:46:57 2017 +0100
Revision:
151:675da3299148
Parent:
145:64910690c574
Release 151 of the mbed library.

Who changed what in which revision?

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