Lots of new shellcodes. Need to document them later.
[goodfet] / shellcode / chipcon / cc1110 / Makefile
index ccd08b8..7790b04 100644 (file)
@@ -1,8 +1,14 @@
-# These targets are compiled to execute at the beginning of RAM.
-# Each should conclude with HALT (0xA5).
+# These targets are compiled to execute at the beginning of RAM.  Each
+# should conclude with HALT (0xA5).  Sometimes grabbing code from
+# foo.rst will be smaller, especially if no ljmps occur.
+
+
+# Input and output should be taken from a buffer at 0xFE00.
+# "char __xdata at 0xfe00 packet[256] ;"
+# Use lower RAM if needed.
 
 CC=sdcc --code-loc 0xF000 
-objs=crystal.ihx
+objs=crystal.ihx txpacket.ihx rxpacket.ihx txrxpacket.ihx reflex.ihx rxpacketp25.ihx reflexframe.ihx
 
 all: $(objs)
 
@@ -10,3 +16,6 @@ all: $(objs)
        $(CC) $<
 clean:
        rm -f *.ihx *.rel *.hex *.sym *.asm *.lst *.lnk *.map *.mem *.rst *.adb
+install: all
+       cp $(objs) ../../../client/shellcode/chipcon/cc1110/
+       #Shellcode installed.