Waiting for espruinos, I decoded to start first test on STM32F4Discovery.
I had to spend some time get it running, as usualthe problem was in front of the keyboard.
Anyway, these times are gone.
First start was done with Chrome based IDE. A simple blinking started soon, perfect.
Problem I found was the CPU load.
Connecting to the COM-Port eats CPU like crazy.
Usually Chrome takes 40%, on my AMD quad core with windows 64 and 8GB.
Therefore a search started to compare against a simple terminal:
Putty and others refused to connect to COM port, at the end I got Tera Term running.
BTW, it does not take any remarkable power, so chrome does something strange.
Next step was to write some short snippets.
At that time I missed the IDE, so why not write my own ?
Codemirror is a beautiful starting point, and together with some additional lines, a very, very, very first editor was born. http://www.jumware.com/espruino/espruino.html. Testing ran on FireFox only.
Added are options to
There are some COM-Plugins in the big wide world for Firefox, but I did not get any of them running. Copy & Paste was my solution to this problem. Hopefully the WebSerial API group, mentioned by Florian Bender will be succesful soon.
Anyway, I would like to add some more functions to the editor. One is to give some help to select a board and get informations to choose available pins.
There is a lot of information available in Espruino GitHub. My problem is 1st to understand and 2nd to download, since this would be a cross-Domain call. Easy solution (at least for me) would be a JSON file.
As soon as I get more devices running more snippets will be added.
© Espruino, powered by microcosm.
Report a problem