Skip to content

Instantly share code, notes, and snippets.

View lapingenieur's full-sized avatar
🙃

lapingenieur

🙃
View GitHub Profile
@lapingenieur
lapingenieur / Makefile
Last active April 19, 2021 17:07 — forked from mhitza/Makefile
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: