mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Flex option had been lost
This commit is contained in:
parent
b9b9b0eccb
commit
ce83924cd8
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,7 @@ option(TRACE_LUA_INTERNALS "Turn on traces for Lua internals" OFF)
|
||||||
option(FRSKY_STICKS "Reverse sticks for FrSky sticks" OFF)
|
option(FRSKY_STICKS "Reverse sticks for FrSky sticks" OFF)
|
||||||
option(NANO "Use nano newlib and binalloc")
|
option(NANO "Use nano newlib and binalloc")
|
||||||
option(NIGHTLY_BUILD_WARNING "Warn this is a nightly build" OFF)
|
option(NIGHTLY_BUILD_WARNING "Warn this is a nightly build" OFF)
|
||||||
|
option(MODULE_R9M_FLEX_FW "Add R9M options for non certified firmwwares" OFF)
|
||||||
option(FRSKY_RELEASE "Used to build FrSky released firmware" OFF)
|
option(FRSKY_RELEASE "Used to build FrSky released firmware" OFF)
|
||||||
|
|
||||||
# since we reset all default CMAKE compiler flags for firmware builds, provide an alternate way for user to specify additional flags.
|
# since we reset all default CMAKE compiler flags for firmware builds, provide an alternate way for user to specify additional flags.
|
||||||
|
@ -307,6 +308,10 @@ if(NIGHTLY_BUILD_WARNING)
|
||||||
add_definitions(-DNIGHTLY_BUILD_WARNING)
|
add_definitions(-DNIGHTLY_BUILD_WARNING)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(MODULE_R9M_FLEX_FW)
|
||||||
|
add_definitions(-DMODULE_R9M_FLEX_FW)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(FRSKY_RELEASE)
|
if(FRSKY_RELEASE)
|
||||||
add_definitions(-DFRSKY_RELEASE)
|
add_definitions(-DFRSKY_RELEASE)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue