[ersky9x] Inflight Parameters Modification with Rotary Encoder

TTS script for SAPI voice engine
This commit is contained in:
bsongis
2012-07-12 14:22:49 +00:00
parent 228d934b88
commit 0ac6582225
9 changed files with 60 additions and 15 deletions
+9 -4
View File
@@ -114,9 +114,13 @@ IRPROTOS = NO
SOMO = NO
# TRANSLATIONS
# Values = en, fr, se
# Values = cz, de, en, fr, it, se
TRANSLATIONS = EN
# TTS
# Values = en, fr
TTS = $(TRANSLATIONS)
# UNITS
# Values = imperial, metric
UNITS = METRIC
@@ -196,8 +200,9 @@ FORMAT = ihex
TARGET = open9x
# List C++ source files here. (C dependencies are automatically generated.)
SRC =
CPPSRC = open9x.cpp $(PULSESSRC) stamp.cpp menus.cpp model_menus.cpp general_menus.cpp main_views.cpp statistics_views.cpp $(EEPROMSRC) lcd.cpp drivers.cpp translations.cpp
SRC =
TTS_SRC = translations/tts_$(shell sh -c "echo $(TTS) | tr '[:upper:]' '[:lower:]'").cpp
CPPSRC = open9x.cpp $(PULSESSRC) stamp.cpp menus.cpp model_menus.cpp general_menus.cpp main_views.cpp statistics_views.cpp $(EEPROMSRC) lcd.cpp drivers.cpp translations.cpp $(TTS_SRC)
ifeq ($(EXT), JETI)
CPPSRC += jeti.cpp
@@ -226,7 +231,7 @@ EXTRAINCDIRS = . translations
# NOTE: PCB version now overrides all the earlier individual settings
# These individual settings work only for PCB=STD
CPPDEFS += -DTRANSLATIONS_$(TRANSLATIONS)
CPPDEFS += -DTRANSLATIONS_$(TRANSLATIONS) -DTTS_$(TTS)
ifeq ($(UNITS), IMPERIAL)
CPPDEFS += -DIMPERIAL_UNITS