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:
Thu Nov 08 11:45:42 2018 +0000
Revision:
171:3a7713b1edbc
Parent:
170:e95d10626187
mbed library. Release version 164

Who changed what in which revision?

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