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:
Kojto
Date:
Wed Jul 19 16:46:19 2017 +0100
Revision:
147:a97add6d7e64
Parent:
146:22da6e220af6
Release 147 of the mbed library.

Who changed what in which revision?

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