X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=shellcode%2Fchipcon%2Fcc1110%2FMakefile;h=ec5cceb4d795b65e5cc4fb3ca66750c707dde982;hp=ccd08b8da11486f9e2bd1a48dc581e8d719627ed;hb=HEAD;hpb=b9e8a6ef91caf381fbc81606a3c442b77974ed62 diff --git a/shellcode/chipcon/cc1110/Makefile b/shellcode/chipcon/cc1110/Makefile index ccd08b8..ec5cceb 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 carrier.ihx specan.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: $(objs) + cp $(objs) ../../../client/shellcode/chipcon/cc1110/ + #Shellcode installed.