velxio/backend/app/services/esp-idf-template/main
David Montero Crespo 30a61c7807 fix(compile): stop -Werror rejecting vendor example code
Two of M5Stack's own published Cardputer examples fail to build here and
compile fine in the Arduino IDE: SSHClient passes an int to a %lu, and
mic_wav_record has a local GCC thinks may be used uninitialized. ESP-IDF
promotes both categories to errors, which is right for IDF itself and wrong
for a sketch a user pasted from the vendor's repository — the emulator looks
broken for code that is not.

format and maybe-uninitialized join the existing relaxation list, which
already carries comment, parentheses, sign-compare and the rest for exactly
this reason. They stay warnings, so the diagnostic is still printed; -Wall is
untouched.
2026-08-12 06:30:09 +02:00
..
CMakeLists.txt fix(compile): stop -Werror rejecting vendor example code 2026-08-12 06:30:09 +02:00
main.c feat: add ESP32 WiFi/BLE emulation with ESP-IDF compilation pipeline 2026-03-31 20:53:56 -03:00
main.cpp fix(espidf): drop textual #include "sketch.ino.cpp" in main wrapper 2026-05-23 17:41:21 +02:00
velxio_compat.h fix(esp32/ledc): translate ledcWrite(pin,duty) → ledcWrite(channel,duty) 2026-05-22 16:14:55 +02:00