Fixing bugs in mk20dx256vlh7 Bootloader support.
author |
Jacob Alexander <haata@kiibohd.com> |
date |
Fri, 20 Mar 2015 19:54:23 -0700 |
parents |
a2df35fa4f0b |
children |
bcdc04cb8e2e |
files |
Lib/mk20dx.c Lib/mk20dx256vlh7.bootloader.ld |
diffstat |
2 files changed, 2 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/Lib/mk20dx.c Sun Mar 15 21:37:57 2015 -0700
+++ b/Lib/mk20dx.c Fri Mar 20 19:54:23 2015 -0700
@@ -400,6 +400,7 @@
0x03, // Flash nonvolatile option byte FOPT
0xFF, // EEPROM Protection Byte FEPROT
0xFF, // Data Flash Protection Byte FDPROT
+};
#endif
--- a/Lib/mk20dx256vlh7.bootloader.ld Sun Mar 15 21:37:57 2015 -0700
+++ b/Lib/mk20dx256vlh7.bootloader.ld Fri Mar 20 19:54:23 2015 -0700
@@ -55,8 +55,8 @@
. = 0;
KEEP(* (.vectors))
*(.startup*)
+ . = 0x400;
*(.rodata*)
- . = 0x400;
KEEP(* (.flashconfig))
*(.text*)
. = ALIGN(4);