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 Feb 20 20:53:29 2019 +0000
Revision:
172:65be27845400
Parent:
171:3a7713b1edbc
mbed library release version 165

Who changed what in which revision?

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