X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=shellcode%2Fchipcon%2Fcc1110%2FMakefile;h=7790b04385a3bdadfdf36977bf3dfeb6b0e45d5d;hp=ccd08b8da11486f9e2bd1a48dc581e8d719627ed;hb=8f3ecaa2ecd27948480534d866f9c686fa14a019;hpb=b9e8a6ef91caf381fbc81606a3c442b77974ed62 diff --git a/shellcode/chipcon/cc1110/Makefile b/shellcode/chipcon/cc1110/Makefile index ccd08b8..7790b04 100644 --- a/shellcode/chipcon/cc1110/Makefile +++ b/shellcode/chipcon/cc1110/Makefile @@ -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.