I2C_EEPROM

Committer:
jhon309
Date:
Thu Aug 13 00:23:16 2015 +0000
Revision:
0:ac8863619623
I2C

Who changed what in which revision?

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