From 9fd1c1a1636420100481524d6371437638161fab Mon Sep 17 00:00:00 2001 From: CVR Date: Mon, 13 Sep 2021 14:00:28 +1200 Subject: [PATCH] Add fuse and lock commands --- makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/makefile b/makefile index 6f8d953..f5ed682 100644 --- a/makefile +++ b/makefile @@ -26,3 +26,10 @@ term: avarice: avarice --program --file bin/main.elf --part atmega32 --dragon :4242 + + +fuse: + avrdude -p ${MCU} -c ${PROG} -P ${PORT} -U lfuse:w:0xe4:m -U hfuse:w:0xd2:m + +lock: + avrdude -p ${MCU} -c ${PROG} -P ${PORT} -U lock:w:0xC0:m \ No newline at end of file