Added fuse settings to makefile

This commit is contained in:
2025-01-10 13:46:10 +01:00
parent 75f1f61fac
commit 09c7107a07

View File

@@ -39,6 +39,9 @@ build/%.o: %.c
release: OPT_FLAGS=-O2 -DNDEBUG release: OPT_FLAGS=-O2 -DNDEBUG
release: $(PROJ_BLD).elf release: $(PROJ_BLD).elf
fuse:
avrdude -c $(PROG_STR) -p $(MCU) -U lfuse:w:0xDF:m -U hfuse:w:0xCA:m -B 125kHz
flash: flash:
avrdude -c $(PROG_STR) -p $(MCU) -U flash:w:$(PROJ_BLD).hex:i avrdude -c $(PROG_STR) -p $(MCU) -U flash:w:$(PROJ_BLD).hex:i