Skip to content

Supported Defines and Build Instructions

Phil Schatzmann edited this page Oct 4, 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_FTDI: activate FTDI support for the FT2232HL (experimental)
  • 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

Installation & Build instructions

Execute the following commends in the root where you want to have the project installed:

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