Questions tagged [riot-os]

What is RIOT OS?

RIOT OS is an open source operating system for the Internet of Things. Designed for resource constrained devices.

It was initially developed by Freie Universität Berlin (FU Berlin), Institut national de recherche en informatique et en automatique (INRIA) and the Hochschule für Angewandte Wissenschaften Hamburg (HAW Hamburg). [2]

Supported standards

  • 6LoWPAN, RFC6282 and RFC6775 [1], RFC 4944 [3]
  • IPv6 over BLE: RFC7668 [4]
  • RPL: RFC6550 [1], RFC6997 [5], RFC6554 [6]
  • Point to Point protocol: RFC 1661 [7]
  • DHCPv6: RFC8415 [8]
  • IPv6 neighbor discovery: RFC4861 [9]
  • UDP [10], TCP [11], ZEP [12], DTLS [13]
  • CoRE LD: draft-ietf-core-resource-directory-23 [14]
  • CoAP, CBOR, MQTT-SN, and UBJSON [1]
  • UUID: RFC4122 [15]

Supported microcontroller

  • nRF52: NRF52805, NRF52810, NRF52811, NRF52820, NRF52832, NRF52833 and NRF52840 [16]
  • ATmega128 [17], ATmega2560 [18]
  • ESP32 [19], ESP8266 [20]
  • MIPS PIC32: PIC32mx [21], PIC32mz [22]
  • ATSAML, ATSAMR: ATSAML21, ATSAMR30, ATSAMR34 [23]
  • STM32: STM32F0, STM32F1, STM32F2, STM32F3, STM32F4, STM32F7, STM32G0, STM32G4, STM32L0, STM32L4, STM32WB [24]
  • and more...

Sensors and Actuators

RIOT has an API to abstract access to sensors and actuators. It supports a variety of different devices.

14 questions
3
votes
0 answers

RIOT OS Gpio Example

I have to work with RIOT OS and currently I'm testing out how everything works (or not work). Info: RIOT OS is a IOT OS which run on mircocontrollers and arms. I develop under Debian with Eclispe, the develop environment was setup after the GitHub…
RisuRyu
  • 134
  • 7
3
votes
0 answers

Building RIOT-OS hello-world example fails on QEMU emulated ARM board

I am trying to build a the simple built in hello-world example of the RIOT-OS on an emulated msba2 board, emulated by QEMU (Linux host). https://github.com/RIOT-OS/RIOT https://github.com/RIOT-OS/RIOT/wiki/Board%3A-MSBA2 I've created a linux kernel…
Lexandro
  • 57
  • 6
2
votes
2 answers

cmake for embedded: remove Linux POSIX headers

So, I am developing an embedded library for RIOT OS. Since my library is using Cmake, but RIOT uses a simple Makefile, I just compile a static library and link this later to RIOT while compile time. So I compile the library: I pass all the include…
Citrullin
  • 2,269
  • 14
  • 29
1
vote
1 answer

Does RIOT support ethernet physical layer?

Setup: Connect stm32f407vet6 and LAN8720, connect to ethernet Code is here: https://github.com/RIOT-OS/RIOT/tree/master/examples/emcute_mqttsn cd RIOT/examples/emcute_mqttsn make BOARD=stm32f4discovery all flash term With ifconfig , ethernet…
King2016
  • 21
  • 5
1
vote
1 answer

Building riot/helloworld with Docker

This is my setup: docker pull riot/riotbuild wget https://github.com/RIOT-OS/RIOT/archive/2019.04.zip unzip 2019.04.zip cd RIOT-2019.04/examples/hello-world/ make BUILD_IN_DOCKER=1 BOARD=stm32f4discovery all All of this is OK. make…
King2016
  • 21
  • 5
0
votes
0 answers

Using customized Random number in keypair generation in uECC_make_key method in micro-ecc - Riot OS

I am trying to implement an elliptic curve scheme in micro_ecc, wherein the secret key is the addition of two random numbers and the public key is derived from the secret key as follows priv_key = (a+b) public_key = (a+b)G. I have checked the code…
Aisha
  • 127
  • 10
0
votes
1 answer

[zephyr-rtos][riot-os] Zephyr vs. RIOT OS

Hello everyone, I'm Luiz Villa a researcher on software defined power electronics at the University of Toulouse. My team is working on trying to embed an RTOS onto a micro-controller in order to create a more friendly development process of…
0
votes
0 answers

Riot client using sock_udp causes segmentation fault

I am trying to build a server - client in RIOT OS using c and sockets for their commnunication. They need to be able to exchnage messages. the client first needs to be configured to be able to read the values from the hardware and then send them to…
Eleftheria P
  • 41
  • 1
  • 5
0
votes
1 answer

How to use the iot lab platform and how to choose the right nodes

I want to create an Iot-project where I am gonna have to create a watering system. I am going to use Riot-OS on an ESP32 or ESP8266 that will interact with a water pump, n-mosfet, power supply and a humidity sensor. At the same time I will have a…
user10865112
0
votes
1 answer

Can't enable GCLK Generators for samr30-xplained (using RIOT OS)

In simple terms: I am trying to setup a timer/counter clocked by an external source. The device is SAMR30-Xplained Pro and RIOT is the OS. In a bit more detail: I am trying to get a gclk generator (e.g 6) to connect to a timer/counter (e.g…
0
votes
1 answer

CMAKE Build failed using arm-none-eabi-gcc compiler... "netinet/in.h: No such file or directory" & "-- Check if compiler accepts -pthread - no"

I am trying to port the Zenoh Protocol to RIOT-OS. I got it working using RIOT's native emulator, but failed to compile the code for a Board. The problem lies when I am building the git repo's using CMAKE. When I compile it using the gcc and g++…
Brent
  • 1
  • 1
0
votes
4 answers

RIOT OS - "stdout" for embedded platforms

I'm trying out RIOT OS for the first time. After downloading source, I can build applications pretty easily, including targets that need the ARM toolchain. The hello-world application runs fine on my Linux build machine (built using BOARD=native)…
bjornruffians
  • 671
  • 5
  • 16
0
votes
1 answer

Is there a way to add new language support (e.g. D) for RIOT OS?

D can access the C/C++ runtime libraries on a target environment and it also allows C programs to access its functions in a similar fashion. [1] Is there a way to integrate the capability of using D programs on RIOT, as in binaries compiled by the D…
saishme
  • 51
  • 1
  • 1
  • 7
0
votes
1 answer

Warning: cast from pointer from/to integer of different size on RIOT OS

I tried to compile this program with gcc 4.8.4, then this program will be uploaded to the board MSP430. And I get the warning /home/doni/RIOT-tcp/examples/gnrc_tcp_srv/main.c:117:19: error: cast from pointer to integer of different size…