tests PIN register

This commit is contained in:
hugogogo
2025-03-04 13:09:57 +01:00
parent 8829366ff2
commit 5555310580
2 changed files with 54 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ hex: $(TARGET).hex
# https://gcc.gnu.org/onlinedocs/gcc/AVR-Options.html
$(TARGET).bin: $(TARGET).c
$(CC) -mmcu=$(AVRGCC_MCU_TYPE) -D F_CPU=$(F_CPU) $(TARGET).c -o $(TARGET).bin
$(CC) -mmcu=$(AVRGCC_MCU_TYPE) -D F_CPU=$(F_CPU) $(TARGET).c -Os -o $(TARGET).bin
# https://linux.die.net/man/1/avr-objcopy