From 6c034006ab36538c69a864e3cb26405b76d2ff43 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Fri, 6 Sep 2024 19:20:06 +0100 Subject: [PATCH] Set platform version --- sensor/platformio.ini | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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