Avatar for Peterino

Peterino

Member since Apr 2018 • Last active Feb 2019
  • 1 conversations
  • 5 comments

Most recent activity

    • 9 comments
    • 2,703 views
  • in Puck.js, Pixl.js and MDBT42
    Avatar for Peterino

    Thanks I got it working, The problem was the new GCC version. I guess for the first time in my life it WAS actually the compiler's fault.

  • Avatar for Peterino

    Hi Gordon,

    So here are my specific steps. I am on Ubuntu 18.04, using arm-gcc version gcc-arm-none-eabi-7-2017-q4-major.

    1. I cloned https://github.com/espruino/Espruino and ran

      source scripts/provision.sh PUCKJS
      
    2. then

      DFU_UPDATE_BUILD=1 RELEASE=1  BOARD=PUCKJS make
      
    3. This spat out an 'espruino_1v97.5_puckjs.zip' which i transferred to my phone and programmed according to the instructions using nrftoolbox app on my phone

    4. I reset the device by removing the battery then holding the button while reinserting it. I keep it held down while the light is green.

    However at this step the light turns red and stays a solid red instead of blinking all 3 leds then blinking red for a few times.

    Note that I have done this exact method with the .zip from http://www.espruino.com/binaries/travis/­master/
    and the whole process works as expected, it seems to fail with the .zip file I make myself. Even without any modifications to the code I took directly off github.

  • Avatar for Peterino

    Hi there thanks a lot I've been able to make quite a bit of progress in my project. I am not sure what is causing it but flashing my builds using the nrftool app results in the Puck to just display a solid red light upon resetting, and I am unable to see the device. I am building the device from source with the command

    DFU_UPDATE_BUILD=1 BOARD=PUCKJS RELEASE make

    I am not quite sure what this means and was wondering if I am building it right.

  • Avatar for Peterino

    Wow, thanks a lot this is great If you don't mind me asking what are the steps you recommend to add/remove features on the puck,

  • Avatar for Peterino

    Hi there, I see that AES and SHA1 functions aren't available on the Puck.js, I do see that the source code for the puckjs build says that it is built with the Crypto library. Is encryption either AES or Sha1 available on the puck.js?

Actions