Most recent activity
-
Hi @Salariz,
I don't feel particularly able to answer your question but below are a set of links I have collected over the last few years. I thought it may help if I share. The first link should answer your question and the rest are links to things I wish I had found sooner when I started tinkering inside Espruino.
Gary
Compiling:
https://github.com/espruino/Espruino/blob/master/README_Building.mdExtending:
http://www.espruino.com/Extending+Espruino+1
http://www.espruino.com/Extending+Espruino+2JSON Extension Format:
https://github.com/espruino/Espruino/blob/master/scripts/common.py#L52Espruino Internals:
http://forum.espruino.com/conversations/357006/#comment15666995
http://forum.espruino.com/conversations/302250/
http://www.espruino.com/InternalsESP-IDF
https://docs.espressif.com/projects/esp-idf/en/release-v3.3/api-reference/index.html -
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.
-
-
In addition to the links provided by JumJum, I have found the following to be exceptionally useful while building custom extensions for Espruino on the ESP32.
Compiling:
https://github.com/espruino/Espruino/blob/master/README_Building.mdJSON Extension Format:
https://github.com/espruino/Espruino/blob/master/scripts/common.py#L52Espruino Internals:
http://forum.espruino.com/conversations/357006/#comment15666995
http://forum.espruino.com/conversations/302250/
http://www.espruino.com/Internals -
-
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
- All
jsvNew[Whatever]()
functions return locked variables. - Any JsVar that is not intentionally returned to user code should be
unlocked. - Any JsVar that is returned (or child there of) should remain locked.
Have I misunderstood anything? Is there anything significant I am missing?
- A locked JsVar will not be collected by the GC
-
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.