From 297d5ced7543b252484c72ab072bf94e431971d4 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Thu, 14 Aug 2025 14:47:18 +0100 Subject: [PATCH] Use esp32_idf_V4.build_flags and esp32_idf_V4.lib_deps for all V4 builds --- platformio.ini | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/platformio.ini b/platformio.ini index 92f8f3d40..8f1e35096 100644 --- a/platformio.ini +++ b/platformio.ini @@ -306,10 +306,9 @@ build_flags = -g -DARDUINO_USB_MODE=0 ;; this flag is mandatory for ESP32-S2 ! ;; please make sure that the following flags are properly set (to 0 or 1) by your board.json, or included in your custom platformio_override.ini entry: ;; ARDUINO_USB_CDC_ON_BOOT - ${esp32_all_variants.build_flags} + ${esp32_idf_V4.build_flags} lib_deps = - ${esp32_all_variants.lib_deps} - ${env.lib_deps} + ${esp32_idf_V4.lib_deps} board_build.partitions = ${esp32.default_partitions} ;; default partioning for 4MB Flash - can be overridden in build envs [esp32c3] @@ -324,10 +323,9 @@ build_flags = -g -DARDUINO_USB_MODE=1 ;; this flag is mandatory for ESP32-C3 ;; please make sure that the following flags are properly set (to 0 or 1) by your board.json, or included in your custom platformio_override.ini entry: ;; ARDUINO_USB_CDC_ON_BOOT - ${esp32_all_variants.build_flags} + ${esp32_idf_V4.build_flags} lib_deps = - ${esp32_all_variants.lib_deps} - ${env.lib_deps} + ${esp32_idf_V4.lib_deps} board_build.partitions = ${esp32.default_partitions} ;; default partioning for 4MB Flash - can be overridden in build envs board_build.flash_mode = qio @@ -344,10 +342,9 @@ build_flags = -g -DCO ;; please make sure that the following flags are properly set (to 0 or 1) by your board.json, or included in your custom platformio_override.ini entry: ;; ARDUINO_USB_MODE, ARDUINO_USB_CDC_ON_BOOT - ${esp32_all_variants.build_flags} + ${esp32_idf_V4.build_flags} lib_deps = - ${esp32_all_variants.lib_deps} - ${env.lib_deps} + ${esp32_idf_V4.lib_deps} board_build.partitions = ${esp32.large_partitions} ;; default partioning for 8MB flash - can be overridden in build envs