Fixing bugs in mk20dx256vlh7 Bootloader support.
This commit is contained in:
parent
a6edcce5f9
commit
863d853698
2 changed files with 2 additions and 1 deletions
|
@ -400,6 +400,7 @@ const uint8_t flashconfigbytes[16] = {
|
||||||
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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -55,8 +55,8 @@ SECTIONS
|
||||||
. = 0;
|
. = 0;
|
||||||
KEEP(* (.vectors))
|
KEEP(* (.vectors))
|
||||||
*(.startup*)
|
*(.startup*)
|
||||||
*(.rodata*)
|
|
||||||
. = 0x400;
|
. = 0x400;
|
||||||
|
*(.rodata*)
|
||||||
KEEP(* (.flashconfig))
|
KEEP(* (.flashconfig))
|
||||||
*(.text*)
|
*(.text*)
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue