Difference between revisions of "LoRaWAN / Riot-OS Setup"
Jump to navigation
Jump to search
(→Step 2) |
|||
Line 40: | Line 40: | ||
Add the toolchain to your path | Add the toolchain to your path | ||
export PATH=$PATH:/home/(your user)/gcc-arm-none-eabi-7-2018-q2-update/bin/ | export PATH=$PATH:/home/(your user)/gcc-arm-none-eabi-7-2018-q2-update/bin/ | ||
=== Step 3 === | |||
Download Riot-OS and run Hello World on native | |||
git clone https://github.com/RIOT-OS/RIOT.git myRIOT | |||
== Used Hardware == | == Used Hardware == |
Revision as of 10:14, 16 October 2019
Summary
Setting up a LoRaWAN application with Riot-OS on a STM32 LoRa and Sigfox Discovery Kit
Requirements
- Operating system: Ubuntu 18.04 bionic amd64
- Packages: git
Description
Step 1
Install the following packages
sudo apt-get update sudo apt-get install git openocd gcc-multilib build-essential python-serial libudev-dev
Step 2
Install the toolchain
Goto https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm and download
gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
Move it to your home directory.
Uninstall old packages
sudo apt remove binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi
Unzip the downloaded file
tar -xjvf gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
Add the toolchain to your path
export PATH=$PATH:/home/(your user)/gcc-arm-none-eabi-7-2018-q2-update/bin/
Step 3
Download Riot-OS and run Hello World on native
git clone https://github.com/RIOT-OS/RIOT.git myRIOT
Used Hardware
STM32 LoRa and Sigfox Discovery kit Maybe another device to be used with this documentation
Courses
- A course where this documentation was used (2017, 2018)
- Another one (2018)