From e4e883f8f58d361286450b844b180cbc84b1bf0f Mon Sep 17 00:00:00 2001 From: Ton Huisman Date: Sun, 23 Oct 2022 00:11:42 +0200 Subject: [PATCH] [Boards] Move IDF version to platform_core-defs.ini --- boards/esp32c3.json | 2 +- boards/esp32s2.json | 2 +- platformio_core_defs.ini | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/boards/esp32c3.json b/boards/esp32c3.json index c7e1e8816..0590b83bd 100644 --- a/boards/esp32c3.json +++ b/boards/esp32c3.json @@ -5,7 +5,7 @@ "memory_type": "dio_qspi" }, "core": "esp32", - "extra_flags": "-DARDUINO_USB_CDC_ON_BOOT=0 -DESP32_4M -DESP32C3 -DESP_IDF_VERSION_MAJOR=4 -DCONFIG_IDF_TARGET_ESP32C3=1", + "extra_flags": "-DARDUINO_USB_CDC_ON_BOOT=0 -DESP32_4M -DESP32C3 -DCONFIG_IDF_TARGET_ESP32C3=1", "f_cpu": "160000000L", "f_flash": "80000000L", "flash_mode": "dio", diff --git a/boards/esp32s2.json b/boards/esp32s2.json index 3d2f5f84d..6e1e8112d 100644 --- a/boards/esp32s2.json +++ b/boards/esp32s2.json @@ -5,7 +5,7 @@ "memory_type": "dio_qspi" }, "core": "esp32", - "extra_flags": "-DBOARD_HAS_PSRAM -DESP32_4M -DESP32S2 -DESP_IDF_VERSION_MAJOR=4 -DCONFIG_IDF_TARGET_ESP32S2=1", + "extra_flags": "-DBOARD_HAS_PSRAM -DESP32_4M -DESP32S2 -DCONFIG_IDF_TARGET_ESP32S2=1", "f_cpu": "240000000L", "f_flash": "80000000L", "flash_mode": "dio", diff --git a/platformio_core_defs.ini b/platformio_core_defs.ini index 5de7bdca7..25a5d30ee 100644 --- a/platformio_core_defs.ini +++ b/platformio_core_defs.ini @@ -234,6 +234,7 @@ platform = https://github.com/Jason2866/platform-espressif32. platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/938/framework-arduinoespressif32-443_esp421-10ab11e815.tar.gz build_flags = -DESP32_STAGE + -DESP_IDF_VERSION_MAJOR=4 -DMUSTFIX_CLIENT_TIMEOUT_IN_SECONDS -DLIBRARIES_NO_LOG=1 -I$PROJECT_DIR/src/include @@ -244,6 +245,7 @@ build_flags = -DESP32_STAGE platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.4.1/platform-espressif32-2.0.4.1.zip platform_packages = build_flags = -DESP32_STAGE + -DESP_IDF_VERSION_MAJOR=4 -DMUSTFIX_CLIENT_TIMEOUT_IN_SECONDS -DLIBRARIES_NO_LOG=1 -I$PROJECT_DIR/src/include