Hi,
I'm developing a lua script which is getting quite big and want to use the compiled version without debug info (compiling with -s).
I am using a X7 with OpenTX 2.2.0 RC10.
Which luac version does RC10 support?
Do I have to load both .lua and .luac file of my script on the sd-card?
When I try to use just .luac it won't run on the radio, guessing I have the wrong compiler version?
Thank you in advance for your support.
LUA version OpenTX 2.2.0
Re: LUA version OpenTX 2.2.0
First run in companion simulator.
Take the luac file it generates and place it on the SDCARD.
Use the version of the firmware with luac support.
Take the luac file it generates and place it on the SDCARD.
Use the version of the firmware with luac support.
RCdiy.ca
Stay Safe & Have Fun
OpenTX Manual http://rcdiy.ca
Paying it forward by sharing my Lua scripts, documentation and videos.
Stay Safe & Have Fun
OpenTX Manual http://rcdiy.ca
Paying it forward by sharing my Lua scripts, documentation and videos.
Re: LUA version OpenTX 2.2.0
Thank you.
I have just loaded the generated luac file on my radio. I can select it as a script, but it says "No telemetry screens". Does that mean my X7 firmware does not have luac support?
I have just loaded the generated luac file on my radio. I can select it as a script, but it says "No telemetry screens". Does that mean my X7 firmware does not have luac support?
Re: LUA version OpenTX 2.2.0
I don't know that error.
My thoughts are to flash with the latest release candidate firmware using the lua & luac options selected for the firmware download. Backup existing firmware and models first.
I'm no expert so maybe wait to see if anyone else responds.
I use the .lua files and OpenTX creates the luac file and runs it. At least that's my understanding...
My thoughts are to flash with the latest release candidate firmware using the lua & luac options selected for the firmware download. Backup existing firmware and models first.
I'm no expert so maybe wait to see if anyone else responds.
I use the .lua files and OpenTX creates the luac file and runs it. At least that's my understanding...
RCdiy.ca
Stay Safe & Have Fun
OpenTX Manual http://rcdiy.ca
Paying it forward by sharing my Lua scripts, documentation and videos.
Stay Safe & Have Fun
OpenTX Manual http://rcdiy.ca
Paying it forward by sharing my Lua scripts, documentation and videos.