Serial pass-through
This commit is contained in:
committed by
Raphael Coeffic
parent
1f0480532d
commit
c8a4a80ffd
@@ -1,6 +1,7 @@
|
||||
set(TIMERS 3 CACHE STRING "Timers count (2 or 3)")
|
||||
set_property(CACHE TIMERS PROPERTY STRINGS 2 3)
|
||||
option(CLI "Command Line Interface" OFF)
|
||||
option(ENABLE_SERIAL_PASSTHROUGH "Enable serial passthrough" OFF)
|
||||
option(DEBUG "Debug mode" OFF)
|
||||
option(LOG_TELEMETRY "Telemetry Logs on SD card" OFF)
|
||||
option(LOG_BLUETOOTH "Bluetooth Logs on SD card" OFF)
|
||||
@@ -101,6 +102,10 @@ if(CLI OR DEBUG)
|
||||
set(SRC ${SRC} dump.cpp)
|
||||
endif()
|
||||
|
||||
if(ENABLE_SERIAL_PASSTHROUGH)
|
||||
add_definitions(-DENABLE_SERIAL_PASSTHROUGH)
|
||||
endif()
|
||||
|
||||
if(DEBUG)
|
||||
add_definitions(-DDEBUG)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user