chiark / gitweb /
fix things up so it compiles, after merge
authorian <ian>
Fri, 25 Jan 2008 22:30:59 +0000 (22:30 +0000)
committerian <ian>
Fri, 25 Jan 2008 22:30:59 +0000 (22:30 +0000)
detpic/program.asm
hostside/Makefile
hostside/cdumgr.c
layout/Makefile

index 7baba7365ecb7dfe008503b7bdc93658e1103b34..2a87efe0ef751959c3d61307f7b9d78ea12ec0f4 100644 (file)
@@ -60,7 +60,6 @@ master_init
        call    memory_erase
        clr_f   flags
        call    serial_init
-       call    startwait
        call    i2cm_init
        call    serialtxbuf_init
        call    polarity_master_init
@@ -103,27 +102,6 @@ master_interrupt_low @
        Dl 0x8f
        panic   morse_IL
 
-;----------------------------------------
-startwait
-; We pause before starting up to give slaves a chance to wake up.
-;
-;  Timer 0             any             trashed, left running
-;  GIEH, GIEL          remain continuously disabled
-;
-       clr_f   T0CON
-       bc_f    INTCON,TMR0IF
-       mov_lw  startwait_master_t0inith
-       mov_wf  TMR0H
-       mov_lw  startwait_master_t0initl
-       mov_wf  TMR0L
-       mov_lw  (1<<TMR0ON) | startwait_master_t0scale
-       mov_wf  T0CON
-startwait_loop
-       bt_f_if0 INTCON,TMR0IF
-       bra     startwait_loop
-       ;...done.
-       return
-
 ;----------------------------------------------------------------------
 serialrx_table_section code    0x2000
 
index 589bffa9d133ed8122484f5f2611feab5bfbbae6..48e6c5b0dbab2075a1243cac2105a4e8a5462b59 100644 (file)
@@ -1,7 +1,7 @@
 #
 
 AUTOINCS=      auproto-pic.h layoutinfo.h selectors.h retransmit-table.h \
-               errorcodes.h stastate.h
+               errorcodes.h stastate.h record-y.h record-l.h
 TARGETS=       hostside-old gui-plan-bot realtime
 
 include ../common.make
@@ -47,6 +47,9 @@ auproto-pic.c auproto-pic.h: auproto-%: \
                        parse-proto-spec proto-expanded skelproto-%
                ./$+ $o
 
+record-y.h: record-y.c
+record-l.h: record-l.c
+
 layoutinfo.h:  ../layout/ours.layout-data.c Makefile
                sed -e '/^#include/,$$d' $< $o
 
@@ -66,5 +69,6 @@ hostside:     hostside.o serialio.o client.o obc.o commands.o utils.o \
 clean:
                rm -f *.o *.d $(TARGETS) selectors.h
                rm -f auproto-pic.h *~ core proto-expanded
+               rm -f record-[yl].[ch]
 
 include $(wildcard *.d)
index db6f8ba959030f8cd1c40ac3002516dec59015c5..089d9548c0705c600c393cf6c48ddd9c31ac5777 100644 (file)
@@ -14,7 +14,3 @@ void on_pic_pointed(const PicInsnInfo *pii, const PicInsn *pi, int objnum) {
   if (sta_state <= Sta_Settling) return;
   /* fixme do something here */
 }
-
-void on_pic_nopoint(const PicInsnInfo *pii, const PicInsn *pi, int objnum) {
-  /* fixme perhaps log this if it was unexpected */
-}
index 47ae957bbb81ccf831920c1dd1c076d8911e54be..3a317c3fa33760f5d14ee07c108547ef3157daaf 100644 (file)
@@ -155,7 +155,7 @@ ui-plan-%.ppm:      ours.dgram-%.pa.segenco.ppm Makefile
 subseg2display.o compose-segenco.o: segcmap.h
 
 clean:
-               -rm -f -- *.d4 *~ t.* *.m *.new core
+               -rm -f -- *.d4 *~ t.* *.m *.new core *.d
                -rm -f ours.*.ps ours-*.ps parts.ps *.neato.ps ours.*.neato
                -rm -f dualjn-*.ps
                -rm -f *.pin-info *+pindata.asm