I have an app that's been running fine on the Pico but now when running on ESP32 it immediately gives an assertion failure: ASSERT(jsvGetLocks(var) < 15) FAILED AT src/jsvar.c:632. As far as I know it doesn't have much recursion or deep call tree, but I am transpiling from Typescript so.....
I increased this to 31 and re-flashed and problem went away. Perhaps this is a more sensible default for this platform?
@Gordon, @Wilberforce should I log suggestions/requests like this in the Github issues (not sure what the process is for ESP32 specific suggestions/requests)?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I have an app that's been running fine on the Pico but now when running on ESP32 it immediately gives an assertion failure:
ASSERT(jsvGetLocks(var) < 15) FAILED AT src/jsvar.c:632
. As far as I know it doesn't have much recursion or deep call tree, but I am transpiling from Typescript so.....I increased this to 31 and re-flashed and problem went away. Perhaps this is a more sensible default for this platform?
@Gordon, @Wilberforce should I log suggestions/requests like this in the Github issues (not sure what the process is for ESP32 specific suggestions/requests)?