mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_MICRO/stm32f412xg.sct@181:96ed750bd169, 2018-01-17 (annotated)
- Committer:
- Anna Bridge
- Date:
- Wed Jan 17 15:23:54 2018 +0000
- Revision:
- 181:96ed750bd169
- Parent:
- 171:89b338f31ef1
mbed-dev libray. Release version 158
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 171:89b338f31ef1 | 1 | #! armcc -E |
<> | 153:fa9ff456f731 | 2 | ; Scatter-Loading Description File |
<> | 153:fa9ff456f731 | 3 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
AnnaBridge | 171:89b338f31ef1 | 4 | ; Copyright (c) 2017, STMicroelectronics |
<> | 153:fa9ff456f731 | 5 | ; All rights reserved. |
<> | 153:fa9ff456f731 | 6 | ; |
<> | 153:fa9ff456f731 | 7 | ; Redistribution and use in source and binary forms, with or without |
<> | 153:fa9ff456f731 | 8 | ; modification, are permitted provided that the following conditions are met: |
<> | 153:fa9ff456f731 | 9 | ; |
<> | 153:fa9ff456f731 | 10 | ; 1. Redistributions of source code must retain the above copyright notice, |
<> | 153:fa9ff456f731 | 11 | ; this list of conditions and the following disclaimer. |
<> | 153:fa9ff456f731 | 12 | ; 2. Redistributions in binary form must reproduce the above copyright notice, |
<> | 153:fa9ff456f731 | 13 | ; this list of conditions and the following disclaimer in the documentation |
<> | 153:fa9ff456f731 | 14 | ; and/or other materials provided with the distribution. |
<> | 153:fa9ff456f731 | 15 | ; 3. Neither the name of STMicroelectronics nor the names of its contributors |
<> | 153:fa9ff456f731 | 16 | ; may be used to endorse or promote products derived from this software |
<> | 153:fa9ff456f731 | 17 | ; without specific prior written permission. |
<> | 153:fa9ff456f731 | 18 | ; |
<> | 153:fa9ff456f731 | 19 | ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
<> | 153:fa9ff456f731 | 20 | ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
<> | 153:fa9ff456f731 | 21 | ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
<> | 153:fa9ff456f731 | 22 | ; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
<> | 153:fa9ff456f731 | 23 | ; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
<> | 153:fa9ff456f731 | 24 | ; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
<> | 153:fa9ff456f731 | 25 | ; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
<> | 153:fa9ff456f731 | 26 | ; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
<> | 153:fa9ff456f731 | 27 | ; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
<> | 153:fa9ff456f731 | 28 | ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
<> | 153:fa9ff456f731 | 29 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
<> | 153:fa9ff456f731 | 30 | |
AnnaBridge | 171:89b338f31ef1 | 31 | #if !defined(MBED_APP_START) |
AnnaBridge | 171:89b338f31ef1 | 32 | #define MBED_APP_START 0x08000000 |
AnnaBridge | 171:89b338f31ef1 | 33 | #endif |
AnnaBridge | 171:89b338f31ef1 | 34 | |
AnnaBridge | 171:89b338f31ef1 | 35 | #if !defined(MBED_APP_SIZE) |
AnnaBridge | 171:89b338f31ef1 | 36 | #define MBED_APP_SIZE 0x100000 |
AnnaBridge | 171:89b338f31ef1 | 37 | #endif |
AnnaBridge | 171:89b338f31ef1 | 38 | |
<> | 153:fa9ff456f731 | 39 | ; STM32F412ZG: 1024 KB FLASH (0x100000) + 256 KB SRAM (0x40000) |
AnnaBridge | 171:89b338f31ef1 | 40 | LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region |
<> | 153:fa9ff456f731 | 41 | |
AnnaBridge | 171:89b338f31ef1 | 42 | ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address |
<> | 153:fa9ff456f731 | 43 | *.o (RESET, +First) |
<> | 153:fa9ff456f731 | 44 | *(InRoot$$Sections) |
<> | 153:fa9ff456f731 | 45 | .ANY (+RO) |
<> | 153:fa9ff456f731 | 46 | } |
<> | 153:fa9ff456f731 | 47 | |
<> | 153:fa9ff456f731 | 48 | ; Total: 113 vectors = 452 bytes (0x1C4) to be reserved in RAM |
<> | 153:fa9ff456f731 | 49 | RW_IRAM1 (0x20000000+0x1C4) (0x40000-0x1C4) { ; RW data |
<> | 153:fa9ff456f731 | 50 | .ANY (+RW +ZI) |
<> | 153:fa9ff456f731 | 51 | } |
<> | 153:fa9ff456f731 | 52 | |
<> | 153:fa9ff456f731 | 53 | } |
<> | 153:fa9ff456f731 | 54 |