Hellen wants Lua RAM

This commit is contained in:
rusefillc 2022-05-18 23:14:48 -04:00
parent bc8a92314a
commit 4aea193684
1 changed files with 4 additions and 1 deletions

View File

@ -375,7 +375,10 @@ static LuaThread luaThread;
#endif
void startLua() {
#if HW_MICRO_RUSEFI && defined(STM32F4)
#if defined(STM32F4) && !defined(IS_STM32F429)
// we need this on microRusEFI for sure
// definitely should NOT have this on Proteus
// on Hellen a bit of open question what's the best track
// cute hack: let's check at runtime if you are a lucky owner of microRusEFI with extra RAM and use that extra RAM for extra Lua
if (isStm32F42x()) {
char *buffer = (char *)0x20020000;