Mercurial > ~darius > hgwebdir.cgi > stm32temp
comparison STM32F10x_512k_64k_flash.ld @ 76:f1c9a51e368a
Add EEPROM emulation from AN2594.
Fix emulated EEPROM size on large parts.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 22 Apr 2013 23:17:40 +0930 |
parents | c59513fd84fb |
children |
comparison
equal
deleted
inserted
replaced
75:85f16813c730 | 76:f1c9a51e368a |
---|---|
13 /* Memory Spaces Definitions */ | 13 /* Memory Spaces Definitions */ |
14 MEMORY | 14 MEMORY |
15 { | 15 { |
16 RAM (RWX) : ORIGIN = 0x20000000+0, LENGTH = 64K-0 | 16 RAM (RWX) : ORIGIN = 0x20000000+0, LENGTH = 64K-0 |
17 EXTSRAM (RWX) : ORIGIN = 0x68000000, LENGTH = 0 | 17 EXTSRAM (RWX) : ORIGIN = 0x68000000, LENGTH = 0 |
18 FLASH (RX) : ORIGIN = 0x08000000+0, LENGTH = 512K-2K-0 | 18 /* Page size is 2k for this device and we have 2 pages of emulated EEPROM */ |
19 EEMUL (RWX) : ORIGIN = 0x08000000+512k-2k, LENGTH = 2k | 19 FLASH (RX) : ORIGIN = 0x08000000+0, LENGTH = 512K-4K-0 |
20 EEMUL (RWX) : ORIGIN = 0x08000000+512k-4k, LENGTH = 4k | |
20 FLASHB1 (RX) : ORIGIN = 0x00000000, LENGTH = 0 | 21 FLASHB1 (RX) : ORIGIN = 0x00000000, LENGTH = 0 |
21 EXTMEMB0 (RX) : ORIGIN = 0x00000000, LENGTH = 0 | 22 EXTMEMB0 (RX) : ORIGIN = 0x00000000, LENGTH = 0 |
22 EXTMEMB1 (RX) : ORIGIN = 0x00000000, LENGTH = 0 | 23 EXTMEMB1 (RX) : ORIGIN = 0x00000000, LENGTH = 0 |
23 EXTMEMB2 (RX) : ORIGIN = 0x00000000, LENGTH = 0 | 24 EXTMEMB2 (RX) : ORIGIN = 0x00000000, LENGTH = 0 |
24 EXTMEMB3 (RX) : ORIGIN = 0x00000000, LENGTH = 0 | 25 EXTMEMB3 (RX) : ORIGIN = 0x00000000, LENGTH = 0 |