Very Simple Library for the STM32F3-Discovery.
Dependents: accelerometer_test neopixel_square accelerometer_test_minimal Colour_Video_Demo
src/TOOLCHAIN_ARM_STD/stm32f303xc.sct@4:ff94a7f6ecff, 2019-04-03 (annotated)
- Committer:
- MartinJohnson
- Date:
- Wed Apr 03 20:59:57 2019 +0000
- Revision:
- 4:ff94a7f6ecff
- Parent:
- 2:8bf2c6389dbc
reorganise minimal library
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MartinJohnson | 2:8bf2c6389dbc | 1 | ; Scatter-Loading Description File |
MartinJohnson | 2:8bf2c6389dbc | 2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
MartinJohnson | 2:8bf2c6389dbc | 3 | ; Copyright (c) 2014, STMicroelectronics |
MartinJohnson | 2:8bf2c6389dbc | 4 | ; All rights reserved. |
MartinJohnson | 2:8bf2c6389dbc | 5 | ; |
MartinJohnson | 2:8bf2c6389dbc | 6 | ; Redistribution and use in source and binary forms, with or without |
MartinJohnson | 2:8bf2c6389dbc | 7 | ; modification, are permitted provided that the following conditions are met: |
MartinJohnson | 2:8bf2c6389dbc | 8 | ; |
MartinJohnson | 2:8bf2c6389dbc | 9 | ; 1. Redistributions of source code must retain the above copyright notice, |
MartinJohnson | 2:8bf2c6389dbc | 10 | ; this list of conditions and the following disclaimer. |
MartinJohnson | 2:8bf2c6389dbc | 11 | ; 2. Redistributions in binary form must reproduce the above copyright notice, |
MartinJohnson | 2:8bf2c6389dbc | 12 | ; this list of conditions and the following disclaimer in the documentation |
MartinJohnson | 2:8bf2c6389dbc | 13 | ; and/or other materials provided with the distribution. |
MartinJohnson | 2:8bf2c6389dbc | 14 | ; 3. Neither the name of STMicroelectronics nor the names of its contributors |
MartinJohnson | 2:8bf2c6389dbc | 15 | ; may be used to endorse or promote products derived from this software |
MartinJohnson | 2:8bf2c6389dbc | 16 | ; without specific prior written permission. |
MartinJohnson | 2:8bf2c6389dbc | 17 | ; |
MartinJohnson | 2:8bf2c6389dbc | 18 | ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
MartinJohnson | 2:8bf2c6389dbc | 19 | ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
MartinJohnson | 2:8bf2c6389dbc | 20 | ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
MartinJohnson | 2:8bf2c6389dbc | 21 | ; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
MartinJohnson | 2:8bf2c6389dbc | 22 | ; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
MartinJohnson | 2:8bf2c6389dbc | 23 | ; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
MartinJohnson | 2:8bf2c6389dbc | 24 | ; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
MartinJohnson | 2:8bf2c6389dbc | 25 | ; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
MartinJohnson | 2:8bf2c6389dbc | 26 | ; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
MartinJohnson | 2:8bf2c6389dbc | 27 | ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
MartinJohnson | 2:8bf2c6389dbc | 28 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
MartinJohnson | 2:8bf2c6389dbc | 29 | |
MartinJohnson | 2:8bf2c6389dbc | 30 | ; STM32F303VC: 256KB FLASH (0x80000) + 40KB SRAM (0x10000) + 8KB CCMRAM (0x2000) |
MartinJohnson | 2:8bf2c6389dbc | 31 | LR_IROM1 0x08000000 0x40000 { ; load region size_region |
MartinJohnson | 2:8bf2c6389dbc | 32 | |
MartinJohnson | 2:8bf2c6389dbc | 33 | ER_IROM1 0x08000000 0x40000 { ; load address = execution address |
MartinJohnson | 2:8bf2c6389dbc | 34 | *.o (RESET, +First) |
MartinJohnson | 2:8bf2c6389dbc | 35 | *(InRoot$$Sections) |
MartinJohnson | 2:8bf2c6389dbc | 36 | .ANY (+RO) |
MartinJohnson | 2:8bf2c6389dbc | 37 | } |
MartinJohnson | 2:8bf2c6389dbc | 38 | |
MartinJohnson | 2:8bf2c6389dbc | 39 | ; 101 vectors = 404 bytes (0x194) to be reserved in RAM |
MartinJohnson | 2:8bf2c6389dbc | 40 | RW_IRAM1 (0x20000000+0x194) (0xA000-0x194) { ; RW data |
MartinJohnson | 2:8bf2c6389dbc | 41 | .ANY (+RW +ZI) |
MartinJohnson | 2:8bf2c6389dbc | 42 | } |
MartinJohnson | 2:8bf2c6389dbc | 43 | |
MartinJohnson | 2:8bf2c6389dbc | 44 | ER 0x10000000 0x00002000 { ; load address = execution address |
MartinJohnson | 2:8bf2c6389dbc | 45 | .ANY (ccmram) |
MartinJohnson | 2:8bf2c6389dbc | 46 | .ANY (ccmram_data) |
MartinJohnson | 2:8bf2c6389dbc | 47 | } |
MartinJohnson | 2:8bf2c6389dbc | 48 | |
MartinJohnson | 2:8bf2c6389dbc | 49 | } |
MartinJohnson | 2:8bf2c6389dbc | 50 |