DragonBoard™ 410c is the first development board based on a Qualcomm® Snapdragon™ 400 series processor. It features advanced processing power, Wi-Fi, Bluetooth connectivity, and GPS, all packed into a board the size of a credit card. Based on the 64-bit capable Snapdragon 410E processor, the DragonBoard 410c is designed to support rapid software development, education and prototyping, and is compliant with the 96Boards Consumer Edition specification. All this makes it ideal for enabling embedded computing and Internet of Things (IoT) products, including the next generation of robotics, cameras, medical devices, vending machines, smart buildings, digital signage, casino gaming consoles, and much more.
In this tutorial, you will learn how to download and install all libraries to use the GPIO of the boards.
Download and install libsoc
:
$ git clone https://github.com/jackmitch/libsoc.git
$ cd libsoc
$ autoreconf -i
$ ./configure
$ make
$ sudo make install
Download and install 96BoardsGPIO
library:
$ git clone https://github.com/96boards/96BoardsGPIO.git
$ cd 96BoardsGPIO
$ ./configure
$ make
$ sudo make install
$ sudo ldconfig /usr/local/lib
Download and install mraa
library:
$ git clone https://github.com/intel-iot-devkit/mraa.git
$ mkdir -p mraa/build
$ cd mraa/build
$ cmake ..
$ make
$ sudo make install
$ sudo ldconfig /usr/local/lib
Download and install UPM / RESET the board:
$ sudo ln -s /usr/bin/swig3.0 /usr/bin/swig
$ git clone https://github.com/intel-iot-devkit/upm.git
$ mkdir -p upm/build
$ cd upm/build
$ cmake -DBUILDSWIGNODE=OFF ..
$ make
$ sudo make install
$ sudo ldconfig /usr/local/lib/libump-*
$ sudo reboot
Last of all, the test blink example found in examples folder in 96BoardsGPIO
library directory.
$ cd 96BoardsGPIO/examples
$ sudo python blink.py
Connect LED to pin 23 of the board!
Hope you enjoy!
Thanks.
Comments