#
# morse_messages_start and morse_messages_end should be defined in
# morse-defs.inc, and should also be 4-byte aligned. morse-defs.inc
-# should also arrange to define any symbolic addresse referred to
-# in morse-auto.messages, eg by including the pXXXX.inc.
+# and morse-defs.fin should arrange to define any symbolic addresses
+# referred to in morse-auto.messages, by saying `extern' (in .fin) or
+# including the pXXXX.inc (in .inc).
#
# morse-auto.asm contains the actual source and morse-auto.inc
# contains `extern' references for the labels morse_XY.
unshift @data, sprintf "0x%x%x", scalar(@addrs), $morse_bytes;
# push @data, @addrs;
push @data, map {
- "$_ - (0xf00 * !(($_ & 0xf00)^0xf00))";
+ "$_";
# $_.'&0xff';
} @addrs;
error "too much morse - extends beyond morse_messages_end"
endif
+ include morse-auto.fin
end
END
if $which eq 'asm';
INCLUDES= common.inc final.inc morse-auto.inc \
../iwjpictest/insn-aliases.inc
LIBS= vectors.o panic.o routines-led.o variables.o \
- i2clib.o
+ i2clib.o morse-auto.o
PICNOS= 0 1 2
CEBPIC= ../cebpic/
TARGETS= $(foreach i, $(PICNOS), perpic$i.hex)
# Messages starting with T are temporary entries for testing and development
TM PIE1,SSPSTAT,SSPCON1,SSPCON2 ; Master got I2C interrupt
TS PIE1,SSPSTAT,SSPCON1,SSPCON2 ; Slave got I2C interrupt
-TF TESTFLASH ; test flash message
-TG TESTFLASH,WREG4 ; test flash message
TI1 ; for iwj
TI2 ; for iwj
TI3 ; for iwj