Skip to content

Instantly share code, notes, and snippets.

@jsleeio
Created July 22, 2013 22:43
Show Gist options
  • Save jsleeio/6058377 to your computer and use it in GitHub Desktop.
Save jsleeio/6058377 to your computer and use it in GitHub Desktop.
PROG=blink
-include ../Makefile.simple
SOURCES=$(PROG).c
CC=msp430-gcc
MCU=msp430g2231
CFLAGS=-std=c99 -Wall -Os -mmcu=$(MCU)
$(PROG): $(SOURCES)
clean:
$(RM) $(PROG) *.o
flash:
mspdebug rf2500 "prog $(PROG)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment