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

0x03, // Flash nonvolatile option byte FOPT 0x03, // Flash nonvolatile option byte FOPT
0xFF, // EEPROM Protection Byte FEPROT 0xFF, // EEPROM Protection Byte FEPROT
0xFF, // Data Flash Protection Byte FDPROT 0xFF, // Data Flash Protection Byte FDPROT
};
#endif #endif





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

. = 0; . = 0;
KEEP(* (.vectors)) KEEP(* (.vectors))
*(.startup*) *(.startup*)
*(.rodata*)
. = 0x400; . = 0x400;
*(.rodata*)
KEEP(* (.flashconfig)) KEEP(* (.flashconfig))
*(.text*) *(.text*)
. = ALIGN(4); . = ALIGN(4);