|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
Compatibility include wrapper for ESP-IDF headers when building with -Wpedantic in C++. More...
#include "esp_now.h"#include "esp_wifi.h"Go to the source code of this file.
Compatibility include wrapper for ESP-IDF headers when building with -Wpedantic in C++.
ESP-IDF is primarily a C codebase and some of its public headers legitimately use C extensions such as:
uint8_t payload[0])uint8_t ssi[])When those headers are included from C++ translation units with -Wpedantic, GCC emits warnings like:
Those warnings are not actionable from the application side without patching ESP-IDF. This wrapper locally suppresses -Wpedantic while including the affected headers, allowing us to keep -Wpedantic enabled for our code.