; PlatformIO Project Configuration File ; https://docs.platformio.org/page/projectconf.html [common] platform = espressif32 board = esp32dev framework = arduino monitor_speed = 115200 board_build.filesystem = littlefs lib_deps = bblanchon/ArduinoJson @ ^7.0.0 https://github.com/me-no-dev/AsyncTCP.git https://github.com/me-no-dev/ESPAsyncWebServer.git ayushsharma82/ElegantOTA @ ^3.1.0 emelianov/modbus-esp8266 @ ^4.1.0 knolleary/PubSubClient @ ^2.8 ; --- Cible physique KC868-A2 --- [env:kc868_a2] extends = common build_flags = -D ELEGANTOTA_USE_ASYNC_WEBSERVER=1 lib_deps = ${common.lib_deps} https://github.com/ciniml/WireGuard-ESP32-Arduino.git knolleary/PubSubClient @ ^2.8 ; --- Build QEMU : WiFi/sleep désactivés, Modbus + règles actifs --- ; Compiler : pio run -e qemu ; Copier : cp .pio/build/qemu/firmware.bin emulator/firmware/ [env:qemu] extends = common build_flags = -D ELEGANTOTA_USE_ASYNC_WEBSERVER=1 -D QEMU_BUILD=1