projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ao_intflash: Avoid overwriting code
[fw/altos]
/
src
/
Makefile.proto
diff --git
a/src/Makefile.proto
b/src/Makefile.proto
index 30cd57981ae7a79504d26698f903c30d2c27605c..ee3b4d6c60a3a23027447125be341ee3a2aaba66 100644
(file)
--- a/
src/Makefile.proto
+++ b/
src/Makefile.proto
@@
-13,9
+13,11
@@
ifndef VERSION
include ../Version
endif
include ../Version
endif
-CFLAGS=--model-small --debug --opt-code-speed
+CFLAGS=--model-small --debug --opt-code-speed
-DCODESIZE=$(CODESIZE)
-LDFLAGS=--out-fmt-ihx --code-loc 0x0000 --code-size 0x8000 \
+CODESIZE ?= 0x8000
+
+LDFLAGS=--out-fmt-ihx --code-loc 0x0000 --code-size $(CODESIZE) \
--xram-loc 0xf000 --xram-size 0xda2 --iram-size 0xff
INC = \
--xram-loc 0xf000 --xram-size 0xda2 --iram-size 0xff
INC = \
@@
-159,6
+161,33
@@
TM_BASE_SRC = \
$(TM_TASK_SRC) \
$(TM_MAIN_SRC)
$(TM_TASK_SRC) \
$(TM_MAIN_SRC)
+#
+# Sources for TeleMini
+TMINI_DRIVER_SRC = \
+ ao_adc.c \
+ ao_ignite.c \
+ ao_config.c \
+ ao_storage.c \
+ ao_intflash.c
+
+TMINI_TASK_SRC = \
+ ao_flight.c \
+ ao_log.c \
+ ao_report.c \
+ ao_telemetry.c
+
+TMINI_MAIN_SRC = \
+ ao_telemini.c
+
+TMINI_BASE_SRC = \
+ $(ALTOS_SRC) \
+ $(ALTOS_DRIVER_SRC) \
+ $(TELE_DRIVER_SRC) \
+ $(TELE_COMMON_SRC) \
+ $(TMINI_DRIVER_SRC) \
+ $(TMINI_TASK_SRC) \
+ $(TMINI_MAIN_SRC)
+
TI_MAIN_SRC = \
ao_tidongle.c
TI_MAIN_SRC = \
ao_tidongle.c