forked from esphome/esphome
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[platformio] Add environments for ESP-IDF 5.3 for development (esphom…
- Loading branch information
1 parent
0375072
commit 1922f2b
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,6 +153,13 @@ build_flags = | |
-DUSE_ESP32_FRAMEWORK_ESP_IDF | ||
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/[email protected] | ||
platform_packages = | ||
platformio/framework-espidf@~3.50300.0 | ||
|
||
; These are common settings for the RP2040 using Arduino. | ||
[common:rp2040-arduino] | ||
extends = common:arduino | ||
|
@@ -229,6 +236,15 @@ build_flags = | |
${flags:runtime.build_flags} | ||
-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] | ||
extends = common:esp32-idf | ||
board = esp32dev | ||
|
@@ -265,6 +281,15 @@ build_flags = | |
${flags:runtime.build_flags} | ||
-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] | ||
extends = common:esp32-idf | ||
board = esp32-c3-devkitm-1 | ||
|
@@ -301,6 +326,15 @@ build_flags = | |
${flags:runtime.build_flags} | ||
-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] | ||
extends = common:esp32-idf | ||
board = esp32-s2-kaluga-1 | ||
|
@@ -337,6 +371,15 @@ build_flags = | |
${flags:runtime.build_flags} | ||
-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] | ||
extends = common:esp32-idf | ||
board = esp32-s3-devkitc-1 | ||
|