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.
TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct@172:65be27845400, 2019-02-20 (annotated)
- Committer:
- AnnaBridge
- Date:
- Wed Feb 20 20:53:29 2019 +0000
- Revision:
- 172:65be27845400
- Parent:
- 86:04dd9b1680ae
mbed library release version 165
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 86:04dd9b1680ae | 1 | ; Scatter-Loading Description File |
bogdanm | 86:04dd9b1680ae | 2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
bogdanm | 86:04dd9b1680ae | 3 | ; Copyright (c) 2014, STMicroelectronics |
bogdanm | 86:04dd9b1680ae | 4 | ; All rights reserved. |
bogdanm | 86:04dd9b1680ae | 5 | ; |
bogdanm | 86:04dd9b1680ae | 6 | ; Redistribution and use in source and binary forms, with or without |
bogdanm | 86:04dd9b1680ae | 7 | ; modification, are permitted provided that the following conditions are met: |
bogdanm | 86:04dd9b1680ae | 8 | ; |
bogdanm | 86:04dd9b1680ae | 9 | ; 1. Redistributions of source code must retain the above copyright notice, |
bogdanm | 86:04dd9b1680ae | 10 | ; this list of conditions and the following disclaimer. |
bogdanm | 86:04dd9b1680ae | 11 | ; 2. Redistributions in binary form must reproduce the above copyright notice, |
bogdanm | 86:04dd9b1680ae | 12 | ; this list of conditions and the following disclaimer in the documentation |
bogdanm | 86:04dd9b1680ae | 13 | ; and/or other materials provided with the distribution. |
bogdanm | 86:04dd9b1680ae | 14 | ; 3. Neither the name of STMicroelectronics nor the names of its contributors |
bogdanm | 86:04dd9b1680ae | 15 | ; may be used to endorse or promote products derived from this software |
bogdanm | 86:04dd9b1680ae | 16 | ; without specific prior written permission. |
bogdanm | 86:04dd9b1680ae | 17 | ; |
bogdanm | 86:04dd9b1680ae | 18 | ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
bogdanm | 86:04dd9b1680ae | 19 | ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
bogdanm | 86:04dd9b1680ae | 20 | ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
bogdanm | 86:04dd9b1680ae | 21 | ; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
bogdanm | 86:04dd9b1680ae | 22 | ; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
bogdanm | 86:04dd9b1680ae | 23 | ; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
bogdanm | 86:04dd9b1680ae | 24 | ; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
bogdanm | 86:04dd9b1680ae | 25 | ; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
bogdanm | 86:04dd9b1680ae | 26 | ; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
bogdanm | 86:04dd9b1680ae | 27 | ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
bogdanm | 86:04dd9b1680ae | 28 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
bogdanm | 86:04dd9b1680ae | 29 | |
AnnaBridge | 172:65be27845400 | 30 | #define MBED_RAM_START 0x20000000 |
AnnaBridge | 172:65be27845400 | 31 | #define MBED_RAM_SIZE 0x20000 |
AnnaBridge | 172:65be27845400 | 32 | #define MBED_VECTTABLE_RAM_START (MBED_RAM_START) |
AnnaBridge | 172:65be27845400 | 33 | #define MBED_VECTTABLE_RAM_SIZE 0x198 |
AnnaBridge | 172:65be27845400 | 34 | #define MBED_CRASH_REPORT_RAM_START (MBED_VECTTABLE_RAM_START + MBED_VECTTABLE_RAM_SIZE) |
AnnaBridge | 172:65be27845400 | 35 | #define MBED_CRASH_REPORT_RAM_SIZE 0x100 |
AnnaBridge | 172:65be27845400 | 36 | #define MBED_RAM0_START (MBED_CRASH_REPORT_RAM_START + MBED_CRASH_REPORT_RAM_SIZE) |
AnnaBridge | 172:65be27845400 | 37 | #define MBED_RAM0_SIZE (MBED_RAM_SIZE - MBED_VECTTABLE_RAM_SIZE - MBED_CRASH_REPORT_RAM_SIZE) |
AnnaBridge | 172:65be27845400 | 38 | |
bogdanm | 86:04dd9b1680ae | 39 | ; STM32F411RE: 512 KB FLASH (0x80000) + 128 KB SRAM (0x20000) |
bogdanm | 86:04dd9b1680ae | 40 | LR_IROM1 0x08000000 0x80000 { ; load region size_region |
bogdanm | 86:04dd9b1680ae | 41 | |
bogdanm | 86:04dd9b1680ae | 42 | ER_IROM1 0x08000000 0x80000 { ; load address = execution address |
bogdanm | 86:04dd9b1680ae | 43 | *.o (RESET, +First) |
bogdanm | 86:04dd9b1680ae | 44 | *(InRoot$$Sections) |
bogdanm | 86:04dd9b1680ae | 45 | .ANY (+RO) |
bogdanm | 86:04dd9b1680ae | 46 | } |
AnnaBridge | 172:65be27845400 | 47 | |
AnnaBridge | 172:65be27845400 | 48 | RW_m_crash_data MBED_CRASH_REPORT_RAM_START EMPTY MBED_CRASH_REPORT_RAM_SIZE { ; RW data |
AnnaBridge | 172:65be27845400 | 49 | } |
bogdanm | 86:04dd9b1680ae | 50 | |
bogdanm | 86:04dd9b1680ae | 51 | ; Total: 102 vectors = 408 bytes (0x198) to be reserved in RAM |
AnnaBridge | 172:65be27845400 | 52 | RW_IRAM1 (MBED_RAM0_START) (MBED_RAM0_SIZE) { ; RW data |
bogdanm | 86:04dd9b1680ae | 53 | .ANY (+RW +ZI) |
bogdanm | 86:04dd9b1680ae | 54 | } |
bogdanm | 86:04dd9b1680ae | 55 | |
bogdanm | 86:04dd9b1680ae | 56 | } |
bogdanm | 86:04dd9b1680ae | 57 |