You might actually find that using a 'cutting edge' build (or 2v24 when released) fixes this as well, as I pushed a change for ESP32 2 weeks ago: https://github.com/espruino/Espruino/commit/e4937494db42b1c3e94d2fa8f1b80f033b053f73
@Gordon started
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.
You might actually find that using a 'cutting edge' build (or 2v24 when released) fixes this as well, as I pushed a change for ESP32 2 weeks ago: https://github.com/espruino/Espruino/commit/e4937494db42b1c3e94d2fa8f1b80f033b053f73