]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Fixing bugs in mk20dx256vlh7 Bootloader support.
authorJacob Alexander <haata@kiibohd.com>
Sat, 21 Mar 2015 02:54:23 +0000 (19:54 -0700)
committerJacob Alexander <haata@kiibohd.com>
Sat, 21 Mar 2015 02:54:23 +0000 (19:54 -0700)
Lib/mk20dx.c
Lib/mk20dx256vlh7.bootloader.ld

index c8d2ab9b21e15dc92d804ef8bfe46376b547c5fe..acd98f5357a2fb1dc29a83a298c29601b807eba0 100644 (file)
@@ -400,6 +400,7 @@ const uint8_t flashconfigbytes[16] = {
        0x03, // Flash nonvolatile option byte FOPT
        0xFF, // EEPROM Protection Byte FEPROT
        0xFF, // Data Flash Protection Byte FDPROT
+};
 #endif
 
 
index 08927484cfd59374083ccce1f4f50c83b014fbb8..aa06f99d6bb7877f84d31e10735794c191a288c6 100644 (file)
@@ -55,8 +55,8 @@ SECTIONS
                . = 0;
                KEEP(* (.vectors))
                *(.startup*)
-               *(.rodata*)
                . = 0x400;
+               *(.rodata*)
                KEEP(* (.flashconfig))
                *(.text*)
                . = ALIGN(4);