diff --git a/sensor/platformio.ini b/sensor/platformio.ini index 301e005..8915d1e 100644 --- a/sensor/platformio.ini +++ b/sensor/platformio.ini @@ -26,13 +26,15 @@ build_flags= -DCORE_DEBUG_LEVEL=2 monitor_filters = esp32_exception_decoder +[esp32] +platform = espressif32@~6.3.2 [env:wemos_d1_mini32] -platform = espressif32 +platform = ${esp32.platform} board = wemos_d1_mini32 [env:remote_wemos_d1_mini32] -platform = espressif32 +platform = ${esp32.platform} board = wemos_d1_mini32 upload_protocol = espota upload_port = hottub-sensor @@ -47,7 +49,7 @@ upload_flags = ; platform = espressif8266 [env:t-rsc3] ; Lilygo T-RSC3 -platform = espressif32 +platform = ${esp32.platform} board = esp32-c3-devkitm-1 lib_deps = ${env.lib_deps} @@ -59,5 +61,5 @@ build_flags = -DtubUART=UART_NUM_1 [env:pico32] -platform = espressif32 +platform = ${esp32.platform} board = pico32