projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Flashing sled... not yet known to work
[goodfet]
/
client
/
shellcode
/
bslv2-flasher
/
Makefile
diff --git a/client/shellcode/bslv2-flasher/Makefile
b/client/shellcode/bslv2-flasher/Makefile
new file mode 100644
(file)
index 0000000..
8fac042
--- /dev/null
+++ b/
client/shellcode/bslv2-flasher/Makefile
@@ -0,0
+1,9
@@
+AS=msp430-as
+OBJCOPY=msp430-objcopy
+
+all: flasher.bin
+
+%.bin: %.elf
+ $(OBJCOPY) -O binary $*.elf $*.bin
+%.elf: %.s
+ $(AS) -mcpu=430xv2 -a -o $*.elf $*.s >$*.lst