mbed library
Fork of mbed by
TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_MICRO/stm32f10x.sct@102:d2e8fb00ad18, 2015-06-22 (annotated)
- Committer:
- JulienKern
- Date:
- Mon Jun 22 09:10:29 2015 +0000
- Revision:
- 102:d2e8fb00ad18
- Parent:
- 77:869cf507173a
RPM + torque ok
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 77:869cf507173a | 1 | ; Scatter-Loading Description File |
emilmont | 77:869cf507173a | 2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
emilmont | 77:869cf507173a | 3 | ; Copyright (c) 2014, STMicroelectronics |
emilmont | 77:869cf507173a | 4 | ; All rights reserved. |
emilmont | 77:869cf507173a | 5 | ; |
emilmont | 77:869cf507173a | 6 | ; Redistribution and use in source and binary forms, with or without |
emilmont | 77:869cf507173a | 7 | ; modification, are permitted provided that the following conditions are met: |
emilmont | 77:869cf507173a | 8 | ; |
emilmont | 77:869cf507173a | 9 | ; 1. Redistributions of source code must retain the above copyright notice, |
emilmont | 77:869cf507173a | 10 | ; this list of conditions and the following disclaimer. |
emilmont | 77:869cf507173a | 11 | ; 2. Redistributions in binary form must reproduce the above copyright notice, |
emilmont | 77:869cf507173a | 12 | ; this list of conditions and the following disclaimer in the documentation |
emilmont | 77:869cf507173a | 13 | ; and/or other materials provided with the distribution. |
emilmont | 77:869cf507173a | 14 | ; 3. Neither the name of STMicroelectronics nor the names of its contributors |
emilmont | 77:869cf507173a | 15 | ; may be used to endorse or promote products derived from this software |
emilmont | 77:869cf507173a | 16 | ; without specific prior written permission. |
emilmont | 77:869cf507173a | 17 | ; |
emilmont | 77:869cf507173a | 18 | ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
emilmont | 77:869cf507173a | 19 | ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
emilmont | 77:869cf507173a | 20 | ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
emilmont | 77:869cf507173a | 21 | ; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
emilmont | 77:869cf507173a | 22 | ; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
emilmont | 77:869cf507173a | 23 | ; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
emilmont | 77:869cf507173a | 24 | ; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
emilmont | 77:869cf507173a | 25 | ; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
emilmont | 77:869cf507173a | 26 | ; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
emilmont | 77:869cf507173a | 27 | ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
emilmont | 77:869cf507173a | 28 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
emilmont | 77:869cf507173a | 29 | |
emilmont | 77:869cf507173a | 30 | LR_IROM1 0x08000000 0x20000 { ; load region size_region (128K) |
emilmont | 77:869cf507173a | 31 | |
emilmont | 77:869cf507173a | 32 | ER_IROM1 0x08000000 0x20000 { ; load address = execution address |
emilmont | 77:869cf507173a | 33 | *.o (RESET, +First) |
emilmont | 77:869cf507173a | 34 | *(InRoot$$Sections) |
emilmont | 77:869cf507173a | 35 | .ANY (+RO) |
emilmont | 77:869cf507173a | 36 | } |
emilmont | 77:869cf507173a | 37 | |
emilmont | 77:869cf507173a | 38 | ; 59 vectors (16 core + 43 peripheral) * 4 bytes = 236 bytes to reserve (0xEC) |
emilmont | 77:869cf507173a | 39 | RW_IRAM1 (0x20000000+0xEC) (0x5000-0xEC) { ; RW data |
emilmont | 77:869cf507173a | 40 | .ANY (+RW +ZI) |
emilmont | 77:869cf507173a | 41 | } |
emilmont | 77:869cf507173a | 42 | |
emilmont | 77:869cf507173a | 43 | } |
emilmont | 77:869cf507173a | 44 |