projects
/
goodfet
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Glitch app is in progress, first support will be for AVR.
[goodfet]
/
firmware
/
tests
/
echo
/
Makefile
1
2
PORT=/dev/ttyUSB0
3
BSL=tos-bsl --invert-reset --invert-test -c $(PORT)
4
5
#mcu=msp430x1611
6
mcu=msp430x2618
7
8
#ldscript is wonky
9
#GCCINC=-T ../../ldscripts/161x.x
10
11
CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
12
13
libs=../../lib/msp430x2618.c
14
app=echo
15
16
install: $(app)
17
$(BSL) -e -p $(app)
18
$(BSL) -P $(app) -r
19
$(app): $(app).c $(libs)
20
erase:
21
$(BSL) -e
22
clean:
23
rm -f $(app)