From 8a67901ae965af3c4a5fd72475e074fad46e8dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Mon, 22 Jan 2018 04:51:02 +0100 Subject: [PATCH] Disable NMI pin. This time really. Also set LPBOOT to 1. Fixes firmware#27. --- targets/MK22F51212/src/startup/gcc/startup_MK22F51212.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/MK22F51212/src/startup/gcc/startup_MK22F51212.S b/targets/MK22F51212/src/startup/gcc/startup_MK22F51212.S index 2738471..6c4bbc0 100644 --- a/targets/MK22F51212/src/startup/gcc/startup_MK22F51212.S +++ b/targets/MK22F51212/src/startup/gcc/startup_MK22F51212.S @@ -360,7 +360,7 @@ __isr_vector: .long 0x01020304 /* First 4 bytes of the Backdoor key. Not used */ .long 0x05060708 /* Next 4 bytes of the Backdoor key */ .long 0xFFFFFFF8 /* Program flash protection bytes */ - .long 0xFFFFFC95 /* FSEC byte, FOPT byte, Reserved, Reserved */ + .long 0xFFFFF995 /* FSEC byte, FOPT byte, Reserved, Reserved */ .text