I use the current version of the Lua RTOS (git repo). There I reproducibly observe that global Lua variables are damaged. For example, an i2c handle (userdata) mutates into a table. Or suddenly print is nil. My application is small and trivial. The error occurs on different boards (all equipped with WROVER). If I use an older version (Generic ESP32 board, with wcc) the error does not occur. And the application runs stable. It doesn't matter whether I activate the external RAM or not.
I use the current version of the Lua RTOS (git repo). There I reproducibly observe that global Lua variables are damaged. For example, an i2c handle (userdata) mutates into a table. Or suddenly print is nil. My application is small and trivial. The error occurs on different boards (all equipped with WROVER). If I use an older version (Generic ESP32 board, with wcc) the error does not occur. And the application runs stable. It doesn't matter whether I activate the external RAM or not.