syncwrite mascan energy \
reverse nmra-stream tick watchdog
-PROGRAMS= program program+nd
+PROGRAMS= program program+dbg
-OBJS_program+nd= $(addsuffix +nd.o, $(FILES))
-XCODEN_program+nd= morse
-XCODE1_program+nd= ours+pindata
+OBJS_program+dbg= $(addsuffix +dbg.o, $(FILES))
+XCODEN_program+dbg= morse
+XCODE1_program+dbg= ours+pindata
OBJS_program= $(addsuffix .o, $(FILES))
XCODEN_program= morse
$(SYNCWRITES): %: ../iwjpictest/%
cp $< $@
-%+nd.o: %.asm $(INCLUDES)
- $(ASSEMBLE) -DNDEBUG=1 -o $@ -c $<
- @mv $*+nd.lst $*+nd+asm.lst
+%+dbg.o: %.asm $(INCLUDES)
+ $(ASSEMBLE) -DDEBUG=1 -o $@ -c $<
+ @mv $*+dbg.lst $*+dbg+asm.lst
%+externs.fin: make-externs %.asm $(addsuffix .asm, $(FILES))
./$+ >$@.new
t.%.crash: crashread program+program.map
./$< /dev/ttya0 $(filter-out $<,$^) $* $o
-verify%: program+nd+entire%.hex
+verify%: program+entire%.hex
odyssey-train $* verify $^
verify: $(addprefix verify,$(PICNOS))
# other possibilities are not ruled out
#
# For actual program from detpic, we program (with odyssey-train):
-# odyssey-train <n> write program+nd+code.hex
+# odyssey-train <n> write program+code.hex
# and then later
-# write/update program+nd+program/code.hex
-# etc. since +nd means nondebug.
+# write/update program+program/code.hex
+# etc.
#
# filename conventions - contents of hex files
# FOO.hex FOO.o (only)