Skip to content

Instantly share code, notes, and snippets.

View matej-g's full-sized avatar

Matej Gera matej-g

  • Berlin
View GitHub Profile
@mhitza
mhitza / Makefile
Last active November 16, 2025 17:32
Programming Arduino Uno (ATmega386P) in assembly
%.hex: %.asm
avra -fI $<
rm *.eep.hex *.obj *.cof
all: $(patsubst %.asm,%.hex,$(wildcard *.asm))
upload: ${program}.hex
avrdude -c arduino -p m328p -P /dev/arduino-uno -b 115200 -U flash:w:$<
monitor: