Skip to content

Supported Defines and Build Instructions

Phil Schatzmann edited this page Oct 3, 2025 · 5 revisions

Supported Defines

You can activate/deactivate some functionality with the help of the following defines:

  • USE_RPI: activates support for Rasperry PI
  • USE_REMOTE: activates support for GPIO/SPI/I2C using UDP or Stream
  • USE_HTTPS: provide https support using wolfSSL
  • SKIP_HARDWARE_SETUP: deactivate all GPIO/SPI/I2C implementations
  • SKIP_HARDWARE_WIFI: deactivate WiFi

Build instructions

Execute the following commends in the root of the Arduino-Emulator:

git clone --recurse-submodules https://github.com/pschatzmann/Arduino-Emulator
cd Arduino-Emulator
mkdir build
cd build
cmake -DUSE_RPI=OFF -DUSE_HTTPS=OFF -DCMAKE_BUILD_TYPE=Debug ..
make

Adjust the cmake parameters dependent on your requirements.

Clone this wiki locally