Damjan Adamic
f27c092ba4
Missing stuff from commit e8aaa67450
2016-01-14 19:23:56 +01:00
Bertrand Songis
e8aaa67450
[Horus] GUI continued - #3159
...
[GVars] Refactoring continued - #3185
2016-01-14 07:41:30 +01:00
Damjan Adamic
8780535ff9
Fixes #3223 : some lua fields were not exported (CPUARM)
2016-01-10 21:13:42 +01:00
Bertrand Songis
82a4ad4103
[Horus] Fixes. ADC + Switches + Trims + RTC OK
2016-01-08 22:21:26 +01:00
Bertrand Songis
d5cbf57e1b
VC++ compilation
2015-12-24 11:01:20 +01:00
Bertrand Songis
88841f63ca
Switch to CMake
2015-12-21 23:43:18 +01:00
Bertrand Songis
8942115f33
Fixes #3150
2015-12-16 07:11:51 +01:00
Damjan Adamic
9e237c9e46
Re #3127 and #2921 : getFlightMode() can now return specified flight mode data
2015-12-14 20:40:27 +01:00
Damjan Adamic
1dcc660f31
Fixes #2921 : Lua getFlightMode() function added
2015-12-07 18:01:37 +01:00
Bertrand Songis
1e2130de53
[Horus] Lua model scripts added
2015-12-06 22:54:43 +01:00
Damjan Adamic
9d29b483c5
Lua export fixes ported from master
...
Cmake Horus font dependencies fixed
Jenkins build scripts added and fixed
2015-12-06 11:26:07 +01:00
Damjan Adamic
af6ea012bb
Lua documentation update
2015-11-30 18:53:33 +01:00
Damjan Adamic
f184e9bed3
Re #2469 : part2: keys accesible to Lua telemetry scripts (Taranis only) (ported #3087 from master commits 3186a5d99..94d8b8b0e8d)
2015-11-26 19:40:32 +01:00
Damjan Adamic
51b8f9b054
Re #2469 : part1: Menu system renaming of variables and refactoring (ported #3087 from master commits 3186a5d99..94d8b8b0e8d)
2015-11-26 18:29:20 +01:00
Bertrand Songis
84bd62bdce
Merge pull request #3105 from opentx/projectkk2glider/lua_additions_for_next
...
Lua addition ported from master to next
2015-11-25 22:56:36 +01:00
Bertrand Songis
71f08998dd
[Horus] No more errors in Lua interface compilation
2015-11-25 21:50:12 +01:00
Bertrand Songis
791b1173e3
Another couple of functions renamed
...
And nothing else this time!
2015-11-25 21:24:20 +01:00
Damjan Adamic
7538fcfb51
Git commit ID added to stamp
...
Fixes #2921 : getValue() now also returns pilot position
Fixes #3062 : Close any Lua open files when radio powers off
Fixes #3095 : Lua string library added (only 6k bytes of flash used)
Re #3095 : luaGetVersion() also returns version as numbers
(Ported from master 7ef790d3..4d0bd14ad and squashed into one commit)
2015-11-25 18:00:44 +01:00
Bertrand Songis
01187e60c2
Some more LCD functions renamed
2015-11-24 22:09:22 +01:00
Damjan Adamic
0db2013d24
Lua documentation update (ported from master 682fa5d)
2015-11-20 21:25:40 +01:00
dsbeach and Damjan Adamic
a1bb31b521
Modifications to luaCompileAndSave() - as scripts are loaded it will check for existing file <file>.lua.src and compile it to <file>.lua if found. (ported from master, re #3079 )
2015-11-19 17:50:07 +01:00
Bertrand Songis
b7c09d703c
[Horus] UI continued
2015-11-18 22:07:48 +01:00
Damjan Adamic
788035b0e3
Lua documentation update
2015-11-16 22:46:07 +01:00
Damjan Adamic
d1e9bf8e98
Lua documentation update
2015-11-16 19:52:59 +01:00
Bertrand Songis
de733579d5
Merge remote-tracking branch 'origin/next' into Horus
...
# Conflicts:
# companion/src/CMakeLists.txt
# companion/src/firmwares/opentx/opentxinterface.cpp
# companion/src/firmwares/opentx/simulator/CMakeLists.txt
# companion/src/firmwares/opentx/stamp-opentx.h.in
# radio/src/Makefile
# radio/src/cli.cpp
# radio/src/gui/Taranis/helpers.cpp
# radio/src/gui/Taranis/lcd.cpp
# radio/src/gui/Taranis/menu_model_setup.cpp
# radio/src/gui/Taranis/view_main.cpp
# radio/src/lua_api.cpp
# radio/src/main_avr.cpp
# radio/src/myeeprom.h
# radio/src/opentx.cpp
# radio/src/pulses/pxx_arm.cpp
# radio/src/storage/eeprom_conversions.cpp
# radio/src/targets/Horus/adc_driver.cpp
# radio/src/targets/Horus/board_horus.cpp
# radio/src/targets/Horus/board_horus.h
# radio/src/targets/Horus/diskio.cpp
# radio/src/targets/Horus/hal.h
# radio/src/targets/Horus/haptic_driver.cpp
# radio/src/targets/Horus/i2c_driver.cpp
# radio/src/targets/Horus/keys_driver.cpp
# radio/src/targets/Horus/lcd_driver.cpp
# radio/src/targets/Horus/led_driver.cpp
# radio/src/targets/Horus/pulses_driver.cpp
# radio/src/targets/Horus/pwr_driver.c
# radio/src/targets/Horus/sdio_sd.c
# radio/src/targets/Horus/sdio_sd.h
# radio/src/targets/Horus/serial2_driver.cpp
# radio/src/targets/Horus/telemetry_driver.cpp
# radio/src/targets/Horus/usb_conf.h
# radio/src/targets/Horus/usbd_desc.c
# radio/src/targets/Horus/usbd_storage_msd.cpp
2015-11-15 23:08:34 +01:00
Damjan Adamic
754b875d81
Re #3054 : Lua byte-code of every loaded script is dumped to a file if LUA_COMPILER=YES is defined (only for simu target. Original code author (dsbeach)
2015-11-15 16:32:12 +01:00
Damjan Adamic
feac6d000f
Companion build fixed (stamp duplication removed)
2015-11-15 13:19:26 +01:00
Damjan Adamic
4a60c8aa6e
Lua exports moved to lua dir
2015-11-15 12:12:24 +01:00
Damjan Adamic
d54f25ccba
Lua api and interface lua_api.cpp moved to lua dir and split into several files
2015-11-15 12:05:53 +01:00
bsongis
0b7a85daa7
#1471 - Lua moved to thirdparty directory - io.seek added
2015-03-24 18:58:58 +01:00
bsongis
4e55213ae6
#1471 - libio added to Lua. For tests, can be simplified and expanded
2015-03-16 20:15:32 +01:00
Damjan Adamic
89a855380d
Fixes #1839 : Companion simulator Lua crash on Mac
2014-11-09 10:39:48 +01:00
Damjan Adamic
c89381bae5
Fixes #1791 : Port Lua Bin Allocator to next:
...
* Bin Allocator
* Lua memory allocaton fixes
* Simulator memory leak fixes
2014-10-26 09:14:45 +01:00
bsongis
829567a2c1
#1647 - getCurve exported to the Lua interpreter
2014-09-15 18:49:58 +02:00
bsongis
ea122610ef
LTR patch (modified) applied. Saves around 8-10k RAM during the
...
interpreter initialization
Conflicts:
radio/src/Makefile
radio/src/lua.cpp
radio/src/lua/src/linit.c
2014-09-15 10:12:57 +02:00
Damjan Adamic
8d49b1076b
Fixes #1626 : Enable the Lua bit32 library
2014-08-23 17:14:06 +02:00
bsongis
f94b4c743d
RAM saving in the Lua interpreter
2014-05-30 16:20:26 +02:00
Damjan Adamic
9285a3a9a1
Lua print() function works by using TRACE macro
2014-04-26 09:43:45 +02:00
Bertrand Songis
d374453c8f
Lua now uses our fake FatFS when running in simu
2014-02-10 12:15:24 +01:00
Bertrand Songis
e15eb9ff79
Lua branch updated to 'next'
2014-02-10 11:26:50 +01:00
Bertrand Songis
7e65fe82c3
Companion compilation error on VC++
2014-02-10 10:31:15 +01:00
Bertrand Songis
330234df01
Lua interpreter now running inside companion!
2014-02-10 10:31:14 +01:00
Bertrand Songis
8f08a61d12
Lua interpreter introduced
2014-02-10 10:29:31 +01:00