diff --git a/.github/workflows/build_idf_examples_matrix.yml b/.github/workflows/build_idf_examples_matrix.yml index 6eb4cf86..894076f9 100644 --- a/.github/workflows/build_idf_examples_matrix.yml +++ b/.github/workflows/build_idf_examples_matrix.yml @@ -1,4 +1,4 @@ -name: Build df examples +name: Build idf examples on: push: @@ -11,7 +11,12 @@ jobs: strategy: matrix: version: - - esp32idf + - esp32_idf_V4_4_0 + - esp32_idf_V5_0_0 + - esp32_idf_V5_1_0 + - esp32c3_idf_V5_0_0 + - esp32s2_idf_V5_0_0 + - esp32s3_idf_V5_0_0 runs-on: ubuntu-latest diff --git a/extras/ci/platformio.ini b/extras/ci/platformio.ini index b361c7a8..d783a492 100644 --- a/extras/ci/platformio.ini +++ b/extras/ci/platformio.ini @@ -317,7 +317,31 @@ build_flags = -Wall board_build.f_cpu = 240000000L lib_extra_dirs = ../../.. -[env:esp32idf] +[env:esp32_idf_V5_2_0] +platform = espressif32 @ 5.2.0 +board = esp32dev +framework = espidf +build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-unused-function -Wno-error=attributes +board_build.f_cpu = 240000000L +lib_extra_dirs = ../../.. + +[env:esp32_idf_V5_1_0] +platform = espressif32 @ 5.1.0 +board = esp32dev +framework = espidf +build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-unused-function -Wno-error=attributes +board_build.f_cpu = 240000000L +lib_extra_dirs = ../../.. + +[env:esp32_idf_V5_0_0] +platform = espressif32 @ 5.0.0 +board = esp32dev +framework = espidf +build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-unused-function -Wno-error=attributes +board_build.f_cpu = 240000000L +lib_extra_dirs = ../../.. + +[env:esp32_idf_V4_4_0] platform = espressif32 @ 4.4.0 board = esp32dev framework = espidf @@ -325,33 +349,57 @@ build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible board_build.f_cpu = 240000000L lib_extra_dirs = ../../.. -[env:esp32s2] -board = esp32-s2-saola-1 -framework = arduino -platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.04.02/platform-espressif32.zip -#platform = https://github.com/tasmota/platform-espressif32/releases/download/v.2.0.3/platform-espressif32-v.2.0.3.zip -build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types +[env:esp32c3_idf_V5_0_0] +platform = espressif32 @ 5.0.0 +board = esp32-c3-devkitm-1 +framework = espidf +build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-unused-function -Wno-error=attributes board_build.f_cpu = 240000000L lib_extra_dirs = ../../.. -[env:esp32s3] -board = esp32-s3-devkitc-1 -framework = arduino -platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.02.00/platform-espressif32.zip -build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-error=unused-variable +[env:esp32s2_idf_V5_0_0] +platform = espressif32 @ 5.0.0 +board = esp32-s2-saola-1 +framework = espidf +build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-unused-function -Wno-error=attributes board_build.f_cpu = 240000000L lib_extra_dirs = ../../.. -[env:esp32c3] -board = esp32-c3-devkitm-1 -framework = arduino -platform = espressif32 -#platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.10.03/platform-espressif32.zip -build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types +[env:esp32s3_idf_V5_0_0] +platform = espressif32 @ 5.0.0 +board = esp32-s3-devkitc-1 +framework = espidf +build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-unused-function -Wno-error=attributes board_build.f_cpu = 240000000L lib_extra_dirs = ../../.. -board_build.flash_mode = dio -upload_port = /dev/ttyACM0 + +#[env:esp32s2] +#board = esp32-s2-saola-1 +#framework = arduino +#platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.04.02/platform-espressif32.zip +##platform = https://github.com/tasmota/platform-espressif32/releases/download/v.2.0.3/platform-espressif32-v.2.0.3.zip +#build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types +#board_build.f_cpu = 240000000L +#lib_extra_dirs = ../../.. +# +#[env:esp32s3] +#board = esp32-s3-devkitc-1 +#framework = arduino +#platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.02.00/platform-espressif32.zip +#build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-error=unused-variable +#board_build.f_cpu = 240000000L +#lib_extra_dirs = ../../.. +# +#[env:esp32c3] +#board = esp32-c3-devkitm-1 +#framework = arduino +#platform = espressif32 +##platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.10.03/platform-espressif32.zip +#build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types +#board_build.f_cpu = 240000000L +#lib_extra_dirs = ../../.. +#board_build.flash_mode = dio +#upload_port = /dev/ttyACM0 [env:nanoatmega168] platform = atmelavr