Snapdragon Development Environment Installation

This topic explains how to set up the Qualcomm Snapdragon Flight development toolchain on a Linux computer.

The firmware for the Qualcomm Snapdragon Flight must be built manually (Firmware is not supplied for automatic download via QGroundControl).

Set up Development Environment

To set up the development environment:

  1. Add your user to the dialout group:
    sudo usermod -a -G dialout $USER
  2. Log out and back in.
  3. Download the script and run it on your machine:
    cd ~
    wget ~
    sudo chmod +x

Cross-toolchain & Hexagon SDK

To install the Cross-Toolchain and Hexagon SDK:

  1. Start by installing some dependencies:

    sudo apt-get install android-tools-adb android-tools-fastboot \
            fakechroot fakeroot unzip xz-utils wget python python-empy -y
  2. Clone the cross_toolchain repo:

    git clone
    cd cross_toolchain
  3. Download the Hexagon SDK v3.0 from here to your cross_toolchain/downloads location (you will need to create an account if you don't have one).
  4. Download the latest version of the qrlSDK file from here to your cross_toolchain/downloads location (you need to create an account if you don't have one).
  5. Run the installer:
    ./ --APQ8074 --arm-gcc --qrlSDK
  6. The installer tells you to set a few environment variables. Append these to your ~/.bashrc:
    export HEXAGON_SDK_ROOT=/home/<YOUR_LINUX_USERNAME>/Qualcomm/Hexagon_SDK/3.0
    export HEXAGON_TOOLS_ROOT=/home/<YOUR_LINUX_USERNAME>/Qualcomm/HEXAGON_Tools/7.2.12/Tools
    export HEXAGON_ARM_SYSROOT=/home/<YOUR_LINUX_USERNAME>/Qualcomm/qrlinux_sysroot
    export ARM_CROSS_GCC_ROOT=/home/<YOUR_LINUX_USERNAME>/Qualcomm/ARM_Tools/gcc-4.9-2014.11
    Don't forget to source it:
    source ~/.bashrc
© PX4 Dev Team. License: CC BY 4.0            Updated: 2018-07-20 01:45:09

results matching ""

    No results matching ""