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 May 26 12:30:20 2017 +0100
Revision:
143:86740a56073b
Parent:
122:f9eeca106725
Release 143 of the mbed library.

Who changed what in which revision?

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