Espruino - Where to find default implementations? #5751
Replies: 1 comment
-
Posted at 2017-05-13 by AntiCat The contents of each build is defined in a python based configurations:
Posted at 2017-05-13 by AntiCat The Graphics implementation is native C-Code. It should be in in this area: https://github.com/espruino/Espruino/blob/master/libs/graphics/jswrap_graphics.c Posted at 2017-05-13 by @gfwilliams If you find what you want in the Reference: http://www.espruino.com/Reference Then just to the right of the title there's a Note that if something isn't in a build, it's probably not in there for a reason. Specifically Graphics isn't in the ESP8266 build because of RAM constraints (ESP8266 tends to use RAM for stuff that would have fitted in Flash on most other devices) - so you may find it nontrivial to add. Posted at 2017-05-15 by iwae Great. Thank you for answering my questions. Know i can find everything i need :) After i realise that the pico with an esp connected is not suitable for my idea, i bought a Wemos D1 mini pro with an mini sd shield. I like espruino so i flashed the firmware (esp8266_4MB) to it. Wemos D1 mini pro seems to have a flash of 16MB. After some reading in github i saw (but i didn't understand the reason), that i can't use the sd shield with espruino. Posted at 2017-05-16 by @allObjects Memory constraints come in two ways: flash (ROM) and RAM. RAM is the tougher constraint to overcome, but patterns to do it are not new: load code from ROM only for execution and discard it afterwards to create free space for the next one. Absolute speed of course suffers and most cases things can be 'serialized' (queued/dequeued). Posted at 2017-05-22 by @gfwilliams Out of interest, why did you think the Pico + ESP8266 wasn't suitable? It would have had FAT and Graphics built-in. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-05-13 by iwae
Hi.
I have some questions about the included implementations of different firmwares.
Can someone send me the right place to look for?
Beta Was this translation helpful? Give feedback.
All reactions