Merge pull request #6655 from opentx/3djc/multi+crsf-as-baseline
Make crossfire, multi and luac baseline
This commit is contained in:
@@ -12,8 +12,8 @@ option(MODULE_SIZE_STD "Standard size TX Module" ON)
|
||||
option(PPM "PPM TX Module" ON)
|
||||
option(DSM2 "DSM2 TX Module" ON)
|
||||
option(SBUS "SBUS TX Module" ON)
|
||||
option(CROSSFIRE "Crossfire TX Module" OFF)
|
||||
option(MULTIMODULE "DIY Multiprotocol TX Module (https://github.com/pascallanger/DIY-Multiprotocol-TX-Module)" OFF)
|
||||
option(CROSSFIRE "Crossfire TX Module" ON)
|
||||
option(MULTIMODULE "DIY Multiprotocol TX Module (https://github.com/pascallanger/DIY-Multiprotocol-TX-Module)" ON)
|
||||
option(MULTI_SPORT "SPORT telemetry support" OFF)
|
||||
option(SUPPORT_D16_EU_ONLY "XJT module only supports D16-EU and LR12-EU" OFF) # TODO rename to XJT_EU_ONLY
|
||||
option(DEBUG_INTERRUPTS "Count interrupts" OFF)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
set(LUA "NO" CACHE STRING "Lua scripts (YES/NO/NO_MODEL_SCRIPTS)")
|
||||
set_property(CACHE LUA PROPERTY STRINGS YES NO NO_MODEL_SCRIPTS)
|
||||
set(LUA_SCRIPT_LOAD_MODE "" CACHE STRING "Script loading mode and compilation flags [btTxcd] (see loadScript() API docs). Blank for default ('bt' on radio, 'T' on SIMU/DEBUG builds)")
|
||||
option(LUA_COMPILER "Pre-compile and save Lua scripts" OFF)
|
||||
option(LUA_COMPILER "Pre-compile and save Lua scripts" ON)
|
||||
option(LUA_ALLOCATOR_TRACER "Trace Lua memory (de)allocations to debug port (also needs DEBUG=YES NANO=NO)" OFF)
|
||||
|
||||
option(USB_SERIAL "Enable USB serial (CDC)" OFF)
|
||||
|
||||
@@ -202,3 +202,4 @@ if(PYTHONINTERP_FOUND)
|
||||
DEPENDS ${RADIO_DIRECTORY}/src/datastructs.h ${RADIO_DIRECTORY}/util/generate_datacopy.py
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -129,3 +129,4 @@ set(SRC
|
||||
${SRC}
|
||||
debug.cpp
|
||||
)
|
||||
|
||||
|
||||
@@ -228,6 +228,11 @@ uint32_t readTrims();
|
||||
// Pulses driver
|
||||
void extmoduleSerialStart(uint32_t baudrate, uint32_t period_half_us, bool inverted);
|
||||
void extmoduleSendNextFrame();
|
||||
void module_output_active();
|
||||
inline void EXTERNAL_MODULE_ON()
|
||||
{
|
||||
module_output_active();
|
||||
}
|
||||
|
||||
// SD driver
|
||||
#if defined(SIMU)
|
||||
@@ -377,6 +382,9 @@ void debugPutc(const char c);
|
||||
|
||||
// Telemetry driver
|
||||
void telemetryPortInit(uint32_t baudrate, uint8_t mode);
|
||||
inline void telemetryPortSetDirectionOutput()
|
||||
{
|
||||
}
|
||||
uint32_t telemetryTransmitPending();
|
||||
void telemetryTransmitBuffer(const uint8_t * buffer, uint32_t size);
|
||||
void rxPdcUsart( void (*pChProcess)(uint8_t x) );
|
||||
|
||||
Reference in New Issue
Block a user