I'm considering using Espruino for a ESP32 project and I'm trying to understand the code loading process. I found the Saving code on Espruino section in the Saving code on Espruino page and read through the ESP32 target source files.
I noticed there is a js_code partition that gets mounted and wondered if it was possible to build and flash that to the board as a way to deploy my application. This could be an SPIFF filesystem with my project javascript, html, css, etc. etc files.
Any pointers on this? Is somebody doing this as well?
Also, on a related note - how did you organise your project structure when it comes to keeping your own code and the Espruino code separate?
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.
Hi folks,
I'm considering using Espruino for a ESP32 project and I'm trying to understand the code loading process. I found the
Saving code on Espruino
section in theSaving code on Espruino
page and read through the ESP32 target source files.I noticed there is a
js_code
partition that gets mounted and wondered if it was possible to build and flash that to the board as a way to deploy my application. This could be an SPIFF filesystem with my project javascript, html, css, etc. etc files.Any pointers on this? Is somebody doing this as well?
Also, on a related note - how did you organise your project structure when it comes to keeping your own code and the Espruino code separate?