Support for running RIOT natively on a 32-bit host platform.
Support for running RIOT natively on a 32-bit host platform.
The RIOT native boards use system calls and signals to emulate hardware at the API level. That means that you can compile the complete RIOT software stack for your *NIX system and run it as a process.
BOARD=native32
as one of two possible native variants will compile to and execute a 32-bit executable. For 64-bit systems, it is recommended to use Native64 Board instead. BOARD=native
will automatically select the right variant depending on the host platform. For more information on the native boards please refer to Common Native Board.
You will need cross-compiling support for 32-bit executables if you are on a 64-bit host platform. On Debian/Ubuntu you can install the required libraries with
g++-multilib
is only needed for C++ support. libasan5
is needed for unittest execution of 32 bit binaries.