Skip to content

Instantly share code, notes, and snippets.

View LPe7's full-sized avatar
๐Ÿ™ƒ

LPe7 LPe7

๐Ÿ™ƒ
View GitHub Profile
@LPe7
LPe7 / 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: