The official mbed C/C SDK provides the software platform and libraries to build your applications.

Fork of mbed by mbed official

Committer:
Mikchel
Date:
Sun May 03 16:04:42 2015 +0000
Revision:
99:7f6c6de930c0
Parent:
93:e188a91d3eaa
12

Who changed what in which revision?

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