💾 Espruino 2v25 released!

Posted on
  • I've just pushed a new release of Espruino, 2v25.

    There have been a bunch of changes this time that you should really notice...

    • Jolt.js: Increased available storage from 40 to 400kb!
    • Bangle.js2: Hugely improved speed on GFX, input handling and filesystem. GPS improvements, and more reliable firmware updates from bootloader
    • Espruino: Many small bugfixes and optimisations, and better support for JS classes, add Serial.isConnected to check if Bluetooth/USB/etc connected
    • Packet Transfer Protocol: Documented here this protocol allows binary transfer of files to/from Espruino over the existing Serial/REPL connection (as well as evaluation of data). The IDE/App Loader isn't using this yet, but will be soon hopefully. This is working really well for faster, more reliable uploads.
    • Waveform: Play waveforms direct from storage and support for +/- pins to allow 2x loudness on speakers and no decoupling capacitor
    • Graphics: image alignment, fast paths for 1/2/4 bit images, .dump/.asBMP generate 16 bit images that Chrome can read, plus other misc fixes
    • STM32: E.getClock for getting clock info, fix for USB corruption when deep sleep is enabled, and other tweaks
    • Nordic: better BLE compatibility connecting to other devices (Bluefruit CCCD), added E.setComparator to easily allow the comparator to be used
    • Math.randInt (not in JS spec, but extremely useful for embedded)
    • Pin.getInfo() now returns 'output' and 'mode' values
    • ESP32: more accurate timers, and a .setIP/setAPIP function
    • ESP32C3: Some big improvements to make this build pretty usable now


    ... plus a bunch more. Check https://www.espruino.com/ChangeLog for full details.

  • After FW update no app updates possible on bangle.js2 using Gadgetbridge:

    I updated FW on my bangle js2, using the "Bangle.js Gadgetbridge" app (version 0.80.0a-banglejs) from the Google Playstore.
    This was successful. Then I updated DFU to 2v25 as well. The watch screen showed "Flashing DFU" (or something) and got stuck there.
    I rebooted the watch, which was possible.
    I can connect Gadgetbridge and the bangle watch.
    But I cannot update apps. Currently there are three apps available for update.
    But whenever I try to update the apps the watch seems to reboot instead loading the updates. (it shows the boot screen for a second, then it shows a clock, so i guess it rebooted). Then Gadgetbridge shows like "3 apps successfully updated", even though nothing was updated.
    I tried several things like "clean boot" and doing another fw update, but the problem remains.
    Gadgetbridge shows "update apps failed - invalid JSON"

  • I'm looking into this now - it looks like a bad App Loader update rather than firmware. Should be fixed in a few minutes

    edit: should be fixed now if you refresh the App Loader (in browser) or close and re-open it in Gadgetbridge.

  • Thanks, Gordon.
    I'm surprised, this was quite quick.
    It works now.

  • Thanks, Gordon !!!!!!!!!!

  • Thanks to your entire team !!!

  • thax great work!

  • As usual, huge amount of work released, big THANK YOU to @Gordon and other contributors!

  • Also a big thank you from my side. The amount of mileage I get out of this little smartwatch is incredible. @Gordon and all the other contributors, you rock!

  • Thanks! It's great to be able to see the work having a positive effect for so many people.

    And yes, a huge thank you to everyone in the community - not just for the code/app contributions, but for the testing, reporting issues, improving the docs and helping each other out. Espruino wouldn't be what it is without you!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

💾 Espruino 2v25 released!

Posted by Avatar for Gordon @Gordon

Actions