I'm a full stack (and seemingly now embedded) software engineer working on Industrial IoT/SCADA systems. I've been wondering what will happen when I press enter since I began on a Commodore 64. Sometimes I even guess right.
Most recent activity
Is there any update about the new Espruino WiFi? On this page it says there is a new version coming out this year but it has said that for a while and there is not much of the year left. I'd be interested in getting my hands on one.
Also, I notice something of an anomaly. The original WiFi board appears on the front page of espruino.com on the scrolling banner thing at £34.50 with a 'Buy Now' button which doesn't actually take the user anywhere useful. When it is found on Espruino Shop, it shows that it is out of stock and listed at £30.
Has anyone tried to make use of the ESP-IDF secure boot and OTA features with espruino?
I'm hoping someone maybe able to share what they've done and what they've learnt.
Hi Gordon, thank you for taking the time to provide a very helpful answer. I feel more confident about what I'm doing now.
I'm learning to create my own extensions for Espruino. I have read the various guides and documentation and referred to existing libraries which have enabled me to succeed in making a simple extension that does not leak memory.
My success is despite uncertainty around the purpose of
jsUnLock() and when to use it. My understanding so far is:
- A locked JsVar will not be collected by the GC
jsvNew[Whatever]() functions return locked variables.
- Any JsVar that is not intentionally returned to user code should be
- Any JsVar that is returned (or child there of) should remain locked.
Have I misunderstood anything? Is there anything significant I am missing?
I have added a comment on that issue.
I am having a go at finding the cause but I can't promise to get results. I only set up an environment for compiling Espruino yesterday and I don't have much experience with C. I will be happy if I can give something back though.
I'm experiencing problems on the ESP32 when
Storage.compact() is called, either explicitly or as a result of calling a write method.
In the last hour I compiled Espruino from a clone of the source on Github and using the example code in this issue, I'm getting the same Stack Overflow problem there described.
Sometimes instead of a stack overflow, I see a guru meditation error:
Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled
In the project I'm trying to work on, I'm storing configuration in Storage and updating settings a second time causes a crash.