Add fuse and lock commands

This commit is contained in:
CVR 2021-09-13 14:00:28 +12:00
parent 479d07c63f
commit 9fd1c1a163
1 changed files with 7 additions and 0 deletions

View File

@ -26,3 +26,10 @@ term:
avarice: avarice:
avarice --program --file bin/main.elf --part atmega32 --dragon :4242 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