diff --git a/Lib/mk20dx.c b/Lib/mk20dx.c index c8d2ab9..acd98f5 100644 --- a/Lib/mk20dx.c +++ b/Lib/mk20dx.c @@ -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 diff --git a/Lib/mk20dx256vlh7.bootloader.ld b/Lib/mk20dx256vlh7.bootloader.ld index 0892748..aa06f99 100644 --- a/Lib/mk20dx256vlh7.bootloader.ld +++ b/Lib/mk20dx256vlh7.bootloader.ld @@ -55,8 +55,8 @@ SECTIONS . = 0; KEEP(* (.vectors)) *(.startup*) - *(.rodata*) . = 0x400; + *(.rodata*) KEEP(* (.flashconfig)) *(.text*) . = ALIGN(4);