* Fixes #5502

* RAS renamed to SWR
This commit is contained in:
Bertrand Songis
2018-01-02 10:41:15 +01:00
committed by GitHub
parent b22fa48e90
commit 269831e0c4
30 changed files with 315 additions and 307 deletions
+5
View File
@@ -38,6 +38,7 @@ endif()
option(SIMU_DISKIO "Enable disk IO simulation in simulator. Simulator will use FatFs module and simulated IO layer that uses \"./sdcard.image\" file as image of SD card. This file must contain whole SD card from first to last sector" OFF)
option(SIMU_LUA_COMPILER "Pre-compile and save Lua scripts in simulator." ON)
option(FAS_PROTOTYPE "Support of old FAS prototypes (different resistors)" OFF)
option(RAS "RAS (SWR) enabled" ON)
option(TEMPLATES "Model templates menu" OFF)
option(TRACE_SIMPGMSPACE "Turn on traces in simpgmspace.cpp" ON)
option(TRACE_LUA_INTERNALS "Turn on traces for Lua internals" OFF)
@@ -249,6 +250,10 @@ elseif(FAI STREQUAL CHOICE)
add_definitions(-DFAI_CHOICE)
endif()
if(NOT RAS)
add_definitions(-DNO_RAS)
endif()
if(FAS_PROTOTYPE)
add_definitions(-DFAS_PROTOTYPE)
endif()