An SDC IEEE 11073 implementation for microarchitectures.
MicroSDC targets the ESP32 using the official development framework ESP-IDF.
- C++17 compiler support (C++ compiler support)
- CMake (>= 3.10)
- asio (>=1.12.2) (Asio C++ Library)
using the reference implementation for esp32 targets:
cmake -H. -Bbuild -G Ninja
cmake --build build
The examples are built by default.
./build/examples/SimpleDevice/SimpleDevice
For further documentation consult the doxygen generated pages as well as the example at examples/esp32/main/main.cpp.
To build the doxygen based documentation Doxygen is required.
cmake --build build -t Documentation
The reference example is found at examples/esp32/. As ESP-IDF uses it's own CMake based build chain, MicroSDC is embedded as a single component.
To setup ESP-IDF follow the installation steps at Get Started.
The MicroSDC project example can be configured with:
cd examples/esp32/
idf.py menuconfig
Network is configured in menuconfig --> Network Configuration
.
After setup and configuration the image is built with:
idf.py build
and flashed via:
idf.py flash monitor