Skip to content

Instantly share code, notes, and snippets.

View codercodingthecode's full-sized avatar

Andy codercodingthecode

  • Houston
View GitHub Profile
@codercodingthecode
codercodingthecode / Makefile
Created March 3, 2018 01:34 — 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: