Inputs were not exported as Lua fields
This commit is contained in:
@@ -84,9 +84,9 @@ macro(add_lua_export_target target)
|
|||||||
add_custom_target(lua_export_${target} DEPENDS ${RADIO_SRC_DIRECTORY}/lua/lua_exports_${target}.inc)
|
add_custom_target(lua_export_${target} DEPENDS ${RADIO_SRC_DIRECTORY}/lua/lua_exports_${target}.inc)
|
||||||
endmacro(add_lua_export_target)
|
endmacro(add_lua_export_target)
|
||||||
|
|
||||||
add_lua_export_target(taranis -DPCBTARANIS -DLUA)
|
add_lua_export_target(taranis -DPCBTARANIS -DLUA -DVIRTUALINPUTS)
|
||||||
add_lua_export_target(taranis_x9e -DPCBTARANIS -DREVPLUS -DREV9E -DLUA)
|
add_lua_export_target(taranis_x9e -DPCBTARANIS -DREVPLUS -DREV9E -DLUA -DVIRTUALINPUTS)
|
||||||
add_lua_export_target(horus -DPCBHORUS -DLUA)
|
add_lua_export_target(horus -DPCBHORUS -DLUA -DVIRTUALINPUTS)
|
||||||
|
|
||||||
set(OPENTX_SRC_FILES
|
set(OPENTX_SRC_FILES
|
||||||
opentxsimulator.cpp
|
opentxsimulator.cpp
|
||||||
|
|||||||
+4
-4
@@ -1951,28 +1951,28 @@ endif
|
|||||||
|
|
||||||
lua/lua_exports_taranis.inc: myeeprom.h ../util/luaexport.py
|
lua/lua_exports_taranis.inc: myeeprom.h ../util/luaexport.py
|
||||||
@echo "Generating a list of Lua exported constants in lua/lua_exports_taranis.txt"
|
@echo "Generating a list of Lua exported constants in lua/lua_exports_taranis.txt"
|
||||||
@$(PARSER) -DEXPORT -DPCBTARANIS -DLUA myeeprom.h | grep LEXP > lua/lua_exports_taranis.txt
|
@$(PARSER) -DEXPORT -DPCBTARANIS -DLUA -DVIRTUALINPUTS myeeprom.h | grep LEXP > lua/lua_exports_taranis.txt
|
||||||
@echo "Parsing and generating C Lua exports in lua/lua_exports_taranis.inc"
|
@echo "Parsing and generating C Lua exports in lua/lua_exports_taranis.inc"
|
||||||
@$(PYTHON) ../util/luaexport.py $(VERSION) lua/lua_exports_taranis.txt lua/lua_exports_taranis.inc lua/lua_fields_taranis.txt
|
@$(PYTHON) ../util/luaexport.py $(VERSION) lua/lua_exports_taranis.txt lua/lua_exports_taranis.inc lua/lua_fields_taranis.txt
|
||||||
@rm lua/lua_exports_taranis.txt
|
@rm lua/lua_exports_taranis.txt
|
||||||
|
|
||||||
lua/lua_exports_taranis_x9e.inc: myeeprom.h ../util/luaexport.py
|
lua/lua_exports_taranis_x9e.inc: myeeprom.h ../util/luaexport.py
|
||||||
@echo "Generating a list of Lua exported constants in lua/lua_exports_taranis_x9e.txt"
|
@echo "Generating a list of Lua exported constants in lua/lua_exports_taranis_x9e.txt"
|
||||||
@$(PARSER) -DEXPORT -DPCBTARANIS -DREVPLUS -DREV9E -DLUA myeeprom.h | grep LEXP > lua/lua_exports_taranis_x9e.txt
|
@$(PARSER) -DEXPORT -DPCBTARANIS -DREVPLUS -DREV9E -DLUA -DVIRTUALINPUTS myeeprom.h | grep LEXP > lua/lua_exports_taranis_x9e.txt
|
||||||
@echo "Parsing and generating C Lua exports in lua/lua_exports_taranis_x9e.inc"
|
@echo "Parsing and generating C Lua exports in lua/lua_exports_taranis_x9e.inc"
|
||||||
@$(PYTHON) ../util/luaexport.py $(VERSION) lua/lua_exports_taranis_x9e.txt lua/lua_exports_taranis_x9e.inc lua/lua_fields_taranis_x9e.txt
|
@$(PYTHON) ../util/luaexport.py $(VERSION) lua/lua_exports_taranis_x9e.txt lua/lua_exports_taranis_x9e.inc lua/lua_fields_taranis_x9e.txt
|
||||||
@rm lua/lua_exports_taranis_x9e.txt
|
@rm lua/lua_exports_taranis_x9e.txt
|
||||||
|
|
||||||
lua/lua_exports_horus.inc: myeeprom.h ../util/luaexport.py
|
lua/lua_exports_horus.inc: myeeprom.h ../util/luaexport.py
|
||||||
@echo "Generating a list of Lua exported constants in lua/lua_exports_horus.txt"
|
@echo "Generating a list of Lua exported constants in lua/lua_exports_horus.txt"
|
||||||
@$(PARSER) -DEXPORT -DPCBHORUS -DLUA myeeprom.h | grep LEXP > lua/lua_exports_horus.txt
|
@$(PARSER) -DEXPORT -DPCBHORUS -DLUA -DVIRTUALINPUTS myeeprom.h | grep LEXP > lua/lua_exports_horus.txt
|
||||||
@echo "Parsing and generating C Lua exports in lua/lua_exports_horus.inc"
|
@echo "Parsing and generating C Lua exports in lua/lua_exports_horus.inc"
|
||||||
@$(PYTHON) ../util/luaexport.py $(VERSION) lua/lua_exports_horus.txt lua/lua_exports_horus.inc lua/lua_fields_horus.txt
|
@$(PYTHON) ../util/luaexport.py $(VERSION) lua/lua_exports_horus.txt lua/lua_exports_horus.inc lua/lua_fields_horus.txt
|
||||||
@rm lua/lua_exports_horus.txt
|
@rm lua/lua_exports_horus.txt
|
||||||
|
|
||||||
lua/lua_exports_flamenco.inc: myeeprom.h ../util/luaexport.py
|
lua/lua_exports_flamenco.inc: myeeprom.h ../util/luaexport.py
|
||||||
@echo "Generating a list of Lua exported constants in lua/lua_exports_flamenco.txt"
|
@echo "Generating a list of Lua exported constants in lua/lua_exports_flamenco.txt"
|
||||||
@$(PARSER) -DEXPORT -DPCBFLAMENCO -DLUA myeeprom.h | grep LEXP > lua/lua_exports_flamenco.txt
|
@$(PARSER) -DEXPORT -DPCBFLAMENCO -DLUA -DVIRTUALINPUTS myeeprom.h | grep LEXP > lua/lua_exports_flamenco.txt
|
||||||
@echo "Parsing and generating C Lua exports in lua/lua_exports_flamenco.inc"
|
@echo "Parsing and generating C Lua exports in lua/lua_exports_flamenco.inc"
|
||||||
@$(PYTHON) ../util/luaexport.py $(VERSION) lua/lua_exports_flamenco.txt lua/lua_exports_flamenco.inc lua/lua_fields_flamenco.txt
|
@$(PYTHON) ../util/luaexport.py $(VERSION) lua/lua_exports_flamenco.txt lua/lua_exports_flamenco.inc lua/lua_fields_flamenco.txt
|
||||||
@rm lua/lua_exports_flamenco.txt
|
@rm lua/lua_exports_flamenco.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user