Browse Source

Fixing bugs in mk20dx256vlh7 Bootloader support.

bringup
Jacob Alexander 9 years ago
parent
commit
863d853698
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      Lib/mk20dx.c
  2. 1
    1
      Lib/mk20dx256vlh7.bootloader.ld

+ 1
- 0
Lib/mk20dx.c View 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



+ 1
- 1
Lib/mk20dx256vlh7.bootloader.ld View File

@@ -55,8 +55,8 @@ SECTIONS
. = 0;
KEEP(* (.vectors))
*(.startup*)
*(.rodata*)
. = 0x400;
*(.rodata*)
KEEP(* (.flashconfig))
*(.text*)
. = ALIGN(4);