New Beta Firmware (1v89.35)

Posted on
  • Hi,

    It looks like the OS on my build PC is too old to be able to easily build Puck.js images, so until I fix it I'm just attaching one here... Just download it on to your phone and install it the same way you did with 1v89.

    Improvements are:

    • Fixes for Promise.all (passing in non-promises, pre-resolved, and ordering) (fix #976)
    • Fix arrow function bug when parsing multiple arguments
    • Allow Modules.addCached to take a function (makes module loading more memory efficient)
    • Re-add Espruino's old rand function (so no malloc, and ~1kB RAM, ~3kB ROM saved)
    • nRF5x: Ensure 'NRF.sleep' works even when connected
    • Fix bug when using >32 bit integers as array indices (fix #984)
    • Fix bug when parsing '.catch' while not executing (fix #989)
    • Stop PWM 'glitching' when moving from a nonzero value down to 0 (partial #991)
    • nRF5x: Add multi-channel hardware PWM (fix #991, fix #972)
    • 'dump()' now outputs code written with E.setBootCode as well (fix #999)
    • nRF5x: Remember advertising information even after softdevice reboot (fix #997)
    • nRF51: Remove heap placeholder on nRF51 as not needed since no malloc. Increase nRF51 var count (fix #985)
    • nRF5x: 'connect' event now contains address of device that has connected, and fix docs
    • nRF5x: Add a 'NRF.disconnect' function to disconnect a client that has connected to Puck.js

    So assuming this works well - which I think it will, I'll release a version 1v90 tomorrow.

    Let me know how it goes!


    1 Attachment

  • Nobody? I should add that you're not going to brick your device with this - worst case you have to enter bootloader mode again and re-flash 1v89.

    Instructions on flashing are here: http://www.espruino.com/Puck.js#firmware-updates

  • The downoad has a funky long numeric name but it works ok. Uploaded to puck using DFU.


    1 Attachment

    • 1v89.35.jpg
  • yep - works


    1 Attachment

    • IMG_6458.PNG
  • Working fine here, got a bluttooth BLE adapter today, to my pc, and get my chromium and espruino-server going. Updated the puck via my phone motorola.

    setWatch(function() {
      digitalPulse(LED2, 1, 200);
    },BTN1,{ repeat: true, edge:'rising', debounce:10});
    
    
    
    
    
    >reset()
    =undefined
     _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v89.35 Copyright 2016 G.Williams
    >
     _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v89.35 Copyright 2016 G.Williams
    >
    =undefined
    >save()
    =undefined
    Erasing Flash.....
    Writing....
    Compressed 32000 bytes to 1479
    Checking...
    Done!
    > 
    

    Disconnect the batteri, and reinsert it, and the program works.

  • Thanks! Let me know if there are any issues using it

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

New Beta Firmware (1v89.35)

Posted by Avatar for Gordon @Gordon

Actions