Introduction: Qualcomm DragonBoard - Configure GPIO

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.

Step 1: Install Libsoc

Step 2: Install 96BoardsGPIO

Step 3: Install Mraa

Step 4: Install UPM and 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-*

Reset the system

  • $ sudo reboot

Step 5: Blink LED

  • $ cd 96BoardsGPIO/examples
  • $ sudo python blink.py

If all goes well LED connected to pin 23 of the board will blink after run the code.

Comments

author
Swansong (author)2016-12-15

Thanks for sharing :)