diff options
author | jaseg <git@jaseg.net> | 2017-09-01 20:26:05 +0200 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2017-09-01 20:26:05 +0200 |
commit | e6437f975b3e64dbd85d3939ae07893cf816a992 (patch) | |
tree | 60502e4537e248260ebb0badd0b650a8d14f2ae4 /fw/stm32_flash.ld | |
parent | 6b40626a1bbb08968d3c615023f04fedff9254af (diff) | |
download | 7seg-e6437f975b3e64dbd85d3939ae07893cf816a992.tar.gz 7seg-e6437f975b3e64dbd85d3939ae07893cf816a992.tar.bz2 7seg-e6437f975b3e64dbd85d3939ae07893cf816a992.zip |
UART magic seems to be working now
Diffstat (limited to 'fw/stm32_flash.ld')
-rw-r--r-- | fw/stm32_flash.ld | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fw/stm32_flash.ld b/fw/stm32_flash.ld index 5d22b48..b763d8f 100644 --- a/fw/stm32_flash.ld +++ b/fw/stm32_flash.ld @@ -2,8 +2,8 @@ ENTRY(Reset_Handler)
MEMORY {
- FLASH (rx): ORIGIN = 0x08000000, LENGTH = 14K
- CONFIGFLASH (rw): ORIGIN = 0x08003800, LENGTH = 2K
+ FLASH (rx): ORIGIN = 0x08000000, LENGTH = 0x3C00
+ CONFIGFLASH (rw): ORIGIN = 0x08003C00, LENGTH = 0x400
RAM (xrw): ORIGIN = 0x20000000, LENGTH = 4K
}
@@ -39,11 +39,13 @@ SECTIONS { _sidata = _etext;
} >FLASH
+ /*
.configflash : {
- . = ALIGN(2048);
+ . = ALIGN(0x400);
*(.configdata)
_econfig = .;
- } >CONFIGFLASH
+ } >FLASH
+ */
/* This is the initialized data section
The program executes knowing that the data is in the RAM
|