Enable CLI on TX16S

This commit is contained in:
Raphael Coeffic
2021-11-21 11:18:35 +01:00
committed by Raphael Coeffic
parent 7cfcac3e1e
commit ae629c4065
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -95,8 +95,9 @@ endif()
if(CLI) if(CLI)
add_definitions(-DCLI) add_definitions(-DCLI)
set(FIRMWARE_SRC ${FIRMWARE_SRC} cli.cpp) set(FIRMWARE_SRC ${FIRMWARE_SRC} cli.cpp)
set(SRC ${SRC} dump.cpp) endif()
elseif(DEBUG)
if(CLI OR DEBUG)
set(SRC ${SRC} dump.cpp) set(SRC ${SRC} dump.cpp)
endif() endif()
+1
View File
@@ -106,6 +106,7 @@ if (PCB STREQUAL X10)
set(AUX2_SERIAL ON) set(AUX2_SERIAL ON)
endif() endif()
set(INTERNAL_GPS_BAUDRATE "9600" CACHE STRING "Baud rate for internal GPS") set(INTERNAL_GPS_BAUDRATE "9600" CACHE STRING "Baud rate for internal GPS")
set(CLI ON CACHE BOOL "Enable CLI")
elseif (PCBREV STREQUAL T18) elseif (PCBREV STREQUAL T18)
set(FLAVOUR t18) set(FLAVOUR t18)
set(LUA_EXPORT lua_export_t16) set(LUA_EXPORT lua_export_t16)