Intel Edison MRAA module not working

前端 未结 5 848
独厮守ぢ
独厮守ぢ 2021-01-18 08:04

I recently downloaded the Intel XDK IOT version and used the LED pin 13 Blink sample. I then uploaded the program onto the Edison, but it came up with a few errors; One of

相关标签:
5条回答
  • 2021-01-18 08:38

    echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf opkg update opkg install libmraa0

    SRC https://github.com/intel-iot-devkit/mraa

    0 讨论(0)
  • 2021-01-18 08:40

    Depending on what version of the Edison firmware you have, the mraa modules for Node.js may not be installed properly. To install the latest version of mraa connect your Edison to the internet (via wifi) and run the following commands via ssh or the serial terminal

    echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf
    okpg update
    opkg upgrade
    
    0 讨论(0)
  • 2021-01-18 08:45

    You can also grab the latest version from npm (it'll use a pre-generated SWIG wrapper from git master HEAD and build it on your board).

    npm install mraa

    here's more details on how this works here - http://iotdk.intel.com/docs/master/mraa/npmpkg.html

    0 讨论(0)
  • 2021-01-18 08:50

    In the XDK IDE, there's a dropdown settings control just above the serial / terminal area on the right. If you drop down this list, it has options to update all of the libraries and node daemon. This is an easier way to make sure MRAA and all the other deps on the board are up to date and configured properly.

    0 讨论(0)
  • 2021-01-18 08:52

    echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf opkg update opkg install libmraa0

    the above answer has typos it should be "mraa" not "maa" and opkg not okpg

    0 讨论(0)
提交回复
热议问题