Skip to content

Commit 3fcbe24

Browse files
committed
Unset the EZPORT_DIS and NMI_DIS bits of the FOPT register. Fixes #27.
1 parent 40cbba1 commit 3fcbe24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

targets/MK22F51212/src/startup/gcc/startup_MK22F51212.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ __isr_vector:
360360
.long 0x01020304 /* First 4 bytes of the Backdoor key. Not used */
361361
.long 0x05060708 /* Next 4 bytes of the Backdoor key */
362362
.long 0xFFFFFFF8 /* Program flash protection bytes */
363-
.long 0xFFFFFF95 /* FSEC byte, FOPT byte, Reserved, Reserved */
363+
.long 0xFFFFFC95 /* FSEC byte, FOPT byte, Reserved, Reserved */
364364

365365

366366
.text

0 commit comments

Comments
 (0)