mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[platformio] Add environments for ESP-IDF 5.3 for development (#7371)
This commit is contained in:
		| @@ -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/espressif32@6.8.0 | ||||
| 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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user