RIOT/examples/riot_and_cpp
Marian Buschsieweke 90177889b7
treewide: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-09-07 12:59:55 +02:00
..
2019-11-23 22:39:39 +01:00
2019-11-23 22:39:39 +01:00
2014-06-25 16:37:05 +07:00

Using C++ and C in a program with RIOT

This project demonstrates how user can use both C++ and C in their application with RIOT.

Makefile Options

  • CXXEXFLAGS : user's extra flags used to build c++ files should be defined here (e.g -std=gnu++11).