update avr-builder and makefile
AVR Build / build (push) Failing after 1s

This commit is contained in:
Lukas
2026-04-29 17:07:40 +02:00
parent fba41cadd8
commit 693403a2c9
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ MCU ?= atmega644pa
F_CPU ?= 8000000UL
BUILD_TYPE ?= dev
VERSION ?= 0.1
VERSION := $(shell cat VERSION.txt | tr -d ' \t\r\n')
PREFIX ?= ENO
CC = avr-gcc
@@ -19,7 +19,7 @@ all: $(TARGET).hex
$(TARGET).elf: $(SRC)
@mkdir -p $(OUTDIR)
$(CC) $(CFLAGS) $< -o $@ //avr-gcc -mmcu=atmega644pa ....
$(CC) $(CFLAGS) $< -o $@
$(TARGET).hex: $(TARGET).elf
$(OBJCOPY) -O ihex -R .eeprom $< $@