]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Lib/mk20dx256vlh7.bootloader.ld
Adding initial dfu-upload code and debugging for Bootloader.
[kiibohd-controller.git] / Lib / mk20dx256vlh7.bootloader.ld
index 91ae4fd729c16e4a601c257c4cd4d5c4959b2fcf..cff609027daae352f2bb4bac8bc6d364d1374df3 100644 (file)
@@ -33,11 +33,13 @@ MEMORY
 {
        FLASH (rx)     : ORIGIN = 0x0, LENGTH = 256K
        FLASH_APP (rx) : ORIGIN = 8K, LENGTH = 256K-8K
+       FLASH_END (r)  : ORIGIN = 256K, LENGTH = 32
        RAM  (rwx)     : ORIGIN = 0x20000000 - 64K / 2, LENGTH = 64K
 }
 
 /* Starting Address of the application ROM */
 _app_rom = ORIGIN( FLASH_APP );
+_app_rom_end = ORIGIN( FLASH_END );
 
 FlexRAM = 0x14000000;
 FTFL = 0x40020000;