[platformio] Add environments for ESP-IDF 5.3 for development (#7371)

This commit is contained in:
Clyde Stubbs 2024-08-29 10:55:37 +10:00 committed by GitHub
parent 0375072bdf
commit 1922f2bbee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,6 +153,13 @@ build_flags =
-DUSE_ESP32_FRAMEWORK_ESP_IDF -DUSE_ESP32_FRAMEWORK_ESP_IDF
extra_scripts = post:esphome/components/esp32/post_build.py.script extra_scripts = post:esphome/components/esp32/post_build.py.script
; This are common settings for the ESP32 using the latest ESP-IDF version.
[common:esp32-idf-5_3]
extends = common:esp32-idf
platform = platformio/espressif32@6.8.0
platform_packages =
platformio/framework-espidf@~3.50300.0
; These are common settings for the RP2040 using Arduino. ; These are common settings for the RP2040 using Arduino.
[common:rp2040-arduino] [common:rp2040-arduino]
extends = common:arduino extends = common:arduino
@ -229,6 +236,15 @@ build_flags =
${flags:runtime.build_flags} ${flags:runtime.build_flags}
-DUSE_ESP32_VARIANT_ESP32 -DUSE_ESP32_VARIANT_ESP32
[env:esp32-idf-5_3]
extends = common:esp32-idf-5_3
board = esp32dev
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32-idf
build_flags =
${common:esp32-idf.build_flags}
${flags:runtime.build_flags}
-DUSE_ESP32_VARIANT_ESP32
[env:esp32-idf-tidy] [env:esp32-idf-tidy]
extends = common:esp32-idf extends = common:esp32-idf
board = esp32dev board = esp32dev
@ -265,6 +281,15 @@ build_flags =
${flags:runtime.build_flags} ${flags:runtime.build_flags}
-DUSE_ESP32_VARIANT_ESP32C3 -DUSE_ESP32_VARIANT_ESP32C3
[env:esp32c3-idf-5_3]
extends = common:esp32-idf-5_3
board = esp32-c3-devkitm-1
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32c3-idf
build_flags =
${common:esp32-idf.build_flags}
${flags:runtime.build_flags}
-DUSE_ESP32_VARIANT_ESP32C3
[env:esp32c3-idf-tidy] [env:esp32c3-idf-tidy]
extends = common:esp32-idf extends = common:esp32-idf
board = esp32-c3-devkitm-1 board = esp32-c3-devkitm-1
@ -301,6 +326,15 @@ build_flags =
${flags:runtime.build_flags} ${flags:runtime.build_flags}
-DUSE_ESP32_VARIANT_ESP32S2 -DUSE_ESP32_VARIANT_ESP32S2
[env:esp32s2-idf-5_3]
extends = common:esp32-idf-5_3
board = esp32-s2-kaluga-1
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32s2-idf
build_flags =
${common:esp32-idf.build_flags}
${flags:runtime.build_flags}
-DUSE_ESP32_VARIANT_ESP32S2
[env:esp32s2-idf-tidy] [env:esp32s2-idf-tidy]
extends = common:esp32-idf extends = common:esp32-idf
board = esp32-s2-kaluga-1 board = esp32-s2-kaluga-1
@ -337,6 +371,15 @@ build_flags =
${flags:runtime.build_flags} ${flags:runtime.build_flags}
-DUSE_ESP32_VARIANT_ESP32S3 -DUSE_ESP32_VARIANT_ESP32S3
[env:esp32s3-idf-5_3]
extends = common:esp32-idf-5_3
board = esp32-s3-devkitc-1
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32s3-idf
build_flags =
${common:esp32-idf.build_flags}
${flags:runtime.build_flags}
-DUSE_ESP32_VARIANT_ESP32S3
[env:esp32s3-idf-tidy] [env:esp32s3-idf-tidy]
extends = common:esp32-idf extends = common:esp32-idf
board = esp32-s3-devkitc-1 board = esp32-s3-devkitc-1