bootloader: Put the binary at offset 0x8000 in flash.
[gps-watch.git] / src / bootloader / bootloader.ld
index 84b4387469e6177cf8de4ac0b015ed7548e1632a..55b605750956013061153ecfbba244349ea1b358 100644 (file)
@@ -7,8 +7,11 @@
 /* Linker script to configure memory regions. */
 MEMORY
 {
-  FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x40000   /* 256k */
-  RAM (rwx)  : ORIGIN = 0x20000000, LENGTH = 0x08000   /*  32k */
+  FLASH (rx)
+    : ORIGIN = 0x00008000, LENGTH = 0x38000
+
+  RAM (rwx)
+    : ORIGIN = 0x1fffe000, LENGTH = 0x08000
 }
 
 /* Library configurations */