See https://github.com/RIOT-OS/RIOT for more information.
All samples applications here have been tested with the following setup:
- Developpement computer running Ubuntu 15.10, Wily Werewolf, 64bits
- Tested boards:
- AVR MCU Family:
- ARM MCU Family:
There are a few package that needs to be installed on the Ubuntu developpement system.
- Common packages
sudo apt install build-essential g++-multilib screen
- AVR MCU Family
sudo apt install gcc-avr avr-libc binutils-avr
- ARM MCU Family
sudo apt install gcc-arm-none-eabi openocd binutils-arm-linux-gnueabi
- MSP430 MCU Family (but not tested yet)
sudo apt install gcc-msp430 msp430-libc binutils-msp430
More information is available on the RIOT documentation : https://github.com/RIOT-OS/RIOT/wiki/Introduction#compiling-riot
Here we suppose all is code is located in ~/work
.
- Clone RIOT code (or your fork)
7$ cd ~/work
$ git clone git@github.com:RIOT-OS/RIOT.git
- Clone this repository (or your fork)
$ cd ~/work
$ git clone git@github.com:aabadie/riot-apps.git
This repository contains 2 self-documented sample applications:
- The usual "Hello World" shows how to use the build system and display terminal
- "Serial to serial" is a little more complex example showing how to forward messages from one UART interface to another UART interface. This example uses IPC and IRQ concepts of RIOT