4 ms·
Well it's designed to run on NRF processors with just 64KB of RAM and as little as 128KB of flash, which last a week on one CR2032 battery. You might have been
by hungryforcodes 5y ago
Well it's designed to run on NRF processors with just 64KB of RAM and as little as 128KB of flash, which last a week on one CR2032 battery.
You might have been over doing it! /s
I regularly develop intensive apps in Espruino for the ESP32 (I mentioned in another thread how I pull in exchange data directly using HTTPS, and process it on the TTGO Watch 2020), but it's all hand crafted code. Maybe you should consider a small Friendly Elec board and node...
...and yes PSRAM is super awesome! :)
- omneity 5y ago> You might have been over doing it! /s You’re completely right! Fed up with Arduino C, I tried to bring the entirety of the web toolchain and related dev patterns to the embedded world. :’) What you’re doing sounds super cool! Is it just as a hobby or your day job as well? Do you have any tips on debugging long running memory leaks? (basically the board crashes after a few days running continuously, which were my specs) Nowadays I’m back to Arduino C and the M5Stack/M5Paper boards, it’s a bunch of fun when I find time for it!
- hungryforcodes 5y ago> What you’re doing sounds super cool! Is it just as a hobby or your day job as well? It's kind of a serious hobby. I enjoy it. In Espruino the memory leaks are always almost the variables. So you can do say process.memory() to see if indeed your memory is decreasing, and if it is, then you can E.getSizeOf(global) to see which variable it might be. It's still javascript at the end so, standard techniques apply. Yeah I like the M5Stack boards, they're quite interesting. I use the their StickC. The orange one. It does take time for sure!