#
CC=sdcc
+ifndef VERSION
VERSION=$(shell git describe)
+endif
CFLAGS=--model-small --debug --opt-code-speed
#
ALTOS_SRC = \
ao_cmd.c \
- ao_dbg.c \
ao_dma.c \
ao_mutex.c \
ao_panic.c \
ao_adc_fake.c \
ao_ee_fake.c
+#
+# Debug dongle driver (only on TI)
+#
+DBG_DONGLE_SRC = \
+ ao_dbg.c
+
#
# Drivers only on TeleMetrum
#
$(TELE_RECEIVER_SRC) \
$(TELE_COMMON_SRC) \
$(TELE_FAKE_SRC) \
- $(TI_MAIN_SRC)
+ $(TI_MAIN_SRC) \
+ $(DBG_DONGLE_SRC)
TT_MAIN_SRC = \
ao_teleterra.c