Matthew Kennedy
dc7fe111bf
strtof ( #3623 )
...
* strtof
* do fewer divides
2021-11-26 18:39:45 -05:00
rusefillc
cedc5f4e9c
LUA CANbus expect 29bit ID by default #3592
...
not great quick fix
2021-11-23 15:41:43 -05:00
Matthew Kennedy
9bd8a19564
oh my god we've had no asserts ( #3595 )
2021-11-22 17:52:03 -05:00
rusefillc
5271d9791a
j1850 SAE crc8 Lua
2021-11-22 14:19:19 -05:00
Scott Smith
467db16828
Move LuaThread to CCM, and shuffle a couple items out. ( #3587 )
...
Lua's stack probably doesn't need DMA. Allows us to group more of our unused RAM together
in one place.
2021-11-21 20:35:03 -05:00
Matthew Kennedy
569415930c
detect more overflows with asan ( #3582 )
...
* overflow detector
* type list dynamic allocate
* fix the buffer length
* comment
* pr fb
* sanitize sim
* fix sim sanitizer bug
* didn't mean to turn off optimization for sim
* asan can do that, if you turn it on!
* cleaning
2021-11-20 01:38:39 -05:00
Scott Smith
80091498a6
Programmatically replace ENGINE() and CONFIG() with engine-> etc ( #3565 )
...
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"
git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Andrey
1be12392c0
proportional spark cut #3427
2021-11-16 13:23:08 -05:00
Matthew Kennedy
7296593448
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
Scott Smith
2cfc4af998
Start the process of using a global engine ptr for unit tests. ( #3551 )
...
* Start the process of using a global engine ptr for unit tests.
Passing around the engine, config, and persistent state wasn't buying anything. Instead, use
EngineTestHelper(Base) to correctly set and clear the global variables. Add a dummy check in
case some test tries to set them manually.
* Fix OSX build
* Adapt PR to recently added code.
2021-11-16 00:23:14 -05:00
rusefi
1f486a1e15
Lua: changing "table" API
2021-11-14 16:29:46 -05:00
rusefi
301bdf08a2
Something something Automatic Compression Release #3442
2021-11-14 16:04:44 -05:00
rusefi
291f815b2d
Something something Automatic Compression Release #3442
2021-11-14 15:04:10 -05:00
rusefillc
899a10c829
script settings need names!
2021-11-14 13:18:11 -05:00
rusefillc
3327b0d4e7
Epic: Remove FSIO #2928
2021-11-14 10:57:19 -05:00
rusefillc
5f1aadf638
Epic: Remove FSIO #2928
2021-11-14 10:39:47 -05:00
rusefi
d172961577
findTableIndex
2021-11-13 10:02:01 -05:00
rusefillc
f7d1a3e542
lua can
2021-11-13 08:23:44 -05:00
rusefillc
731906b2be
lua can
2021-11-13 08:20:30 -05:00
rusefillc
14281da180
lua can
2021-11-13 04:44:17 -05:00
Matthew Kennedy
31848f5bf4
lua pid class ( #3411 )
...
* lua pid
* no luaaa stl
* update luaaa
* finality
* luaaa
* luaaa
* = default
* bad merge
* gitmodules
* lua
* proteus demo script
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-13 03:18:16 -05:00
Matthew Kennedy
569ec1013b
update luaaa ( #3540 )
...
* lua update
* no stdlib mode
* turn off system luaaa for now since it makes luaaa sad
* let user heap do a little
* gitmodules
* memory shuffling
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-12 22:10:05 -05:00
Andrey
31b50ff021
Something something Automatic Compression Release #3442
2021-11-11 21:38:49 -05:00
Matthew Kennedy
baf11a27b9
load lua libs correctly ( #3529 )
...
* fix lua lib loading
* test
2021-11-11 13:44:13 -05:00
rusefi
35f6ac4305
open q
2021-11-10 19:24:17 -05:00
rusefi
99a90309ef
why is meat allowed to touch machine?!
2021-11-08 20:49:12 -05:00
Andrey
49d4dea65e
lua pid class #3411
2021-11-07 09:53:40 -05:00
Andrey
c98bfecf11
lua pid class #3411
2021-11-07 09:49:47 -05:00
Andrey
818e0057c9
lua curve progress
2021-11-05 16:08:48 -04:00
rusefillc
57dc9b36f4
lua curve progress
2021-11-05 10:34:12 -04:00
Andrey
52bd7a9cb7
lua interpolate
2021-11-02 23:35:48 -04:00
Andrey
8c11ab341e
refatoring: splitting lua hooks into multiple files
2021-11-02 23:27:48 -04:00
rusefi
85dac3e931
Revert "lua can: one step back"
...
This reverts commit 3731496f
2021-10-29 16:32:41 -04:00
rusefi
3731496fb3
lua can: one step back
2021-10-29 13:14:42 -04:00
rusefillc
6a504e0755
Revert "lua pid class #3411"
...
This reverts commit 02bbe16170
.
2021-10-28 23:41:23 -04:00
rusefillc
02bbe16170
lua pid class #3411
2021-10-28 23:35:53 -04:00
Matthew Kennedy
41b99b0593
make lua CAN happy ( #3416 )
...
* lua can tx
* index
* make rx match
2021-10-28 08:18:56 -04:00
Matthew Kennedy
7422de9391
Lua CAN rx data ( #3414 )
...
* rx data
* comments
* multi bus
2021-10-26 16:48:57 -04:00
Matthew Kennedy
e7d66fd242
Lua CAN RX ( #3403 )
...
* wiring
* static
* implementation
* comment
* unit tests happy
* guard
* guard smarter, not harder
* guard smarter not harder
* guard even smarter, not even harder
* don't need that
2021-10-24 08:37:04 -04:00
rusefillc
73bec80f77
generate java enum from C enum? generate both C and java from yaml? #2102
2021-10-24 00:44:09 -04:00
rusefillc
6692ca7157
Lua: CAN receive integration? callback? #3320
2021-10-24 00:18:28 -04:00
Matthew Kennedy
4259c96809
lua can set sensors ( #3389 )
...
* add sensor unsubscribe
* sensor hook
* test it!
* virtual destructor makes us sad
* ensure deinit
2021-10-22 16:36:29 -04:00
Andrey
0e6a3e38ed
findSensorTypeByName
2021-10-21 14:33:59 -04:00
Matthew Kennedy
0419e3489a
per-MCU lua size ( #3339 )
...
* per-MCU lua size
* simulator happy
2021-10-09 09:02:30 -04:00
rusefi
67e7a1b6cf
looks like a typo
2021-10-08 23:14:11 -04:00
rusefi
ca7304131b
luamemory does same but better
2021-10-08 14:48:16 -04:00
Matthew Kennedy
dab377d15d
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00
rusefillc
0cc58432c7
"luastats" command
2021-09-29 21:04:50 -04:00
rusefi
6c14bff659
luaaa revert by switching to a less messed up branch
2021-09-24 22:13:06 -04:00
rusefillc
51dce1a7bd
fresh luaaa
2021-09-24 20:53:42 -04:00