Page 1 of 1

Lua memory on mk1?

Posted: Thu Jul 30, 2015 2:22 am
by toga94m
How large a script can a MK1 RCP handle? I was getting crashes/restarts all night trying to get my CANx running with the example Megasquirt script. Eventually thinned it down to about 1250 bytes (removing comments etc) and it works, but I'm down to only two variables. Has anyone else run into memory limits, or am I the only MK1 holdout?

http://www.autosportlabs.net/Megasquirt_CAN

Posted: Mon Oct 19, 2015 6:12 pm
by brentp
Be sure to check out firmware 2.8.5; we've optimized the memory usage and put additional protections around memory over-run situations.

-Brent