X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=Makefile;h=221526f7ccb1f0b1e632fa4fe0d91ac494ac06c3;hp=7bf2bee5d0d6ad71647d5c167d1da712efd26e40;hb=b99315cee4ab796376458a2442cf36806fa4aed3;hpb=f9c1c545c9dc11c3190a6cf7504883131fffce2f diff --git a/Makefile b/Makefile index 7bf2bee5..221526f7 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ CC=sdcc CFLAGS=--model-small --debug --opt-code-speed LDFLAGS=--out-fmt-ihx --code-loc 0x0000 --code-size 0x8000 \ - --xram-loc 0xf000 --xram-size 0xf00 --iram-size 0xff + --xram-loc 0xf000 --xram-size 0xda2 --iram-size 0xff INC = \ ao.h \ @@ -61,7 +61,8 @@ TELE_DRIVER_SRC = \ # TM_DRIVER_SRC = \ ao_adc.c \ - ao_ee.c + ao_ee.c \ + ao_ignite.c # # Tasks run on TeleMetrum @@ -152,6 +153,8 @@ SYM=$(SRC:.c=.sym) PROGS=telemetrum.ihx tidongle.ihx teleterra.ihx teledongle.ihx +HOST_PROGS=ao_flight_test + PCDB=$(PROGS:.ihx=.cdb) PLNK=$(PROGS:.ihx=.lnk) PMAP=$(PROGS:.ihx=.map) @@ -161,7 +164,7 @@ PAOM=$(PROGS:.ihx=) %.rel : %.c $(INC) $(CC) -c $(CFLAGS) -o$*.rel $*.c -all: $(PROGS) +all: $(PROGS) $(HOST_PROGS) telemetrum.ihx: $(TM_REL) Makefile $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(TM_REL) @@ -193,3 +196,6 @@ clean: rm -f $(PROGS) $(PCDB) $(PLNK) $(PMAP) $(PMEM) $(PAOM) install: + +ao_flight_test: ao_flight.c ao_flight_test.c + cc -g -o $@ ao_flight_test.c