Allow sdcard version change from cmake (#3816)

* Allow sdcard version change from cmake

* Make it sdcard version check ARM only

* Move to common ARM
This commit is contained in:
3djc
2016-09-17 08:53:01 +02:00
committed by Bertrand Songis
parent 6c38dcc885
commit 7bfb213687
7 changed files with 21 additions and 18 deletions
@@ -75,6 +75,7 @@ endif()
add_definitions(-DCPUARM -DVIRTUAL_INPUTS)
add_definitions(-DTELEMETRY_FRSKY -DTELEMETRY_FRSKY_SPORT -DFRSKY_HUB -DGPS -DPXX -DDSM2)
add_definitions(-DBOLD_FONT -DBATTGRAPH -DTHRTRACE -DGAUGES)
add_definitions(-DREQUIRED_SDCARD_VERSION="${SDCARD_VERSION}")
include_directories(${COOS_DIR} ${COOS_DIR}/kernel ${COOS_DIR}/portable)
foreach(LANGUAGE ${TTS_LANGUAGES})
set(SRC ${SRC} translations/tts_${LANGUAGE}.cpp)