added macro modes input and output

This commit is contained in:
hugogogo
2025-03-04 13:26:57 +01:00
parent 37325f2b16
commit 1a86e78984
2 changed files with 7 additions and 25 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