mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 21:05:26 +03:00
parent
ebee591990
commit
40ece81de2
79 changed files with 1947 additions and 1370 deletions
|
@ -43,7 +43,8 @@ set(LUA_INCLUDES_STM32F4
|
|||
-I${RADIO_SRC_DIRECTORY}/${STM32LIB_DIR}/CMSIS/Device/ST/STM32F4xx/Include
|
||||
)
|
||||
|
||||
add_lua_export_target(x7 ${LUA_INCLUDES_STM32F2} -DPCBTARANIS -DPCBX7)
|
||||
add_lua_export_target(x9d ${LUA_INCLUDES_STM32F2} -DPCBTARANIS -DPCBX9D)
|
||||
add_lua_export_target(x9e ${LUA_INCLUDES_STM32F4} -DPCBTARANIS -DPCBX9E -DSTM32F40_41xxx)
|
||||
add_lua_export_target(horus ${LUA_INCLUDES_STM32F4} -DPCBHORUS -DSTM32F40_41xxx)
|
||||
add_lua_export_target(x7 ${LUA_INCLUDES_STM32F2} -DPCBTARANIS -DPCBX7)
|
||||
add_lua_export_target(x9d ${LUA_INCLUDES_STM32F2} -DPCBTARANIS -DPCBX9D)
|
||||
add_lua_export_target(x9e ${LUA_INCLUDES_STM32F4} -DPCBTARANIS -DPCBX9E -DSTM32F40_41xxx)
|
||||
add_lua_export_target(x10 ${LUA_INCLUDES_STM32F4} -DPCBHORUS -DPCBX10 -DSTM32F40_41xxx)
|
||||
add_lua_export_target(x12s ${LUA_INCLUDES_STM32F4} -DPCBHORUS -DPCBX12S -DSTM32F40_41xxx)
|
||||
|
|
|
@ -25,8 +25,10 @@
|
|||
#include "lua/lua_api.h"
|
||||
#include "telemetry/frsky.h"
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#include "lua/lua_exports_horus.inc" // this line must be after lua headers
|
||||
#if defined(PCBX12S)
|
||||
#include "lua/lua_exports_x12s.inc" // this line must be after lua headers
|
||||
#elif defined(PCBX10)
|
||||
#include "lua/lua_exports_x10.inc"
|
||||
#elif defined(PCBFLAMENCO)
|
||||
#include "lua/lua_exports_flamenco.inc"
|
||||
#elif defined(PCBX9E)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue