|
@@ -62,12 +62,21 @@ _Min_Stack_Size = 0x400; /* required amount of stack */
|
|
|
MEMORY
|
|
|
{
|
|
|
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 8K
|
|
|
-FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 64K
|
|
|
+FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 62K
|
|
|
+DATA (rwx) : ORIGIN = 0x800F800, LENGTH = 2K
|
|
|
}
|
|
|
|
|
|
/* Define output sections */
|
|
|
SECTIONS
|
|
|
{
|
|
|
+ /* EEPROM emulation */
|
|
|
+ .user_data :
|
|
|
+ {
|
|
|
+ . = ALIGN(4);
|
|
|
+ KEEP(*(.user_data))
|
|
|
+ . = ALIGN(4);
|
|
|
+ } >DATA
|
|
|
+
|
|
|
/* The startup code goes first into FLASH */
|
|
|
.isr_vector :
|
|
|
{
|