Espruino 1v88 released #117
Replies: 28 comments
-
Posted at 2016-11-10 by @gfwilliams Yes - the editor itself isn't expecting any ES6 functionality. That was updated on GitHub today (so wouldn't be in the version that you have to test with). Espruino itself should be fine though. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-10 by @gfwilliams @Jean-Philippe_Rey what code did you paste in? The character
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-10 by @gfwilliams It's because it got right to the end of Try Unfortunately the module gets minified, so what would have been a helpful variable name like |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-10 by @gfwilliams No problem - you had me panicked for a while ;) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-11 by @gfwilliams Ok, thanks for letting me know - I'd tested it quite recently, but obviously not with the release version! I'll see if I can get that sorted tonight. edit: That's a really odd bug- as you said, just tried here and my board worked great at first, even after a reset - but failed after a power off and on. It possibly explains why it passed the quick test I did before releasing. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-11 by @gfwilliams Ok, try again now. I've found the problem and updated the Original Espruino's image with the fix. Turns out it was to do with the Low Speed oscillator. The F1 behaves very slightly differently to the F4, and the startup code got stuck waiting for the RTC to initialise - unfortunately if you previously had a good firmware on the device then when you put the new one on everything will keep working until you power it off (as the RTC is already set up). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-12 by @gfwilliams
...even with the new firmware? and it was fine on the older firmware? I've tried on the 1v4 boards and they seem fine (crystal + capacitors). It's possible that without capacitors the oscillator ran for a bit and then stopped, and it's causing that function to get stuck somewhere else waiting for the RTC to respond. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-14 by @gfwilliams @hilo90mhz Thanks for that - looks like vagrant probably hasn't been used in a while (I think most people just build directly on Linux) @jlawson strange - there was another change in there that I can remove as well. I'll give it a try on some 1v3 boards here. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-14 by @gfwilliams Ok, I've just produced a new build (It'll be at http://www.espruino.com/binaries/git/commits/b4edf13c51c825ca8ed032d7e31dec7a2759a20f within the hour). Could you try that? I've just removed all the RTC code changes that were there for the F1, so all being well it should behave exactly the same as 1v87. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-14 by @gfwilliams Ahh - thanks for letting me know - looks like after the server move my build machine stopped uploading the builds. Hopefully it'll be fixed soon. There's a regression in 1v88 I found today that I'd like to get fixed, so I'll push out a proper 1v89 build soon anyway I think. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-06 by @gfwilliams Can you try one of the cutting edge builds? I think this was fixed on those - unfortunately too late for the 1v89 build though |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-06 by @gfwilliams Hmm - interesting - thanks... I'll take a look when I get a moment |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-10 by @gfwilliams
This one's a massive release - containing a whole raft of improvements that were originally developed for Puck.js - which will be going into production early next week!
You can check out a full list of improvements here but in summary - and with a bit more info:
ES6 additions
(Sadly none of the above made it to the micro:bit, as it's just too short on Flash/RAM at the moment. They're in the Original Espruino, Pico, Wifi, and Puck.js though)
Improvements
opendrain_pullup
(so no resistor is needed for short runs on OneWire now)E.lockConsole()
for use withE.setPassword()
save()
anddump()
now keep track of whether pin mode had been forced or notfs.readFile
(andFile.read
) now use Flat Strings to allow more memory efficient readsnew Bob() => "Bob {}"
process.on(
uncaughtException, ...)
to catch exceptions along with the exact place in code that they happenedFixes
E.dumpLockedVars()
in non-release builds to help debug memory leaks in librariesSo loads of stuff... Sadly I had to remove the VGA/TV output from the Original Espruino to make room for it. It's still in Pico/WiFi boards though - let me know if you were using it on the Original board and I'll see what I can do to get it back in (however I don't think it has ever been used!).
There'll also be a new Web IDE release coming soon too.
Beta Was this translation helpful? Give feedback.
All reactions