Matthew Kennedy
c8e6b19828
don't build OS lib ( #2700 )
...
* don't build OS lib
* update lua
2021-05-17 08:38:30 +03:00
Matthew Kennedy
2abcd9d7ab
add ability to reset Lua interpreter ( #2695 )
...
* stub
* implement reset
* console
* just use the console command
* cleanup
* s
* s
* fix memory tracking
2021-05-14 16:20:27 -04:00
Matthew Kennedy
6cc7b0eeec
don't lowercase console commands ( #2664 )
...
* don't lowercase commands
* print bool lua results
* lua memory command
2021-05-10 11:30:50 -04:00
Matthew Kennedy
5ba7577496
move FSIO aux analog inputs to sensor model ( #2669 )
...
* sensor entries
* init
* non-explicit for list init to work
* switch fsio
* no longer need this lua hook
* init
2021-05-09 19:47:37 -04:00
rusefillc
540bb8e327
Revert "lua on f407 ( #2646 )"
...
This reverts commit e8855263
2021-05-09 18:25:50 -04:00
Matthew Kennedy
e885526308
lua on f407 ( #2646 )
...
* lua on f4
* move perf trace to efifeatures
* check that it's defined
* cypress and kinetis
* it would help to define the correct thing
* disable buffer if not used
* we can work with 2k
* turn off ramdisk on mre qc
* wow strncpy is useless for truncated strings
* turn off for bootloader
* lto bootloader
2021-05-09 16:25:38 -04:00
Matthew Kennedy
9d4bd0d6fe
Lua debug channels ( #2620 )
...
* setdebug hook
* add debug mode
* memory size debug channel
* default script
2021-05-04 10:05:39 -04:00
Matthew Kennedy
a62b7bedb2
use static buffer for lua heap, enable on f429 ( #2619 )
...
* static buffer for lua
* enable lua for 429
2021-05-04 01:03:17 -04:00
Matthew Kennedy
8ae8484dd9
interactive lua ( #2614 )
...
* interactive lua
* unnecessary pop
* print return value
* enable f7 lua
* match f7 chconf
2021-05-03 17:46:12 -04:00
Matthew Kennedy
e386ad4b38
Lua tick rate hook ( #2606 )
...
* implement setTickRate
* actually load the hook
2021-04-29 22:22:31 -04:00
Matthew Kennedy
a25773a11b
more Lua hooks ( #2605 )
...
* more hooks
* zero index
* test table hook
* test works
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-29 22:22:04 -04:00
Matthew Kennedy
5e66e8cb21
encapsulate in smart pointer ( #2603 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-29 07:44:32 -04:00
Matthew Kennedy
830575a306
lua 5.4 ( #2590 )
...
* thread priority
* build
* makefile prep
* call startup
* lua 5.1
* mk
* 5.3
* mk
* I guess lua does something?
* extract hooks, builds for tests
* a bit of error handling
* guard
* bootloader makefile
* remove lua
* submodule
* submodule update
* builds with submodule
* disabled by default
* h7 chconf
* tweaks
* add a useful hook
* move luaconf
* perf trace lua
* test helpers
* lua unit tests
* include to satiate clang
2021-04-28 22:41:25 -04:00
Matthew Kennedy
17719c5da0
prep for lua ( #2589 )
...
* thread priority
* build
* makefile prep
* call startup
* s
2021-04-27 07:57:08 -04:00