diff --git a/.gitlab/ci/host-test.yml b/.gitlab/ci/host-test.yml index 95cfd71e7c..8a00601693 100644 --- a/.gitlab/ci/host-test.yml +++ b/.gitlab/ci/host-test.yml @@ -113,7 +113,7 @@ test_cli_installer: # Tools must be downloaded for testing # We could use "idf_tools.py download all", but we don't want to install clang because of its huge size # cmake@version that is supported - - python3 ${IDF_PATH}/tools/idf_tools.py download required qemu-riscv32 qemu-xtensa cmake cmake@3.16.3 + - python3 ${IDF_PATH}/tools/idf_tools.py download required qemu-riscv32 qemu-xtensa cmake cmake@3.22.1 - cd ${IDF_PATH}/tools/test_idf_tools - python3 -m pip install jsonschema - python3 ./test_idf_tools.py -v diff --git a/.gitlab/ci/test-win.yml b/.gitlab/ci/test-win.yml index 045c835f64..8ed4642304 100644 --- a/.gitlab/ci/test-win.yml +++ b/.gitlab/ci/test-win.yml @@ -37,7 +37,7 @@ test_cli_installer_win: script: # Tools must be downloaded for testing # cmake@version that is supported - - python ${IDF_PATH}\tools\idf_tools.py download required qemu-riscv32 qemu-xtensa cmake cmake@3.16.3 + - python ${IDF_PATH}\tools\idf_tools.py download required qemu-riscv32 qemu-xtensa cmake cmake@3.22.1 - cd ${IDF_PATH}\tools\test_idf_tools - python -m pip install jsonschema - python .\test_idf_tools.py diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ceaeecad7..5b94636212 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) project(esp-idf C CXX ASM) if(CMAKE_CURRENT_LIST_DIR STREQUAL CMAKE_SOURCE_DIR) diff --git a/components/app_trace/test_apps/CMakeLists.txt b/components/app_trace/test_apps/CMakeLists.txt index 9ed7e331c5..eca7d126f3 100644 --- a/components/app_trace/test_apps/CMakeLists.txt +++ b/components/app_trace/test_apps/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/app_update/test_apps/test_app_update/CMakeLists.txt b/components/app_update/test_apps/test_app_update/CMakeLists.txt index dc5ddbc260..440f295eb1 100644 --- a/components/app_update/test_apps/test_app_update/CMakeLists.txt +++ b/components/app_update/test_apps/test_app_update/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") set(COMPONENTS main) diff --git a/components/bootloader/subproject/CMakeLists.txt b/components/bootloader/subproject/CMakeLists.txt index 28ab9d7be0..1ae6bec7f4 100644 --- a/components/bootloader/subproject/CMakeLists.txt +++ b/components/bootloader/subproject/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) if(NOT SDKCONFIG) message(FATAL_ERROR "Bootloader subproject expects the SDKCONFIG variable to be passed " diff --git a/components/bootloader_support/test_apps/bootloader_support/CMakeLists.txt b/components/bootloader_support/test_apps/bootloader_support/CMakeLists.txt index d3ffaaeb9f..5e20c90fd7 100644 --- a/components/bootloader_support/test_apps/bootloader_support/CMakeLists.txt +++ b/components/bootloader_support/test_apps/bootloader_support/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/bootloader_support/test_apps/rtc_custom_section/CMakeLists.txt b/components/bootloader_support/test_apps/rtc_custom_section/CMakeLists.txt index 9ee1da748f..2828dc037a 100644 --- a/components/bootloader_support/test_apps/rtc_custom_section/CMakeLists.txt +++ b/components/bootloader_support/test_apps/rtc_custom_section/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/bt/test_apps/basic_unit_test/CMakeLists.txt b/components/bt/test_apps/basic_unit_test/CMakeLists.txt index ab61d4b68c..30b519c27e 100644 --- a/components/bt/test_apps/basic_unit_test/CMakeLists.txt +++ b/components/bt/test_apps/basic_unit_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/bt/test_apps/memory_release/CMakeLists.txt b/components/bt/test_apps/memory_release/CMakeLists.txt index f3d75bb435..c71437d8ee 100644 --- a/components/bt/test_apps/memory_release/CMakeLists.txt +++ b/components/bt/test_apps/memory_release/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(test_bt_memory_release) diff --git a/components/console/test_apps/console/CMakeLists.txt b/components/console/test_apps/console/CMakeLists.txt index 12837206f8..2378df6da6 100644 --- a/components/console/test_apps/console/CMakeLists.txt +++ b/components/console/test_apps/console/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/cxx/test_apps/exception/CMakeLists.txt b/components/cxx/test_apps/exception/CMakeLists.txt index ee40c6ca11..227bd4415d 100644 --- a/components/cxx/test_apps/exception/CMakeLists.txt +++ b/components/cxx/test_apps/exception/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/cxx/test_apps/exception_no_except/CMakeLists.txt b/components/cxx/test_apps/exception_no_except/CMakeLists.txt index ee40c6ca11..227bd4415d 100644 --- a/components/cxx/test_apps/exception_no_except/CMakeLists.txt +++ b/components/cxx/test_apps/exception_no_except/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/cxx/test_apps/general/CMakeLists.txt b/components/cxx/test_apps/general/CMakeLists.txt index 7eab378c97..b0a614984a 100644 --- a/components/cxx/test_apps/general/CMakeLists.txt +++ b/components/cxx/test_apps/general/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/cxx/test_apps/rtti/CMakeLists.txt b/components/cxx/test_apps/rtti/CMakeLists.txt index d4c3179192..1234101d80 100644 --- a/components/cxx/test_apps/rtti/CMakeLists.txt +++ b/components/cxx/test_apps/rtti/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/driver/test_apps/legacy_i2c_driver/CMakeLists.txt b/components/driver/test_apps/legacy_i2c_driver/CMakeLists.txt index 9582c4507a..629fc9a76f 100644 --- a/components/driver/test_apps/legacy_i2c_driver/CMakeLists.txt +++ b/components/driver/test_apps/legacy_i2c_driver/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components" diff --git a/components/driver/test_apps/legacy_rmt_driver/CMakeLists.txt b/components/driver/test_apps/legacy_rmt_driver/CMakeLists.txt index 630dc8b971..5872e98f63 100644 --- a/components/driver/test_apps/legacy_rmt_driver/CMakeLists.txt +++ b/components/driver/test_apps/legacy_rmt_driver/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/driver/test_apps/legacy_twai/CMakeLists.txt b/components/driver/test_apps/legacy_twai/CMakeLists.txt index 954671347d..01f9731f0f 100644 --- a/components/driver/test_apps/legacy_twai/CMakeLists.txt +++ b/components/driver/test_apps/legacy_twai/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/driver/test_apps/touch_sensor_v1/CMakeLists.txt b/components/driver/test_apps/touch_sensor_v1/CMakeLists.txt index a5f8b9e67d..e73ba17f8e 100644 --- a/components/driver/test_apps/touch_sensor_v1/CMakeLists.txt +++ b/components/driver/test_apps/touch_sensor_v1/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/driver/test_apps/touch_sensor_v2/CMakeLists.txt b/components/driver/test_apps/touch_sensor_v2/CMakeLists.txt index 0cc2ebc3e8..25c28f4eb7 100644 --- a/components/driver/test_apps/touch_sensor_v2/CMakeLists.txt +++ b/components/driver/test_apps/touch_sensor_v2/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/efuse/test_apps/CMakeLists.txt b/components/efuse/test_apps/CMakeLists.txt index f943c2c062..54e6bafab0 100644 --- a/components/efuse/test_apps/CMakeLists.txt +++ b/components/efuse/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/esp-tls/test_apps/CMakeLists.txt b/components/esp-tls/test_apps/CMakeLists.txt index 9e39527482..21b427d31d 100644 --- a/components/esp-tls/test_apps/CMakeLists.txt +++ b/components/esp-tls/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") set(COMPONENTS main) diff --git a/components/esp_adc/test_apps/adc/CMakeLists.txt b/components/esp_adc/test_apps/adc/CMakeLists.txt index 0b4f8e808b..bc09aead1e 100644 --- a/components/esp_adc/test_apps/adc/CMakeLists.txt +++ b/components/esp_adc/test_apps/adc/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_app_format/test_apps/CMakeLists.txt b/components/esp_app_format/test_apps/CMakeLists.txt index 3ec91ae10d..b7096a9f02 100644 --- a/components/esp_app_format/test_apps/CMakeLists.txt +++ b/components/esp_app_format/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_bootloader_format/test_apps/CMakeLists.txt b/components/esp_bootloader_format/test_apps/CMakeLists.txt index 72305349c8..6c0a1e9687 100644 --- a/components/esp_bootloader_format/test_apps/CMakeLists.txt +++ b/components/esp_bootloader_format/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_common/test_apps/esp_common/CMakeLists.txt b/components/esp_common/test_apps/esp_common/CMakeLists.txt index 53d1167cdf..cdd4399b02 100644 --- a/components/esp_common/test_apps/esp_common/CMakeLists.txt +++ b/components/esp_common/test_apps/esp_common/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_driver_ana_cmpr/test_apps/analog_comparator/CMakeLists.txt b/components/esp_driver_ana_cmpr/test_apps/analog_comparator/CMakeLists.txt index 03783649e4..eb163cfa99 100644 --- a/components/esp_driver_ana_cmpr/test_apps/analog_comparator/CMakeLists.txt +++ b/components/esp_driver_ana_cmpr/test_apps/analog_comparator/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_bitscrambler/test_apps/bitscrambler/CMakeLists.txt b/components/esp_driver_bitscrambler/test_apps/bitscrambler/CMakeLists.txt index 3a8b2f1f68..2a0b875f9d 100644 --- a/components/esp_driver_bitscrambler/test_apps/bitscrambler/CMakeLists.txt +++ b/components/esp_driver_bitscrambler/test_apps/bitscrambler/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_driver_cam/test_apps/csi/CMakeLists.txt b/components/esp_driver_cam/test_apps/csi/CMakeLists.txt index de39c5f777..96684505a1 100644 --- a/components/esp_driver_cam/test_apps/csi/CMakeLists.txt +++ b/components/esp_driver_cam/test_apps/csi/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_driver_cam/test_apps/dvp/CMakeLists.txt b/components/esp_driver_cam/test_apps/dvp/CMakeLists.txt index d1eedadb18..1e2a6f0b42 100644 --- a/components/esp_driver_cam/test_apps/dvp/CMakeLists.txt +++ b/components/esp_driver_cam/test_apps/dvp/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_driver_cam/test_apps/isp_dvp/CMakeLists.txt b/components/esp_driver_cam/test_apps/isp_dvp/CMakeLists.txt index 89ec188d05..c3cc978d4d 100644 --- a/components/esp_driver_cam/test_apps/isp_dvp/CMakeLists.txt +++ b/components/esp_driver_cam/test_apps/isp_dvp/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/esp_driver_dac/test_apps/dac/CMakeLists.txt b/components/esp_driver_dac/test_apps/dac/CMakeLists.txt index afd43564dc..0ee7db04a8 100644 --- a/components/esp_driver_dac/test_apps/dac/CMakeLists.txt +++ b/components/esp_driver_dac/test_apps/dac/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_gpio/test_apps/gpio/CMakeLists.txt b/components/esp_driver_gpio/test_apps/gpio/CMakeLists.txt index 89635577a0..e0da928036 100644 --- a/components/esp_driver_gpio/test_apps/gpio/CMakeLists.txt +++ b/components/esp_driver_gpio/test_apps/gpio/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_gpio/test_apps/gpio_extensions/CMakeLists.txt b/components/esp_driver_gpio/test_apps/gpio_extensions/CMakeLists.txt index 9f257cb548..35edeeb590 100644 --- a/components/esp_driver_gpio/test_apps/gpio_extensions/CMakeLists.txt +++ b/components/esp_driver_gpio/test_apps/gpio_extensions/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_gptimer/test_apps/gptimer/CMakeLists.txt b/components/esp_driver_gptimer/test_apps/gptimer/CMakeLists.txt index bcf6898bfc..bae13a3bd2 100644 --- a/components/esp_driver_gptimer/test_apps/gptimer/CMakeLists.txt +++ b/components/esp_driver_gptimer/test_apps/gptimer/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_i2c/test_apps/i2c_test_apps/CMakeLists.txt b/components/esp_driver_i2c/test_apps/i2c_test_apps/CMakeLists.txt index adabc5998f..04d42459a1 100644 --- a/components/esp_driver_i2c/test_apps/i2c_test_apps/CMakeLists.txt +++ b/components/esp_driver_i2c/test_apps/i2c_test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_i2s/test_apps/i2s/CMakeLists.txt b/components/esp_driver_i2s/test_apps/i2s/CMakeLists.txt index d0c89315d8..436b6aabf2 100644 --- a/components/esp_driver_i2s/test_apps/i2s/CMakeLists.txt +++ b/components/esp_driver_i2s/test_apps/i2s/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_i2s/test_apps/i2s_multi_dev/CMakeLists.txt b/components/esp_driver_i2s/test_apps/i2s_multi_dev/CMakeLists.txt index 2c494b492e..cceaaa50c4 100644 --- a/components/esp_driver_i2s/test_apps/i2s_multi_dev/CMakeLists.txt +++ b/components/esp_driver_i2s/test_apps/i2s_multi_dev/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_i2s/test_apps/lp_i2s/CMakeLists.txt b/components/esp_driver_i2s/test_apps/lp_i2s/CMakeLists.txt index 710d76198e..a587e59437 100644 --- a/components/esp_driver_i2s/test_apps/lp_i2s/CMakeLists.txt +++ b/components/esp_driver_i2s/test_apps/lp_i2s/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_i3c/test_apps/i3c_test_apps/CMakeLists.txt b/components/esp_driver_i3c/test_apps/i3c_test_apps/CMakeLists.txt index 8341f9aa6d..f765839284 100644 --- a/components/esp_driver_i3c/test_apps/i3c_test_apps/CMakeLists.txt +++ b/components/esp_driver_i3c/test_apps/i3c_test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_isp/test_apps/isp/CMakeLists.txt b/components/esp_driver_isp/test_apps/isp/CMakeLists.txt index f3f19f7b53..219417a697 100644 --- a/components/esp_driver_isp/test_apps/isp/CMakeLists.txt +++ b/components/esp_driver_isp/test_apps/isp/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_driver_jpeg/test_apps/jpeg_test_apps/CMakeLists.txt b/components/esp_driver_jpeg/test_apps/jpeg_test_apps/CMakeLists.txt index a5b09c1373..4dd2a1896d 100644 --- a/components/esp_driver_jpeg/test_apps/jpeg_test_apps/CMakeLists.txt +++ b/components/esp_driver_jpeg/test_apps/jpeg_test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_ledc/test_apps/ledc/CMakeLists.txt b/components/esp_driver_ledc/test_apps/ledc/CMakeLists.txt index 3fe082b008..4867adf6f5 100644 --- a/components/esp_driver_ledc/test_apps/ledc/CMakeLists.txt +++ b/components/esp_driver_ledc/test_apps/ledc/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_mcpwm/test_apps/mcpwm/CMakeLists.txt b/components/esp_driver_mcpwm/test_apps/mcpwm/CMakeLists.txt index 88727a0802..c7973f0a22 100644 --- a/components/esp_driver_mcpwm/test_apps/mcpwm/CMakeLists.txt +++ b/components/esp_driver_mcpwm/test_apps/mcpwm/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_parlio/test_apps/parlio/CMakeLists.txt b/components/esp_driver_parlio/test_apps/parlio/CMakeLists.txt index fac52100ad..c9fdaca469 100644 --- a/components/esp_driver_parlio/test_apps/parlio/CMakeLists.txt +++ b/components/esp_driver_parlio/test_apps/parlio/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_pcnt/test_apps/pulse_cnt/CMakeLists.txt b/components/esp_driver_pcnt/test_apps/pulse_cnt/CMakeLists.txt index c9d2784d43..153e442fc4 100644 --- a/components/esp_driver_pcnt/test_apps/pulse_cnt/CMakeLists.txt +++ b/components/esp_driver_pcnt/test_apps/pulse_cnt/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_ppa/test_apps/CMakeLists.txt b/components/esp_driver_ppa/test_apps/CMakeLists.txt index 903732e97e..8682cc1b36 100644 --- a/components/esp_driver_ppa/test_apps/CMakeLists.txt +++ b/components/esp_driver_ppa/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_driver_rmt/test_apps/rmt/CMakeLists.txt b/components/esp_driver_rmt/test_apps/rmt/CMakeLists.txt index 68262acdd7..73915b5daf 100644 --- a/components/esp_driver_rmt/test_apps/rmt/CMakeLists.txt +++ b/components/esp_driver_rmt/test_apps/rmt/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/host_sdmmc/CMakeLists.txt b/components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/host_sdmmc/CMakeLists.txt index 7061780c84..763b85505a 100644 --- a/components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/host_sdmmc/CMakeLists.txt +++ b/components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/host_sdmmc/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/sdio/CMakeLists.txt b/components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/sdio/CMakeLists.txt index fa8e22d3ec..68e4a08f51 100644 --- a/components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/sdio/CMakeLists.txt +++ b/components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/sdio/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_sdm/test_apps/sigma_delta/CMakeLists.txt b/components/esp_driver_sdm/test_apps/sigma_delta/CMakeLists.txt index 59909eae12..34bc943bdc 100644 --- a/components/esp_driver_sdm/test_apps/sigma_delta/CMakeLists.txt +++ b/components/esp_driver_sdm/test_apps/sigma_delta/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_sdmmc/test_apps/sdmmc/CMakeLists.txt b/components/esp_driver_sdmmc/test_apps/sdmmc/CMakeLists.txt index 49186bdb51..9dfb6e87d5 100644 --- a/components/esp_driver_sdmmc/test_apps/sdmmc/CMakeLists.txt +++ b/components/esp_driver_sdmmc/test_apps/sdmmc/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/components/esp_driver_sdmmc/test_apps/sd_test_utils/components") diff --git a/components/esp_driver_sdspi/test_apps/sdspi/CMakeLists.txt b/components/esp_driver_sdspi/test_apps/sdspi/CMakeLists.txt index 14c492e2d2..9a4773c14e 100644 --- a/components/esp_driver_sdspi/test_apps/sdspi/CMakeLists.txt +++ b/components/esp_driver_sdspi/test_apps/sdspi/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/components/esp_driver_sdmmc/test_apps/sd_test_utils/components") diff --git a/components/esp_driver_spi/test_apps/master/CMakeLists.txt b/components/esp_driver_spi/test_apps/master/CMakeLists.txt index c40f0ecc46..4a70a2fcb7 100644 --- a/components/esp_driver_spi/test_apps/master/CMakeLists.txt +++ b/components/esp_driver_spi/test_apps/master/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_spi/test_apps/param/CMakeLists.txt b/components/esp_driver_spi/test_apps/param/CMakeLists.txt index 83f0cb7142..aa695e4996 100644 --- a/components/esp_driver_spi/test_apps/param/CMakeLists.txt +++ b/components/esp_driver_spi/test_apps/param/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_spi/test_apps/slave/CMakeLists.txt b/components/esp_driver_spi/test_apps/slave/CMakeLists.txt index cbca1ebc3c..83e4b2caf0 100644 --- a/components/esp_driver_spi/test_apps/slave/CMakeLists.txt +++ b/components/esp_driver_spi/test_apps/slave/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_spi/test_apps/slave_hd/CMakeLists.txt b/components/esp_driver_spi/test_apps/slave_hd/CMakeLists.txt index 858e0cd4eb..7128aa7c1a 100644 --- a/components/esp_driver_spi/test_apps/slave_hd/CMakeLists.txt +++ b/components/esp_driver_spi/test_apps/slave_hd/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_touch_sens/test_apps/touch_sens/CMakeLists.txt b/components/esp_driver_touch_sens/test_apps/touch_sens/CMakeLists.txt index 9b02c7f693..28ce111a06 100644 --- a/components/esp_driver_touch_sens/test_apps/touch_sens/CMakeLists.txt +++ b/components/esp_driver_touch_sens/test_apps/touch_sens/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_driver_tsens/test_apps/temperature_sensor/CMakeLists.txt b/components/esp_driver_tsens/test_apps/temperature_sensor/CMakeLists.txt index 88e33ecd87..de547db817 100644 --- a/components/esp_driver_tsens/test_apps/temperature_sensor/CMakeLists.txt +++ b/components/esp_driver_tsens/test_apps/temperature_sensor/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components" diff --git a/components/esp_driver_twai/test_apps/test_twai/CMakeLists.txt b/components/esp_driver_twai/test_apps/test_twai/CMakeLists.txt index 3d053a2718..1ce0b1532e 100644 --- a/components/esp_driver_twai/test_apps/test_twai/CMakeLists.txt +++ b/components/esp_driver_twai/test_apps/test_twai/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_uart/test_apps/rs485/CMakeLists.txt b/components/esp_driver_uart/test_apps/rs485/CMakeLists.txt index a455220c06..e2935f2a25 100644 --- a/components/esp_driver_uart/test_apps/rs485/CMakeLists.txt +++ b/components/esp_driver_uart/test_apps/rs485/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_uart/test_apps/uart/CMakeLists.txt b/components/esp_driver_uart/test_apps/uart/CMakeLists.txt index 69cd3de629..a2d0eaf940 100644 --- a/components/esp_driver_uart/test_apps/uart/CMakeLists.txt +++ b/components/esp_driver_uart/test_apps/uart/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_uart/test_apps/uhci/CMakeLists.txt b/components/esp_driver_uart/test_apps/uhci/CMakeLists.txt index 02811d16ee..3d16159df8 100644 --- a/components/esp_driver_uart/test_apps/uhci/CMakeLists.txt +++ b/components/esp_driver_uart/test_apps/uhci/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_driver_usb_serial_jtag/test_apps/usb_serial_jtag/CMakeLists.txt b/components/esp_driver_usb_serial_jtag/test_apps/usb_serial_jtag/CMakeLists.txt index e9542886c9..3c1c67f71e 100644 --- a/components/esp_driver_usb_serial_jtag/test_apps/usb_serial_jtag/CMakeLists.txt +++ b/components/esp_driver_usb_serial_jtag/test_apps/usb_serial_jtag/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_eth/test_apps/CMakeLists.txt b/components/esp_eth/test_apps/CMakeLists.txt index 87e50a9563..56819dc11c 100644 --- a/components/esp_eth/test_apps/CMakeLists.txt +++ b/components/esp_eth/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_event/host_test/esp_event_unit_test/CMakeLists.txt b/components/esp_event/host_test/esp_event_unit_test/CMakeLists.txt index a013fc3920..c26be253e7 100644 --- a/components/esp_event/host_test/esp_event_unit_test/CMakeLists.txt +++ b/components/esp_event/host_test/esp_event_unit_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/esp_event/test_apps/CMakeLists.txt b/components/esp_event/test_apps/CMakeLists.txt index dc63f6191f..f2e4224dce 100644 --- a/components/esp_event/test_apps/CMakeLists.txt +++ b/components/esp_event/test_apps/CMakeLists.txt @@ -1,7 +1,7 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_hid/test_apps/CMakeLists.txt b/components/esp_hid/test_apps/CMakeLists.txt index 48539b92f2..c98f2c9d4e 100644 --- a/components/esp_hid/test_apps/CMakeLists.txt +++ b/components/esp_hid/test_apps/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/esp_http_client/test_apps/CMakeLists.txt b/components/esp_http_client/test_apps/CMakeLists.txt index cca464c617..a84a803be4 100644 --- a/components/esp_http_client/test_apps/CMakeLists.txt +++ b/components/esp_http_client/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") set(COMPONENTS main) diff --git a/components/esp_http_server/test_apps/CMakeLists.txt b/components/esp_http_server/test_apps/CMakeLists.txt index 1e1c7926d4..9c0ae1d783 100644 --- a/components/esp_http_server/test_apps/CMakeLists.txt +++ b/components/esp_http_server/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") set(COMPONENTS main) diff --git a/components/esp_hw_support/test_apps/dma/CMakeLists.txt b/components/esp_hw_support/test_apps/dma/CMakeLists.txt index 52d2103edf..5c9665d9b4 100644 --- a/components/esp_hw_support/test_apps/dma/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/dma/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_hw_support/test_apps/dma2d/CMakeLists.txt b/components/esp_hw_support/test_apps/dma2d/CMakeLists.txt index e4fcac2b78..816c377320 100644 --- a/components/esp_hw_support/test_apps/dma2d/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/dma2d/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_hw_support/test_apps/esp_hw_support_unity_tests/CMakeLists.txt b/components/esp_hw_support/test_apps/esp_hw_support_unity_tests/CMakeLists.txt index 6b37ce15dc..08856a284b 100644 --- a/components/esp_hw_support/test_apps/esp_hw_support_unity_tests/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/esp_hw_support_unity_tests/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_hw_support/test_apps/host_test_linux/CMakeLists.txt b/components/esp_hw_support/test_apps/host_test_linux/CMakeLists.txt index 6cdacc8bfa..ab5e1a93f7 100644 --- a/components/esp_hw_support/test_apps/host_test_linux/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/host_test_linux/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/esp_hw_support/test_apps/mspi/CMakeLists.txt b/components/esp_hw_support/test_apps/mspi/CMakeLists.txt index af6aff96e7..6eda9b4c4c 100644 --- a/components/esp_hw_support/test_apps/mspi/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/mspi/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_hw_support/test_apps/mspi_psram_with_dfs/CMakeLists.txt b/components/esp_hw_support/test_apps/mspi_psram_with_dfs/CMakeLists.txt index 7a3631c840..5a165edb26 100644 --- a/components/esp_hw_support/test_apps/mspi_psram_with_dfs/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/mspi_psram_with_dfs/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_hw_support/test_apps/rtc_8md256/CMakeLists.txt b/components/esp_hw_support/test_apps/rtc_8md256/CMakeLists.txt index 372aa73140..3e42068d18 100644 --- a/components/esp_hw_support/test_apps/rtc_8md256/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/rtc_8md256/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_hw_support/test_apps/rtc_clk/CMakeLists.txt b/components/esp_hw_support/test_apps/rtc_clk/CMakeLists.txt index 1b53dfa3bb..76788bfe46 100644 --- a/components/esp_hw_support/test_apps/rtc_clk/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/rtc_clk/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_hw_support/test_apps/sleep_retention/CMakeLists.txt b/components/esp_hw_support/test_apps/sleep_retention/CMakeLists.txt index 47e7d817bd..918533aa40 100644 --- a/components/esp_hw_support/test_apps/sleep_retention/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/sleep_retention/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_hw_support/test_apps/usb_phy/CMakeLists.txt b/components/esp_hw_support/test_apps/usb_phy/CMakeLists.txt index 43d31c8c8c..a8693cf7a8 100644 --- a/components/esp_hw_support/test_apps/usb_phy/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/usb_phy/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_hw_support/test_apps/vad_wakeup/CMakeLists.txt b/components/esp_hw_support/test_apps/vad_wakeup/CMakeLists.txt index 5036560011..8eafb55d43 100644 --- a/components/esp_hw_support/test_apps/vad_wakeup/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/vad_wakeup/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_hw_support/test_apps/wakeup_tests/CMakeLists.txt b/components/esp_hw_support/test_apps/wakeup_tests/CMakeLists.txt index 271ac5e121..084df9d102 100644 --- a/components/esp_hw_support/test_apps/wakeup_tests/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/wakeup_tests/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_lcd/test_apps/i2c_lcd/CMakeLists.txt b/components/esp_lcd/test_apps/i2c_lcd/CMakeLists.txt index 8dd5f4d484..202bca4fbe 100644 --- a/components/esp_lcd/test_apps/i2c_lcd/CMakeLists.txt +++ b/components/esp_lcd/test_apps/i2c_lcd/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_lcd/test_apps/i2c_lcd_legacy/CMakeLists.txt b/components/esp_lcd/test_apps/i2c_lcd_legacy/CMakeLists.txt index 8c099ff31c..380e7dffe9 100644 --- a/components/esp_lcd/test_apps/i2c_lcd_legacy/CMakeLists.txt +++ b/components/esp_lcd/test_apps/i2c_lcd_legacy/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_lcd/test_apps/i80_lcd/CMakeLists.txt b/components/esp_lcd/test_apps/i80_lcd/CMakeLists.txt index b3e6f9cf7f..2ce288a45f 100644 --- a/components/esp_lcd/test_apps/i80_lcd/CMakeLists.txt +++ b/components/esp_lcd/test_apps/i80_lcd/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_lcd/test_apps/mipi_dsi_lcd/CMakeLists.txt b/components/esp_lcd/test_apps/mipi_dsi_lcd/CMakeLists.txt index 8d9735e83a..dc7359a6c4 100644 --- a/components/esp_lcd/test_apps/mipi_dsi_lcd/CMakeLists.txt +++ b/components/esp_lcd/test_apps/mipi_dsi_lcd/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_lcd/test_apps/parlio_lcd/CMakeLists.txt b/components/esp_lcd/test_apps/parlio_lcd/CMakeLists.txt index 1fbdc99f07..942f37dfe4 100644 --- a/components/esp_lcd/test_apps/parlio_lcd/CMakeLists.txt +++ b/components/esp_lcd/test_apps/parlio_lcd/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_lcd/test_apps/rgb_lcd/CMakeLists.txt b/components/esp_lcd/test_apps/rgb_lcd/CMakeLists.txt index 093e4fd937..c3afd35833 100644 --- a/components/esp_lcd/test_apps/rgb_lcd/CMakeLists.txt +++ b/components/esp_lcd/test_apps/rgb_lcd/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_lcd/test_apps/spi_lcd/CMakeLists.txt b/components/esp_lcd/test_apps/spi_lcd/CMakeLists.txt index 3265d9a8d9..47dab86c37 100644 --- a/components/esp_lcd/test_apps/spi_lcd/CMakeLists.txt +++ b/components/esp_lcd/test_apps/spi_lcd/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_local_ctrl/proto/CMakeLists.txt b/components/esp_local_ctrl/proto/CMakeLists.txt index d4c4c89401..24b882b837 100644 --- a/components/esp_local_ctrl/proto/CMakeLists.txt +++ b/components/esp_local_ctrl/proto/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(PROTO_COMPILER "protoc") set(PROTO_C_COMPILER "protoc-c") diff --git a/components/esp_mm/test_apps/mm/CMakeLists.txt b/components/esp_mm/test_apps/mm/CMakeLists.txt index 439c18c227..4e8832e5ae 100644 --- a/components/esp_mm/test_apps/mm/CMakeLists.txt +++ b/components/esp_mm/test_apps/mm/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/components/esp_mm/test_apps/components") diff --git a/components/esp_mm/test_apps/mmap_hw/CMakeLists.txt b/components/esp_mm/test_apps/mmap_hw/CMakeLists.txt index 2960e4dbb6..cca9aa41a2 100644 --- a/components/esp_mm/test_apps/mmap_hw/CMakeLists.txt +++ b/components/esp_mm/test_apps/mmap_hw/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_netif/test_apps/test_app_esp_netif/CMakeLists.txt b/components/esp_netif/test_apps/test_app_esp_netif/CMakeLists.txt index 35ca392d91..265f221125 100644 --- a/components/esp_netif/test_apps/test_app_esp_netif/CMakeLists.txt +++ b/components/esp_netif/test_apps/test_app_esp_netif/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_netif/test_apps/test_app_vfs_l2tap/CMakeLists.txt b/components/esp_netif/test_apps/test_app_vfs_l2tap/CMakeLists.txt index e6ca375d85..8f9e417013 100644 --- a/components/esp_netif/test_apps/test_app_vfs_l2tap/CMakeLists.txt +++ b/components/esp_netif/test_apps/test_app_vfs_l2tap/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_partition/host_test/partition_api_test/CMakeLists.txt b/components/esp_partition/host_test/partition_api_test/CMakeLists.txt index 072b9d936d..e2f75e4770 100644 --- a/components/esp_partition/host_test/partition_api_test/CMakeLists.txt +++ b/components/esp_partition/host_test/partition_api_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/esp_pm/test_apps/esp_pm/CMakeLists.txt b/components/esp_pm/test_apps/esp_pm/CMakeLists.txt index 5ffebff979..a014f3e2b1 100644 --- a/components/esp_pm/test_apps/esp_pm/CMakeLists.txt +++ b/components/esp_pm/test_apps/esp_pm/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(PREPEND SDKCONFIG_DEFAULTS "$ENV{IDF_PATH}/tools/test_apps/configs/sdkconfig.debug_helpers" "sdkconfig.defaults") diff --git a/components/esp_ringbuf/test_apps/CMakeLists.txt b/components/esp_ringbuf/test_apps/CMakeLists.txt index 2a88829ff2..f97a337e7f 100644 --- a/components/esp_ringbuf/test_apps/CMakeLists.txt +++ b/components/esp_ringbuf/test_apps/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(PREPEND SDKCONFIG_DEFAULTS "$ENV{IDF_PATH}/tools/test_apps/configs/sdkconfig.debug_helpers" "sdkconfig.defaults") diff --git a/components/esp_rom/test_apps/linux_rom_apis/CMakeLists.txt b/components/esp_rom/test_apps/linux_rom_apis/CMakeLists.txt index e13f39f765..5912034951 100644 --- a/components/esp_rom/test_apps/linux_rom_apis/CMakeLists.txt +++ b/components/esp_rom/test_apps/linux_rom_apis/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/esp_rom/test_apps/rom_impl_components/CMakeLists.txt b/components/esp_rom/test_apps/rom_impl_components/CMakeLists.txt index c4e50eeddc..f09e1f9459 100644 --- a/components/esp_rom/test_apps/rom_impl_components/CMakeLists.txt +++ b/components/esp_rom/test_apps/rom_impl_components/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_rom/test_apps/rom_tests/CMakeLists.txt b/components/esp_rom/test_apps/rom_tests/CMakeLists.txt index a7941adf6a..87c3eba99b 100644 --- a/components/esp_rom/test_apps/rom_tests/CMakeLists.txt +++ b/components/esp_rom/test_apps/rom_tests/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_security/test_apps/crypto_drivers/CMakeLists.txt b/components/esp_security/test_apps/crypto_drivers/CMakeLists.txt index 0b2bfe8cac..be8cfca0b7 100644 --- a/components/esp_security/test_apps/crypto_drivers/CMakeLists.txt +++ b/components/esp_security/test_apps/crypto_drivers/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/esp_system/test_apps/cache_panic/CMakeLists.txt b/components/esp_system/test_apps/cache_panic/CMakeLists.txt index fd5f8fb78a..5cf528f5f5 100644 --- a/components/esp_system/test_apps/cache_panic/CMakeLists.txt +++ b/components/esp_system/test_apps/cache_panic/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/esp_system/test_apps/console/CMakeLists.txt b/components/esp_system/test_apps/console/CMakeLists.txt index 0e1dd698b2..07bbe40d8e 100644 --- a/components/esp_system/test_apps/console/CMakeLists.txt +++ b/components/esp_system/test_apps/console/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_system/test_apps/esp_system_unity_tests/CMakeLists.txt b/components/esp_system/test_apps/esp_system_unity_tests/CMakeLists.txt index 42b39804f5..ae3f67e170 100644 --- a/components/esp_system/test_apps/esp_system_unity_tests/CMakeLists.txt +++ b/components/esp_system/test_apps/esp_system_unity_tests/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_system/test_apps/linux_apis/CMakeLists.txt b/components/esp_system/test_apps/linux_apis/CMakeLists.txt index f8c8556e1f..c6842588d9 100644 --- a/components/esp_system/test_apps/linux_apis/CMakeLists.txt +++ b/components/esp_system/test_apps/linux_apis/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/esp_tee/subproject/CMakeLists.txt b/components/esp_tee/subproject/CMakeLists.txt index a5f2a1198d..ee31a83577 100644 --- a/components/esp_tee/subproject/CMakeLists.txt +++ b/components/esp_tee/subproject/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(ESP_TEE_VERSION_MAJOR 1) set(ESP_TEE_VERSION_MINOR 0) diff --git a/components/esp_tee/test_apps/tee_cli_app/CMakeLists.txt b/components/esp_tee/test_apps/tee_cli_app/CMakeLists.txt index 721b1cfd91..5dee1540e1 100644 --- a/components/esp_tee/test_apps/tee_cli_app/CMakeLists.txt +++ b/components/esp_tee/test_apps/tee_cli_app/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_tee/test_apps/tee_test_fw/CMakeLists.txt b/components/esp_tee/test_apps/tee_test_fw/CMakeLists.txt index 0269fa8801..39989b94cf 100644 --- a/components/esp_tee/test_apps/tee_test_fw/CMakeLists.txt +++ b/components/esp_tee/test_apps/tee_test_fw/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/esp_tee/test_apps/tee_test_fw/components/test_sec_srv/CMakeLists.txt b/components/esp_tee/test_apps/tee_test_fw/components/test_sec_srv/CMakeLists.txt index 0dae5f2596..b3a3a4f6b7 100644 --- a/components/esp_tee/test_apps/tee_test_fw/components/test_sec_srv/CMakeLists.txt +++ b/components/esp_tee/test_apps/tee_test_fw/components/test_sec_srv/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) idf_build_get_property(esp_tee_build ESP_TEE_BUILD) diff --git a/components/esp_timer/test_apps/CMakeLists.txt b/components/esp_timer/test_apps/CMakeLists.txt index efe41a26de..a700bd65e6 100644 --- a/components/esp_timer/test_apps/CMakeLists.txt +++ b/components/esp_timer/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(PREPEND SDKCONFIG_DEFAULTS "$ENV{IDF_PATH}/tools/test_apps/configs/sdkconfig.debug_helpers" "sdkconfig.defaults") diff --git a/components/esp_wifi/test_apps/bin_size_apsta/CMakeLists.txt b/components/esp_wifi/test_apps/bin_size_apsta/CMakeLists.txt index 540487d7ce..b8aff88a2e 100644 --- a/components/esp_wifi/test_apps/bin_size_apsta/CMakeLists.txt +++ b/components/esp_wifi/test_apps/bin_size_apsta/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/components/esp_wifi/test_apps/wifi_connect/CMakeLists.txt b/components/esp_wifi/test_apps/wifi_connect/CMakeLists.txt index 157349931c..fa31e5265b 100644 --- a/components/esp_wifi/test_apps/wifi_connect/CMakeLists.txt +++ b/components/esp_wifi/test_apps/wifi_connect/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_wifi/test_apps/wifi_function/CMakeLists.txt b/components/esp_wifi/test_apps/wifi_function/CMakeLists.txt index 29a1068b5a..73aba2847a 100644 --- a/components/esp_wifi/test_apps/wifi_function/CMakeLists.txt +++ b/components/esp_wifi/test_apps/wifi_function/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/esp_wifi/test_apps/wifi_nvs_config/CMakeLists.txt b/components/esp_wifi/test_apps/wifi_nvs_config/CMakeLists.txt index 6330846783..9f8a4bb489 100644 --- a/components/esp_wifi/test_apps/wifi_nvs_config/CMakeLists.txt +++ b/components/esp_wifi/test_apps/wifi_nvs_config/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/espcoredump/test_apps/CMakeLists.txt b/components/espcoredump/test_apps/CMakeLists.txt index 625d365f94..7cf2fa8225 100644 --- a/components/espcoredump/test_apps/CMakeLists.txt +++ b/components/espcoredump/test_apps/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/esptool_py/espefuse.cmake b/components/esptool_py/espefuse.cmake index 2d5d160e00..5cf23bc98e 100644 --- a/components/esptool_py/espefuse.cmake +++ b/components/esptool_py/espefuse.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Executes a espefuse.py command and returns a cleaned log function(espefuse_cmd cmd output_log) diff --git a/components/esptool_py/run_serial_tool.cmake b/components/esptool_py/run_serial_tool.cmake index e55eeee8a6..27a7c0184b 100644 --- a/components/esptool_py/run_serial_tool.cmake +++ b/components/esptool_py/run_serial_tool.cmake @@ -4,7 +4,7 @@ # # It is recommended to NOT USE this CMake script if you have the option of # running the tool directly. This script exists only for use inside CMake builds. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) if(NOT IDF_PATH) message(FATAL_ERROR "IDF_PATH not set.") diff --git a/components/fatfs/host_test/CMakeLists.txt b/components/fatfs/host_test/CMakeLists.txt index 7bf861b1b9..e5b5140719 100644 --- a/components/fatfs/host_test/CMakeLists.txt +++ b/components/fatfs/host_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/fatfs/test_apps/dyn_buffers/CMakeLists.txt b/components/fatfs/test_apps/dyn_buffers/CMakeLists.txt index 4e6f01d2ec..7e9b87960f 100644 --- a/components/fatfs/test_apps/dyn_buffers/CMakeLists.txt +++ b/components/fatfs/test_apps/dyn_buffers/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) idf_build_set_property(MINIMAL_BUILD ON) diff --git a/components/fatfs/test_apps/flash_ro/CMakeLists.txt b/components/fatfs/test_apps/flash_ro/CMakeLists.txt index 9a1f08ef13..f9345a6816 100644 --- a/components/fatfs/test_apps/flash_ro/CMakeLists.txt +++ b/components/fatfs/test_apps/flash_ro/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) set(EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_LIST_DIR}/../test_fatfs_common") diff --git a/components/fatfs/test_apps/flash_wl/CMakeLists.txt b/components/fatfs/test_apps/flash_wl/CMakeLists.txt index 3c63fc0c0c..c2553a47dd 100644 --- a/components/fatfs/test_apps/flash_wl/CMakeLists.txt +++ b/components/fatfs/test_apps/flash_wl/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) set(EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_LIST_DIR}/../test_fatfs_common") diff --git a/components/fatfs/test_apps/sdcard/CMakeLists.txt b/components/fatfs/test_apps/sdcard/CMakeLists.txt index a01f216624..859c0502f3 100644 --- a/components/fatfs/test_apps/sdcard/CMakeLists.txt +++ b/components/fatfs/test_apps/sdcard/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) set(EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_LIST_DIR}/../test_fatfs_common") diff --git a/components/freertos/test_apps/freertos/CMakeLists.txt b/components/freertos/test_apps/freertos/CMakeLists.txt index f6cefb6375..26cd366340 100644 --- a/components/freertos/test_apps/freertos/CMakeLists.txt +++ b/components/freertos/test_apps/freertos/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/freertos/test_apps/orig_inc_path/CMakeLists.txt b/components/freertos/test_apps/orig_inc_path/CMakeLists.txt index 32cd29c21f..b810d9028b 100644 --- a/components/freertos/test_apps/orig_inc_path/CMakeLists.txt +++ b/components/freertos/test_apps/orig_inc_path/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/hal/test_apps/crypto/CMakeLists.txt b/components/hal/test_apps/crypto/CMakeLists.txt index 066bdb536f..bb19db5736 100644 --- a/components/hal/test_apps/crypto/CMakeLists.txt +++ b/components/hal/test_apps/crypto/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/hal/test_apps/hal_i2c/CMakeLists.txt b/components/hal/test_apps/hal_i2c/CMakeLists.txt index c646fa9119..56185b251a 100644 --- a/components/hal/test_apps/hal_i2c/CMakeLists.txt +++ b/components/hal/test_apps/hal_i2c/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/hal/test_apps/hal_utils/CMakeLists.txt b/components/hal/test_apps/hal_utils/CMakeLists.txt index 8a65569576..1b24d94788 100644 --- a/components/hal/test_apps/hal_utils/CMakeLists.txt +++ b/components/hal/test_apps/hal_utils/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/hal/test_apps/tee/CMakeLists.txt b/components/hal/test_apps/tee/CMakeLists.txt index ea3b3840cb..f1189f759a 100644 --- a/components/hal/test_apps/tee/CMakeLists.txt +++ b/components/hal/test_apps/tee/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/hal/test_apps/tee/components/pms_and_cpu_intr/CMakeLists.txt b/components/hal/test_apps/tee/components/pms_and_cpu_intr/CMakeLists.txt index bd32b9da64..26e0306b41 100644 --- a/components/hal/test_apps/tee/components/pms_and_cpu_intr/CMakeLists.txt +++ b/components/hal/test_apps/tee/components/pms_and_cpu_intr/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) idf_build_get_property(target IDF_TARGET) set(srcs "src/common/test_apm_utils.c" diff --git a/components/heap/test_apps/heap_tests/CMakeLists.txt b/components/heap/test_apps/heap_tests/CMakeLists.txt index f5e3ef093f..5a938dfad8 100644 --- a/components/heap/test_apps/heap_tests/CMakeLists.txt +++ b/components/heap/test_apps/heap_tests/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/heap/test_apps/host_test_linux/CMakeLists.txt b/components/heap/test_apps/host_test_linux/CMakeLists.txt index 38f4d7ac17..8ae2430468 100644 --- a/components/heap/test_apps/host_test_linux/CMakeLists.txt +++ b/components/heap/test_apps/host_test_linux/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/linux/test_apps/linux_test/CMakeLists.txt b/components/linux/test_apps/linux_test/CMakeLists.txt index 6697ac02d1..b41051c51c 100644 --- a/components/linux/test_apps/linux_test/CMakeLists.txt +++ b/components/linux/test_apps/linux_test/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/log/host_test/log_test/CMakeLists.txt b/components/log/host_test/log_test/CMakeLists.txt index ed4b9b0c41..f5e2fd6554 100644 --- a/components/log/host_test/log_test/CMakeLists.txt +++ b/components/log/host_test/log_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/log/test_apps/CMakeLists.txt b/components/log/test_apps/CMakeLists.txt index 43a98e7477..1cf0eeb46d 100644 --- a/components/log/test_apps/CMakeLists.txt +++ b/components/log/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/lwip/test_apps/CMakeLists.txt b/components/lwip/test_apps/CMakeLists.txt index 75d38efc20..32e6a6b7b8 100644 --- a/components/lwip/test_apps/CMakeLists.txt +++ b/components/lwip/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") set(COMPONENTS main) diff --git a/components/mbedtls/test_apps/CMakeLists.txt b/components/mbedtls/test_apps/CMakeLists.txt index d523568754..11b3829baf 100644 --- a/components/mbedtls/test_apps/CMakeLists.txt +++ b/components/mbedtls/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/mqtt/test_apps/test_mqtt/CMakeLists.txt b/components/mqtt/test_apps/test_mqtt/CMakeLists.txt index bde2a66a91..a3ae29f78c 100644 --- a/components/mqtt/test_apps/test_mqtt/CMakeLists.txt +++ b/components/mqtt/test_apps/test_mqtt/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components" "../common") diff --git a/components/mqtt/test_apps/test_mqtt5/CMakeLists.txt b/components/mqtt/test_apps/test_mqtt5/CMakeLists.txt index 9a56a3e9ca..2d7e6af6f9 100644 --- a/components/mqtt/test_apps/test_mqtt5/CMakeLists.txt +++ b/components/mqtt/test_apps/test_mqtt5/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components" "../common") diff --git a/components/newlib/test_apps/newlib/CMakeLists.txt b/components/newlib/test_apps/newlib/CMakeLists.txt index 102b2aa899..5eb21582da 100644 --- a/components/newlib/test_apps/newlib/CMakeLists.txt +++ b/components/newlib/test_apps/newlib/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/nvs_flash/host_test/nvs_host_test/CMakeLists.txt b/components/nvs_flash/host_test/nvs_host_test/CMakeLists.txt index 4234d2bcd0..55433da9f9 100644 --- a/components/nvs_flash/host_test/nvs_host_test/CMakeLists.txt +++ b/components/nvs_flash/host_test/nvs_host_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/nvs_flash/host_test/nvs_page_test/CMakeLists.txt b/components/nvs_flash/host_test/nvs_page_test/CMakeLists.txt index ebdfb74975..d0e57d99bd 100644 --- a/components/nvs_flash/host_test/nvs_page_test/CMakeLists.txt +++ b/components/nvs_flash/host_test/nvs_page_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/nvs_flash/test_apps/CMakeLists.txt b/components/nvs_flash/test_apps/CMakeLists.txt index c2fc03610a..976e68142f 100644 --- a/components/nvs_flash/test_apps/CMakeLists.txt +++ b/components/nvs_flash/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") set(COMPONENTS main mbedtls) diff --git a/components/nvs_flash/test_apps_bootloader/CMakeLists.txt b/components/nvs_flash/test_apps_bootloader/CMakeLists.txt index 47be4ce7e9..521f93b042 100644 --- a/components/nvs_flash/test_apps_bootloader/CMakeLists.txt +++ b/components/nvs_flash/test_apps_bootloader/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/perfmon/test_apps/CMakeLists.txt b/components/perfmon/test_apps/CMakeLists.txt index b9d294924a..3c7ce8d1a1 100644 --- a/components/perfmon/test_apps/CMakeLists.txt +++ b/components/perfmon/test_apps/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/protocomm/proto/CMakeLists.txt b/components/protocomm/proto/CMakeLists.txt index 19f4857e6f..a469bf5ead 100644 --- a/components/protocomm/proto/CMakeLists.txt +++ b/components/protocomm/proto/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(PROTO_COMPILER "protoc") set(PROTO_C_COMPILER "protoc-c") diff --git a/components/protocomm/test_apps/CMakeLists.txt b/components/protocomm/test_apps/CMakeLists.txt index b876cca26c..4f07535000 100644 --- a/components/protocomm/test_apps/CMakeLists.txt +++ b/components/protocomm/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") set(COMPONENTS main) diff --git a/components/pthread/test_apps/pthread_psram_tests/CMakeLists.txt b/components/pthread/test_apps/pthread_psram_tests/CMakeLists.txt index fe4a9c10b6..aaed324931 100644 --- a/components/pthread/test_apps/pthread_psram_tests/CMakeLists.txt +++ b/components/pthread/test_apps/pthread_psram_tests/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/pthread/test_apps/pthread_unity_tests/CMakeLists.txt b/components/pthread/test_apps/pthread_unity_tests/CMakeLists.txt index 0123220bc6..d5d5f470e8 100644 --- a/components/pthread/test_apps/pthread_unity_tests/CMakeLists.txt +++ b/components/pthread/test_apps/pthread_unity_tests/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/rt/test_apps/posix_rt_test/CMakeLists.txt b/components/rt/test_apps/posix_rt_test/CMakeLists.txt index 99869dce0a..cb91b09877 100644 --- a/components/rt/test_apps/posix_rt_test/CMakeLists.txt +++ b/components/rt/test_apps/posix_rt_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/spi_flash/test_apps/esp_flash/CMakeLists.txt b/components/spi_flash/test_apps/esp_flash/CMakeLists.txt index c60470c3b8..63797c7c57 100644 --- a/components/spi_flash/test_apps/esp_flash/CMakeLists.txt +++ b/components/spi_flash/test_apps/esp_flash/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/spi_flash/test_apps/esp_flash_stress/CMakeLists.txt b/components/spi_flash/test_apps/esp_flash_stress/CMakeLists.txt index b650bb10c9..b064a9f170 100644 --- a/components/spi_flash/test_apps/esp_flash_stress/CMakeLists.txt +++ b/components/spi_flash/test_apps/esp_flash_stress/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/components/spi_flash/test_apps/components") diff --git a/components/spi_flash/test_apps/flash_encryption/CMakeLists.txt b/components/spi_flash/test_apps/flash_encryption/CMakeLists.txt index 18d194c69a..6cefe78075 100644 --- a/components/spi_flash/test_apps/flash_encryption/CMakeLists.txt +++ b/components/spi_flash/test_apps/flash_encryption/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/spi_flash/test_apps/flash_mmap/CMakeLists.txt b/components/spi_flash/test_apps/flash_mmap/CMakeLists.txt index ecf3df7244..475a815d29 100644 --- a/components/spi_flash/test_apps/flash_mmap/CMakeLists.txt +++ b/components/spi_flash/test_apps/flash_mmap/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/spi_flash/test_apps/flash_suspend/CMakeLists.txt b/components/spi_flash/test_apps/flash_suspend/CMakeLists.txt index def71536f8..0cc1845002 100644 --- a/components/spi_flash/test_apps/flash_suspend/CMakeLists.txt +++ b/components/spi_flash/test_apps/flash_suspend/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/components/spi_flash/test_apps/mspi_test/CMakeLists.txt b/components/spi_flash/test_apps/mspi_test/CMakeLists.txt index 42b2b6a669..7f9278539a 100644 --- a/components/spi_flash/test_apps/mspi_test/CMakeLists.txt +++ b/components/spi_flash/test_apps/mspi_test/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. We also depend on esp_psram # as we set CONFIG_SPIRAM_... options. diff --git a/components/spiffs/host_test/CMakeLists.txt b/components/spiffs/host_test/CMakeLists.txt index 521c80b60d..ad58d6cb41 100644 --- a/components/spiffs/host_test/CMakeLists.txt +++ b/components/spiffs/host_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/spiffs/test_apps/CMakeLists.txt b/components/spiffs/test_apps/CMakeLists.txt index b11f543b68..8c0ca8d269 100644 --- a/components/spiffs/test_apps/CMakeLists.txt +++ b/components/spiffs/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/tcp_transport/host_test/CMakeLists.txt b/components/tcp_transport/host_test/CMakeLists.txt index 9041a793a0..ee3478555f 100644 --- a/components/tcp_transport/host_test/CMakeLists.txt +++ b/components/tcp_transport/host_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS esp_timer lwip tcp_transport main) diff --git a/components/tcp_transport/test_apps/CMakeLists.txt b/components/tcp_transport/test_apps/CMakeLists.txt index 685e7a2b19..e3aaaf0ac6 100644 --- a/components/tcp_transport/test_apps/CMakeLists.txt +++ b/components/tcp_transport/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") set(COMPONENTS main) diff --git a/components/tcp_transport/test_apps/main/CMakeLists.txt b/components/tcp_transport/test_apps/main/CMakeLists.txt index 9c9c85da0e..b3dba0dfa2 100644 --- a/components/tcp_transport/test_apps/main/CMakeLists.txt +++ b/components/tcp_transport/test_apps/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(srcs "test_app_main.c" "test_transport_basic.c" "test_transport_connect" "test_transport_fixtures.c") +set(srcs "test_app_main.c" "test_transport_basic.c" "test_transport_connect.c" "test_transport_fixtures.c") idf_component_register(SRCS ${srcs} PRIV_INCLUDE_DIRS "../../private_include" "." PRIV_REQUIRES cmock test_utils tcp_transport unity esp_psram diff --git a/components/touch_element/test_apps/CMakeLists.txt b/components/touch_element/test_apps/CMakeLists.txt index f68329df02..6cb0566f09 100644 --- a/components/touch_element/test_apps/CMakeLists.txt +++ b/components/touch_element/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/ulp/cmake/CMakeLists.txt b/components/ulp/cmake/CMakeLists.txt index 5bacedede2..b89b2dfbb8 100644 --- a/components/ulp/cmake/CMakeLists.txt +++ b/components/ulp/cmake/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include(${IDF_PATH}/tools/cmake/idf.cmake) project(${ULP_APP_NAME}) diff --git a/components/ulp/test_apps/lp_core/lp_core_basic_tests/CMakeLists.txt b/components/ulp/test_apps/lp_core/lp_core_basic_tests/CMakeLists.txt index bf96025abf..cef3b9c3de 100644 --- a/components/ulp/test_apps/lp_core/lp_core_basic_tests/CMakeLists.txt +++ b/components/ulp/test_apps/lp_core/lp_core_basic_tests/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(PREPEND SDKCONFIG_DEFAULTS "$ENV{IDF_PATH}/tools/test_apps/configs/sdkconfig.debug_helpers" "sdkconfig.defaults") diff --git a/components/ulp/test_apps/lp_core/lp_core_hp_uart/CMakeLists.txt b/components/ulp/test_apps/lp_core/lp_core_hp_uart/CMakeLists.txt index ed55e4f694..436ebdd0b2 100644 --- a/components/ulp/test_apps/lp_core/lp_core_hp_uart/CMakeLists.txt +++ b/components/ulp/test_apps/lp_core/lp_core_hp_uart/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(PREPEND SDKCONFIG_DEFAULTS "$ENV{IDF_PATH}/tools/test_apps/configs/sdkconfig.debug_helpers" "sdkconfig.defaults") diff --git a/components/ulp/test_apps/ulp_fsm/CMakeLists.txt b/components/ulp/test_apps/ulp_fsm/CMakeLists.txt index 84b8b921c2..dfec3d2443 100644 --- a/components/ulp/test_apps/ulp_fsm/CMakeLists.txt +++ b/components/ulp/test_apps/ulp_fsm/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(PREPEND SDKCONFIG_DEFAULTS "$ENV{IDF_PATH}/tools/test_apps/configs/sdkconfig.debug_helpers" "sdkconfig.defaults") diff --git a/components/ulp/test_apps/ulp_riscv/CMakeLists.txt b/components/ulp/test_apps/ulp_riscv/CMakeLists.txt index 3f033c94a7..8e0833cbd0 100644 --- a/components/ulp/test_apps/ulp_riscv/CMakeLists.txt +++ b/components/ulp/test_apps/ulp_riscv/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(PREPEND SDKCONFIG_DEFAULTS "$ENV{IDF_PATH}/tools/test_apps/configs/sdkconfig.debug_helpers" "sdkconfig.defaults") diff --git a/components/unity/test_apps/CMakeLists.txt b/components/unity/test_apps/CMakeLists.txt index 72f70aab08..009c87770f 100644 --- a/components/unity/test_apps/CMakeLists.txt +++ b/components/unity/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/components/usb/host_test/usb_host_layer_test/CMakeLists.txt b/components/usb/host_test/usb_host_layer_test/CMakeLists.txt index 6fea6e4ad7..eeb9e332fc 100644 --- a/components/usb/host_test/usb_host_layer_test/CMakeLists.txt +++ b/components/usb/host_test/usb_host_layer_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/usb/host_test/usbh_layer_test/CMakeLists.txt b/components/usb/host_test/usbh_layer_test/CMakeLists.txt index 60b0b79172..9978cc7002 100644 --- a/components/usb/host_test/usbh_layer_test/CMakeLists.txt +++ b/components/usb/host_test/usbh_layer_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/usb/test_apps/enum/CMakeLists.txt b/components/usb/test_apps/enum/CMakeLists.txt index e3afdd971c..958fb02d4f 100644 --- a/components/usb/test_apps/enum/CMakeLists.txt +++ b/components/usb/test_apps/enum/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/usb/test_apps/ext_port/CMakeLists.txt b/components/usb/test_apps/ext_port/CMakeLists.txt index e06ef3708b..4da0107a83 100644 --- a/components/usb/test_apps/ext_port/CMakeLists.txt +++ b/components/usb/test_apps/ext_port/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/usb/test_apps/hcd/CMakeLists.txt b/components/usb/test_apps/hcd/CMakeLists.txt index f22a5c347a..cb5aee2aac 100644 --- a/components/usb/test_apps/hcd/CMakeLists.txt +++ b/components/usb/test_apps/hcd/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/usb/test_apps/usb_host/CMakeLists.txt b/components/usb/test_apps/usb_host/CMakeLists.txt index f22a5c347a..cb5aee2aac 100644 --- a/components/usb/test_apps/usb_host/CMakeLists.txt +++ b/components/usb/test_apps/usb_host/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/components/wear_levelling/host_test/CMakeLists.txt b/components/wear_levelling/host_test/CMakeLists.txt index fbc5730131..05e103133e 100644 --- a/components/wear_levelling/host_test/CMakeLists.txt +++ b/components/wear_levelling/host_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/components/wear_levelling/test_apps/CMakeLists.txt b/components/wear_levelling/test_apps/CMakeLists.txt index 7d22192892..035fe6eaac 100644 --- a/components/wear_levelling/test_apps/CMakeLists.txt +++ b/components/wear_levelling/test_apps/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/components/wifi_provisioning/proto/CMakeLists.txt b/components/wifi_provisioning/proto/CMakeLists.txt index 08e6980b54..e136306c14 100644 --- a/components/wifi_provisioning/proto/CMakeLists.txt +++ b/components/wifi_provisioning/proto/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(PROTO_COMPILER "protoc") set(PROTO_C_COMPILER "protoc-c") diff --git a/components/wpa_supplicant/test_apps/CMakeLists.txt b/components/wpa_supplicant/test_apps/CMakeLists.txt index 13897a107b..4317df1cd2 100644 --- a/components/wpa_supplicant/test_apps/CMakeLists.txt +++ b/components/wpa_supplicant/test_apps/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/docs/en/api-guides/build-system.rst b/docs/en/api-guides/build-system.rst index c99871ff52..2486c81ec9 100644 --- a/docs/en/api-guides/build-system.rst +++ b/docs/en/api-guides/build-system.rst @@ -214,7 +214,7 @@ Minimal Example CMakeLists Minimal project:: - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(myProject) @@ -226,7 +226,7 @@ Mandatory Parts The inclusion of these three lines, in the order shown above, is necessary for every project: -- ``cmake_minimum_required(VERSION 3.16)`` tells CMake the minimum version that is required to build the project. ESP-IDF is designed to work with CMake 3.16 or newer. This line must be the first line in the CMakeLists.txt file. +- ``cmake_minimum_required(VERSION 3.22)`` tells CMake the minimum version that is required to build the project. ESP-IDF is designed to work with CMake 3.22 or newer. This line must be the first line in the CMakeLists.txt file. - ``include($ENV{IDF_PATH}/tools/cmake/project.cmake)`` pulls in the rest of the CMake functionality to configure the project, discover all the components, etc. - ``project(myProject)`` creates the project itself, and specifies the project name. The project name is used for the final binary output files of the app - ie ``myProject.elf``, ``myProject.bin``. Only one project can be defined per CMakeLists file. @@ -276,7 +276,7 @@ For example, one of the default build specifications set is the compile option ` it should be done after ``project()``:: - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(myProject) @@ -383,7 +383,7 @@ The following are some project/build variables that are available as build prope * If :ref:`CONFIG_APP_PROJECT_VER_FROM_CONFIG` option is set, the value of :ref:`CONFIG_APP_PROJECT_VER` will be used. * Else, if ``PROJECT_VER`` variable is set in project CMakeLists.txt file, its value will be used. * Else, if the ``PROJECT_DIR/version.txt`` exists, its contents will be used as ``PROJECT_VER``. - * Else, if ``VERSION`` argument is passed to the ``project()`` call in the CMakeLists.txt file as ``project(... VERSION x.y.z.w )`` then it will be used as ``PROJECT_VER``. The ``VERSION`` argument must be compliant with the `cmake standard `_. + * Else, if ``VERSION`` argument is passed to the ``project()`` call in the CMakeLists.txt file as ``project(... VERSION x.y.z.w )`` then it will be used as ``PROJECT_VER``. The ``VERSION`` argument must be compliant with the `cmake standard `_. * Else, if the project is located inside a Git repository, the output of git description will be used. * Otherwise, ``PROJECT_VER`` will be "1". - ``EXTRA_PARTITION_SUBTYPES``: CMake list of extra partition subtypes. Each subtype description is a comma-separated string with ``type_name, subtype_name, numeric_value`` format. Components may add new subtypes by appending them to this list. @@ -808,7 +808,7 @@ Special components which contain no source files, only ``Kconfig.projbuild`` and Debugging CMake =============== -For full details about CMake_ and CMake commands, see the `CMake v3.16 documentation`_. +For full details about CMake_ and CMake commands, see the `CMake v3.22 documentation`_. Some tips for debugging the ESP-IDF CMake-based build system: @@ -1236,7 +1236,7 @@ It is possible to do so by using the :ref:`build system APIs provided `_. + +CMake version upgrade +--------------------- + +The minimal supported CMake version has been upgraded to 3.22.1. In case you encounter build issues regarding this change, we recommend updating your operating system to a version that includes CMake 3.22 or newer. + +If updating the OS is not possible, you can install a recommended CMake version using the following command: ``./tools/idf_tools.py install cmake``. + +This affects ESP-IDF users who use system-provided CMake and custom CMake. diff --git a/docs/zh_CN/api-guides/build-system.rst b/docs/zh_CN/api-guides/build-system.rst index 9ebd7c27b0..3f9c532428 100644 --- a/docs/zh_CN/api-guides/build-system.rst +++ b/docs/zh_CN/api-guides/build-system.rst @@ -214,7 +214,7 @@ ESP-IDF 适用于 Python 3.10 以上版本。 最小项目:: - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(myProject) @@ -226,7 +226,7 @@ ESP-IDF 适用于 Python 3.10 以上版本。 每个项目都要按照上面显示的顺序添加上述三行代码: -- ``cmake_minimum_required(VERSION 3.16)`` 必须放在 CMakeLists.txt 文件的第一行,它会告诉 CMake 构建该项目所需要的最小版本号。ESP-IDF 支持 CMake 3.16 或更高的版本。 +- ``cmake_minimum_required(VERSION 3.22)`` 必须放在 CMakeLists.txt 文件的第一行,它会告诉 CMake 构建该项目所需要的最小版本号。ESP-IDF 支持 CMake 3.22 或更高的版本。 - ``include($ENV{IDF_PATH}/tools/cmake/project.cmake)`` 会导入 CMake 的其余功能来完成配置项目、检索组件等任务。 - ``project(myProject)`` 会创建项目本身,并指定项目名称。该名称会作为最终输出的二进制文件的名字,即 ``myProject.elf`` 和 ``myProject.bin``。每个 CMakeLists 文件只能定义一个项目。 @@ -276,7 +276,7 @@ ESP-IDF 适用于 Python 3.10 以上版本。 应在 ``project()`` 之后进行:: - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(myProject) @@ -383,7 +383,7 @@ ESP-IDF 在搜索所有待构建的组件时,会按照以下优先级搜索组 * 如果设置 :ref:`CONFIG_APP_PROJECT_VER_FROM_CONFIG` 选项,将会使用 :ref:`CONFIG_APP_PROJECT_VER` 的值。 * 或者,如果在项目 CMakeLists.txt 文件中设置了 ``PROJECT_VER`` 变量,则该变量值可以使用。 * 或者,如果 ``PROJECT_DIR/version.txt`` 文件存在,其内容会用作 ``PROJECT_VER`` 的值。 - * 或者,如果在 CMakeLists.txt 文件中将 ``VERSION`` 参数传递给 ``project()`` 调用,形式为 ``project(... VERSION x.y.z.w )``,那么 ``VERSION`` 参数将用作为 ``PROJECT_VER`` 的值。``VERSION`` 参数必须符合 `cmake 标准 `_。 + * 或者,如果在 CMakeLists.txt 文件中将 ``VERSION`` 参数传递给 ``project()`` 调用,形式为 ``project(... VERSION x.y.z.w )``,那么 ``VERSION`` 参数将用作为 ``PROJECT_VER`` 的值。``VERSION`` 参数必须符合 `cmake 标准 `_。 * 或者,如果项目位于某个 Git 仓库中,则使用 ``git describe`` 命令的输出作为 ``PROJECT_VER`` 的值。 * 否则,``PROJECT_VER`` 的值为 1。 - ``EXTRA_PARTITION_SUBTYPES``:CMake 列表,用于创建额外的分区子类型。子类型的描述由字符串组成,以逗号为分隔,格式为 ``type_name, subtype_name, numeric_value``。组件可通过此列表,添加新的子类型。 @@ -808,7 +808,7 @@ Kconfig.projbuild CMake 调试 =========== -请查看 `CMake v3.16 官方文档`_ 获取更多关于 CMake_ 和 CMake 命令的信息。 +请查看 `CMake v3.22 官方文档`_ 获取更多关于 CMake_ 和 CMake 命令的信息。 调试 ESP-IDF CMake 构建系统的一些技巧: @@ -1236,7 +1236,7 @@ ESP-IDF 提供了一个模板 CMake 项目,可以基于此轻松创建应用 .. code-block:: cmake - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.22) project(my_custom_app C) # 导入提供 ESP-IDF CMake 构建系统 API 的 CMake 文件 @@ -1707,23 +1707,23 @@ CMake 中不可用的功能 .. _Cmake: https://cmake.org .. _ninja: https://ninja-build.org .. _esptool.py: https://github.com/espressif/esptool/#readme -.. _CMake v3.16 官方文档: https://cmake.org/cmake/help/v3.16/index.html -.. _cmake 命令行文档: https://cmake.org/cmake/help/v3.16/manual/cmake.1.html#options -.. _cmake add_library: https://cmake.org/cmake/help/v3.16/command/add_library.html -.. _cmake if: https://cmake.org/cmake/help/v3.16/command/if.html -.. _cmake list: https://cmake.org/cmake/help/v3.16/command/list.html -.. _cmake project: https://cmake.org/cmake/help/v3.16/command/project.html -.. _cmake set: https://cmake.org/cmake/help/v3.16/command/set.html -.. _cmake string: https://cmake.org/cmake/help/v3.16/command/string.html +.. _CMake v3.22 官方文档: https://cmake.org/cmake/help/v3.22/index.html +.. _cmake 命令行文档: https://cmake.org/cmake/help/v3.22/manual/cmake.1.html#options +.. _cmake add_library: https://cmake.org/cmake/help/v3.22/command/add_library.html +.. _cmake if: https://cmake.org/cmake/help/v3.22/command/if.html +.. _cmake list: https://cmake.org/cmake/help/v3.22/command/list.html +.. _cmake project: https://cmake.org/cmake/help/v3.22/command/project.html +.. _cmake set: https://cmake.org/cmake/help/v3.22/command/set.html +.. _cmake string: https://cmake.org/cmake/help/v3.22/command/string.html .. _cmake faq generated files: https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#how-can-i-generate-a-source-file-during-the-build -.. _ADDITIONAL_MAKE_CLEAN_FILES: https://cmake.org/cmake/help/v3.16/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.html -.. _ExternalProject: https://cmake.org/cmake/help/v3.16/module/ExternalProject.html -.. _cmake language variables: https://cmake.org/cmake/help/v3.16/manual/cmake-variables.7.html#variables-for-languages -.. _set_source_files_properties: https://cmake.org/cmake/help/v3.16/command/set_source_files_properties.html -.. _target_compile_options: https://cmake.org/cmake/help/v3.16/command/target_compile_options.html -.. _target_link_libraries: https://cmake.org/cmake/help/v3.16/command/target_link_libraries.html#command:target_link_libraries -.. _cmake_toolchain_file: https://cmake.org/cmake/help/v3.16/variable/CMAKE_TOOLCHAIN_FILE.html -.. _LINK_INTERFACE_MULTIPLICITY: https://cmake.org/cmake/help/v3.16/prop_tgt/LINK_INTERFACE_MULTIPLICITY.html +.. _ADDITIONAL_MAKE_CLEAN_FILES: https://cmake.org/cmake/help/v3.22/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.html +.. _ExternalProject: https://cmake.org/cmake/help/v3.22/module/ExternalProject.html +.. _cmake language variables: https://cmake.org/cmake/help/v3.22/manual/cmake-variables.7.html#variables-for-languages +.. _set_source_files_properties: https://cmake.org/cmake/help/v3.22/command/set_source_files_properties.html +.. _target_compile_options: https://cmake.org/cmake/help/v3.22/command/target_compile_options.html +.. _target_link_libraries: https://cmake.org/cmake/help/v3.22/command/target_link_libraries.html#command:target_link_libraries +.. _cmake_toolchain_file: https://cmake.org/cmake/help/v3.22/variable/CMAKE_TOOLCHAIN_FILE.html +.. _LINK_INTERFACE_MULTIPLICITY: https://cmake.org/cmake/help/v3.22/prop_tgt/LINK_INTERFACE_MULTIPLICITY.html .. _quirc: https://github.com/dlbeer/quirc .. _pyenv: https://github.com/pyenv/pyenv#readme .. _virtualenv: https://virtualenv.pypa.io/en/stable/ diff --git a/docs/zh_CN/api-reference/system/ulp-lp-core.rst b/docs/zh_CN/api-reference/system/ulp-lp-core.rst index 8e9c1651a0..92b5028e4d 100644 --- a/docs/zh_CN/api-reference/system/ulp-lp-core.rst +++ b/docs/zh_CN/api-reference/system/ulp-lp-core.rst @@ -68,7 +68,7 @@ ULP LP 内核代码会与 ESP-IDF 项目共同编译,生成一个单独的二 .. code-block:: cmake - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.22) # 项目/目标名称由主项目传递,允许 IDF 依赖此目标 # 将二进制文件嵌入到主应用程序中 diff --git a/docs/zh_CN/api-reference/system/ulp-risc-v.rst b/docs/zh_CN/api-reference/system/ulp-risc-v.rst index 4efc230c3c..9599e5122b 100644 --- a/docs/zh_CN/api-reference/system/ulp-risc-v.rst +++ b/docs/zh_CN/api-reference/system/ulp-risc-v.rst @@ -71,7 +71,7 @@ ULP RISC-V 协处理器代码以 C 语言(或汇编语言)编写,使用基 .. code-block:: cmake - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.22) # 项目/目标名称由主项目传递,允许 IDF 依赖此目标 # 将二进制文件嵌入到主应用程序中 diff --git a/docs/zh_CN/get-started/linux-macos-setup.rst b/docs/zh_CN/get-started/linux-macos-setup.rst index ad78ae64f7..abe4bb6498 100644 --- a/docs/zh_CN/get-started/linux-macos-setup.rst +++ b/docs/zh_CN/get-started/linux-macos-setup.rst @@ -47,7 +47,7 @@ Linux 用户 sudo pacman -S --needed gcc git make flex bison gperf python cmake ninja ccache dfu-util libusb python-pip .. note:: - - 使用 ESP-IDF 需要 CMake 3.16 或以上版本。较早的 Linux 发行版可能需要升级自身的软件源仓库,或开启 backports 套件库,或安装 "cmake3" 软件包(不是安装 "cmake")。 + - 使用 ESP-IDF 需要 CMake 3.22 或以上版本。较早的 Linux 发行版可能需要升级自身的软件源仓库,或开启 backports 套件库,或安装 "cmake3" 软件包(不是安装 "cmake")。 - 如果上述列表中没有当前所用系统,请参考所用系统的相关文档,查看安装软件包所用的命令。 macOS 用户 diff --git a/docs/zh_CN/migration-guides/release-6.x/6.0/tools.rst b/docs/zh_CN/migration-guides/release-6.x/6.0/tools.rst index 7f81a57c18..819f20ec17 100644 --- a/docs/zh_CN/migration-guides/release-6.x/6.0/tools.rst +++ b/docs/zh_CN/migration-guides/release-6.x/6.0/tools.rst @@ -44,3 +44,12 @@ Python 3.9 已不再受支持。现在要求的最低 Python 版本为 3.10。 ---------------- ESP-IDF v6 使用了 esp-idf-kconfig v3,对配置文件 ``Kconfig`` 的语法进行了若干变更。完整变更列表请参阅 `Migration Guide From esp-idf-kconfig v2.x to v3.x `_。 + +CMake 版本升级 +--------------------- + +最低支持的 CMake 版本已升级至 3.22.1。如果你在构建过程中遇到与此相关的问题,建议将操作系统升级到包含 CMake 3.22 或更高版本。 + +如果无法升级操作系统,可以使用以下命令安装推荐的 CMake 版本:``./tools/idf_tools.py install cmake``。 + +此变更影响所有使用系统自带 CMake 或自定义 CMake 的 ESP-IDF 用户。 diff --git a/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_Beacon/CMakeLists.txt b/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_Beacon/CMakeLists.txt index eca268b9ab..4e3ab74b80 100644 --- a/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_Beacon/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_Beacon/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(bluedroid_beacon) diff --git a/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_Connection/CMakeLists.txt b/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_Connection/CMakeLists.txt index 24a79e64d8..16b35cf902 100644 --- a/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_Connection/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_Connection/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(bluedroid_connection) diff --git a/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_GATT_Server/CMakeLists.txt b/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_GATT_Server/CMakeLists.txt index c4b8cc75f8..2cff74dce8 100644 --- a/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_GATT_Server/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/bluedroid/Bluedroid_GATT_Server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(bluedroid_gatt_server) diff --git a/examples/bluetooth/ble_get_started/nimble/NimBLE_Beacon/CMakeLists.txt b/examples/bluetooth/ble_get_started/nimble/NimBLE_Beacon/CMakeLists.txt index da31a4c62a..da6274af92 100644 --- a/examples/bluetooth/ble_get_started/nimble/NimBLE_Beacon/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/nimble/NimBLE_Beacon/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/ble_get_started/nimble/NimBLE_Connection/CMakeLists.txt b/examples/bluetooth/ble_get_started/nimble/NimBLE_Connection/CMakeLists.txt index 1a0f14f864..6bbb76f2e3 100644 --- a/examples/bluetooth/ble_get_started/nimble/NimBLE_Connection/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/nimble/NimBLE_Connection/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/ble_get_started/nimble/NimBLE_GATT_Server/CMakeLists.txt b/examples/bluetooth/ble_get_started/nimble/NimBLE_GATT_Server/CMakeLists.txt index 69f6c1bfb5..7e9a9c60fa 100644 --- a/examples/bluetooth/ble_get_started/nimble/NimBLE_GATT_Server/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/nimble/NimBLE_GATT_Server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/ble_get_started/nimble/NimBLE_Security/CMakeLists.txt b/examples/bluetooth/ble_get_started/nimble/NimBLE_Security/CMakeLists.txt index bc63a9865d..4ce268ea41 100644 --- a/examples/bluetooth/ble_get_started/nimble/NimBLE_Security/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/nimble/NimBLE_Security/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/ble_ancs/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_ancs/CMakeLists.txt index 6f8037a00b..8d280e3f4f 100644 --- a/examples/bluetooth/bluedroid/ble/ble_ancs/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_ancs/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/ble_compatibility_test/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_compatibility_test/CMakeLists.txt index 494477b2a8..d250af6b94 100644 --- a/examples/bluetooth/bluedroid/ble/ble_compatibility_test/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_compatibility_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/ble_eddystone_receiver/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_eddystone_receiver/CMakeLists.txt index 7d199af460..94b9a4cb5e 100644 --- a/examples/bluetooth/bluedroid/ble/ble_eddystone_receiver/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_eddystone_receiver/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/ble_eddystone_sender/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_eddystone_sender/CMakeLists.txt index c16dc67db8..3487a9e90b 100644 --- a/examples/bluetooth/bluedroid/ble/ble_eddystone_sender/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_eddystone_sender/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(ble_eddystone_demo) diff --git a/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/CMakeLists.txt index 6bd2c67839..87b5653d94 100644 --- a/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/ble_ibeacon/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_ibeacon/CMakeLists.txt index 49998e7b8f..5dd66d4581 100644 --- a/examples/bluetooth/bluedroid/ble/ble_ibeacon/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_ibeacon/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/ble_spp_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_spp_client/CMakeLists.txt index 5c652dad4d..7756f5a794 100644 --- a/examples/bluetooth/bluedroid/ble/ble_spp_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_spp_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/ble_spp_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_spp_server/CMakeLists.txt index f7975f01f8..105841737a 100644 --- a/examples/bluetooth/bluedroid/ble/ble_spp_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_spp_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/CMakeLists.txt index 4b8ec4dd56..8d1faa23ad 100644 --- a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/CMakeLists.txt index 269505eb80..3f89bfb964 100644 --- a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/gatt_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gatt_client/CMakeLists.txt index 8dd54ebed3..55e0276457 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gatt_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/gatt_security_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gatt_security_client/CMakeLists.txt index 410ffc0a8c..1e7bac495a 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_security_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gatt_security_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/gatt_security_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gatt_security_server/CMakeLists.txt index 23c4eb0241..d1108ed138 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_security_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gatt_security_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/gatt_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gatt_server/CMakeLists.txt index a5e2286bde..2cf5b2127c 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gatt_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/gatt_server_service_table/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gatt_server_service_table/CMakeLists.txt index a187814c3f..c768b52cfe 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_server_service_table/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gatt_server_service_table/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble/gattc_multi_connect/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gattc_multi_connect/CMakeLists.txt index 4781980b20..fb16d1dc79 100644 --- a/examples/bluetooth/bluedroid/ble/gattc_multi_connect/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gattc_multi_connect/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_security_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/ble50_security_client/CMakeLists.txt index f109ed691a..72f76505ee 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_security_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/ble50_security_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_security_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/ble50_security_server/CMakeLists.txt index 05b9250a87..b5c26ccf41 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_security_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/ble50_security_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_throughput/throughput_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/ble50_throughput/throughput_client/CMakeLists.txt index 0944282d56..417584f10d 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_throughput/throughput_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/ble50_throughput/throughput_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(throughput_client_demo) diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_throughput/throughput_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/ble50_throughput/throughput_server/CMakeLists.txt index 33fc2e240a..73d472dad1 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_throughput/throughput_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/ble50_throughput/throughput_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(throughput_server_demo) diff --git a/examples/bluetooth/bluedroid/ble_50/multi-adv/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/multi-adv/CMakeLists.txt index 186d54bdce..bee58b0b96 100644 --- a/examples/bluetooth/bluedroid/ble_50/multi-adv/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/multi-adv/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble_50/periodic_adv/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/periodic_adv/CMakeLists.txt index 51aadd7ff0..f09bcb853d 100644 --- a/examples/bluetooth/bluedroid/ble_50/periodic_adv/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/periodic_adv/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/ble_50/periodic_sync/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/periodic_sync/CMakeLists.txt index ff53950121..eab663f8e9 100644 --- a/examples/bluetooth/bluedroid/ble_50/periodic_sync/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/periodic_sync/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/bluedroid_host_only/bluedroid_host_only_uart/CMakeLists.txt b/examples/bluetooth/bluedroid/bluedroid_host_only/bluedroid_host_only_uart/CMakeLists.txt index 623ff47c21..cf03137c1a 100644 --- a/examples/bluetooth/bluedroid/bluedroid_host_only/bluedroid_host_only_uart/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/bluedroid_host_only/bluedroid_host_only_uart/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/CMakeLists.txt index 1d31e07835..4602462be0 100644 --- a/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/a2dp_source/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/a2dp_source/CMakeLists.txt index 9cb3590046..6fadcd3f82 100644 --- a/examples/bluetooth/bluedroid/classic_bt/a2dp_source/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/a2dp_source/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_discovery/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_discovery/CMakeLists.txt index 37fa615c70..d09630a16b 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_discovery/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_discovery/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/CMakeLists.txt index 22f7b2ec57..8c08b60476 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/CMakeLists.txt @@ -1,7 +1,7 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_client/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_client/CMakeLists.txt index 18ca7519f4..6cfde57419 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_server/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_server/CMakeLists.txt index 193cf28280..c06c699abf 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/CMakeLists.txt index 8428a535bf..ce5663c640 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/CMakeLists.txt index 18cc698298..d4baaae63f 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/CMakeLists.txt index bb154b282f..c63be9fb51 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/CMakeLists.txt index 3ea66c0e72..d1e7db1dfc 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/hfp_ag/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/hfp_ag/CMakeLists.txt index 8f3180377e..16604499b3 100644 --- a/examples/bluetooth/bluedroid/classic_bt/hfp_ag/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/hfp_ag/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/classic_bt/hfp_hf/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/hfp_hf/CMakeLists.txt index 5966443c9d..fadcd5ef23 100644 --- a/examples/bluetooth/bluedroid/classic_bt/hfp_hf/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/hfp_hf/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/CMakeLists.txt b/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/CMakeLists.txt index 4d5a2bfe50..887bad48dd 100644 --- a/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/CMakeLists.txt b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/CMakeLists.txt index 9f4e5ddca6..b1d11686fe 100644 --- a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/blufi/CMakeLists.txt b/examples/bluetooth/blufi/CMakeLists.txt index b2b22fbb35..9f13cca1a2 100644 --- a/examples/bluetooth/blufi/CMakeLists.txt +++ b/examples/bluetooth/blufi/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/aligenie_demo/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/aligenie_demo/CMakeLists.txt index 4f1b682847..e1403d2814 100644 --- a/examples/bluetooth/esp_ble_mesh/aligenie_demo/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/aligenie_demo/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_client/CMakeLists.txt index 521af073f9..7e1d419d32 100644 --- a/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_server/CMakeLists.txt index e94148ac96..6d5025e0d7 100644 --- a/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_client/CMakeLists.txt index 756e955f5f..a1345b7929 100644 --- a/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_server/CMakeLists.txt index f83245b38f..8e3447fd1b 100644 --- a/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_client/CMakeLists.txt index 521af073f9..7e1d419d32 100644 --- a/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_server/CMakeLists.txt index e94148ac96..6d5025e0d7 100644 --- a/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/provisioner/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/provisioner/CMakeLists.txt index bc0b538d2e..bd399761c2 100644 --- a/examples/bluetooth/esp_ble_mesh/provisioner/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/provisioner/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_client/CMakeLists.txt index 7fc7f54784..b3d6e54374 100644 --- a/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_server/CMakeLists.txt index e94148ac96..6d5025e0d7 100644 --- a/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/remote_provisioning/unprov_dev/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/remote_provisioning/unprov_dev/CMakeLists.txt index e94148ac96..6d5025e0d7 100644 --- a/examples/bluetooth/esp_ble_mesh/remote_provisioning/unprov_dev/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/remote_provisioning/unprov_dev/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_client/CMakeLists.txt index 238a711f28..1adcbd78a5 100644 --- a/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_server/CMakeLists.txt index 717f9fc6e3..d757a09f3e 100644 --- a/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_client/CMakeLists.txt index 20498f7114..365f4491b2 100644 --- a/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_server/CMakeLists.txt index 60f3eb9f37..a3afcf7bf0 100644 --- a/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_ble_mesh/wifi_coexist/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/wifi_coexist/CMakeLists.txt index 130d790ead..9c814f860a 100644 --- a/examples/bluetooth/esp_ble_mesh/wifi_coexist/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/wifi_coexist/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_hid_device/CMakeLists.txt b/examples/bluetooth/esp_hid_device/CMakeLists.txt index 264cf86cdc..09a990d9d3 100644 --- a/examples/bluetooth/esp_hid_device/CMakeLists.txt +++ b/examples/bluetooth/esp_hid_device/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/esp_hid_host/CMakeLists.txt b/examples/bluetooth/esp_hid_host/CMakeLists.txt index 5185fe42ff..40fc96634a 100644 --- a/examples/bluetooth/esp_hid_host/CMakeLists.txt +++ b/examples/bluetooth/esp_hid_host/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/hci/ble_adv_scan_combined/CMakeLists.txt b/examples/bluetooth/hci/ble_adv_scan_combined/CMakeLists.txt index 6940b955f2..c5987b8dc3 100644 --- a/examples/bluetooth/hci/ble_adv_scan_combined/CMakeLists.txt +++ b/examples/bluetooth/hci/ble_adv_scan_combined/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/hci/controller_hci_uart_esp32/CMakeLists.txt b/examples/bluetooth/hci/controller_hci_uart_esp32/CMakeLists.txt index d7988b85d2..aa1b48a0ca 100644 --- a/examples/bluetooth/hci/controller_hci_uart_esp32/CMakeLists.txt +++ b/examples/bluetooth/hci/controller_hci_uart_esp32/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/hci/controller_hci_uart_esp32c3_and_esp32s3/CMakeLists.txt b/examples/bluetooth/hci/controller_hci_uart_esp32c3_and_esp32s3/CMakeLists.txt index 52d85ab45f..158f67353a 100644 --- a/examples/bluetooth/hci/controller_hci_uart_esp32c3_and_esp32s3/CMakeLists.txt +++ b/examples/bluetooth/hci/controller_hci_uart_esp32c3_and_esp32s3/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/hci/controller_vhci_ble_adv/CMakeLists.txt b/examples/bluetooth/hci/controller_vhci_ble_adv/CMakeLists.txt index 8b46189789..379eb82a53 100644 --- a/examples/bluetooth/hci/controller_vhci_ble_adv/CMakeLists.txt +++ b/examples/bluetooth/hci/controller_vhci_ble_adv/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_ancs/CMakeLists.txt b/examples/bluetooth/nimble/ble_ancs/CMakeLists.txt index 98f604ab17..b25228c572 100644 --- a/examples/bluetooth/nimble/ble_ancs/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_ancs/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_cte/ble_periodic_adv_with_cte/CMakeLists.txt b/examples/bluetooth/nimble/ble_cte/ble_periodic_adv_with_cte/CMakeLists.txt index 12819ac6d5..7c09e18d11 100644 --- a/examples/bluetooth/nimble/ble_cte/ble_periodic_adv_with_cte/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_cte/ble_periodic_adv_with_cte/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_cte/ble_periodic_sync_with_cte/CMakeLists.txt b/examples/bluetooth/nimble/ble_cte/ble_periodic_sync_with_cte/CMakeLists.txt index 1124620805..d509d4227a 100644 --- a/examples/bluetooth/nimble/ble_cte/ble_periodic_sync_with_cte/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_cte/ble_periodic_sync_with_cte/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_cts/cts_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_cts/cts_cent/CMakeLists.txt index 96444df0fc..752ef1112e 100644 --- a/examples/bluetooth/nimble/ble_cts/cts_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_cts/cts_cent/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_cts/cts_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_cts/cts_prph/CMakeLists.txt index b79be75172..e929a92c43 100644 --- a/examples/bluetooth/nimble/ble_cts/cts_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_cts/cts_prph/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_dynamic_service/CMakeLists.txt b/examples/bluetooth/nimble/ble_dynamic_service/CMakeLists.txt index 430f643a55..5a9e6dcc17 100644 --- a/examples/bluetooth/nimble/ble_dynamic_service/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_dynamic_service/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/CMakeLists.txt index b7945d6e1f..29c33aa36b 100644 --- a/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_prph/CMakeLists.txt index 2332cd554c..703984ed03 100644 --- a/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_prph/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_gattc_gatts_coex/CMakeLists.txt b/examples/bluetooth/nimble/ble_gattc_gatts_coex/CMakeLists.txt index baa4fc7255..a107cbf19c 100644 --- a/examples/bluetooth/nimble/ble_gattc_gatts_coex/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_gattc_gatts_coex/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_htp/htp_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_htp/htp_cent/CMakeLists.txt index d6fe9dd722..38b45de208 100644 --- a/examples/bluetooth/nimble/ble_htp/htp_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_htp/htp_cent/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_htp/htp_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_htp/htp_prph/CMakeLists.txt index 0d957818e9..7a5bae3f57 100644 --- a/examples/bluetooth/nimble/ble_htp/htp_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_htp/htp_prph/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_multi_adv/CMakeLists.txt b/examples/bluetooth/nimble/ble_multi_adv/CMakeLists.txt index 9e2f2a134e..c0dd8b09a6 100644 --- a/examples/bluetooth/nimble/ble_multi_adv/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_multi_adv/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_cent/CMakeLists.txt index f3f3a38bc6..cfa537adba 100644 --- a/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_cent/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_prph/CMakeLists.txt index 55ce78a43a..9f5e3b5c0f 100644 --- a/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_prph/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_pawr_adv/ble_pawr_adv/CMakeLists.txt b/examples/bluetooth/nimble/ble_pawr_adv/ble_pawr_adv/CMakeLists.txt index 69ca4023b1..84a81adf72 100644 --- a/examples/bluetooth/nimble/ble_pawr_adv/ble_pawr_adv/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_pawr_adv/ble_pawr_adv/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(ble_pawr_adv) diff --git a/examples/bluetooth/nimble/ble_pawr_adv/ble_pawr_sync/CMakeLists.txt b/examples/bluetooth/nimble/ble_pawr_adv/ble_pawr_sync/CMakeLists.txt index 39e048fcc9..09546f224f 100644 --- a/examples/bluetooth/nimble/ble_pawr_adv/ble_pawr_sync/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_pawr_adv/ble_pawr_sync/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(ble_pawr_sync) diff --git a/examples/bluetooth/nimble/ble_pawr_adv_conn/ble_pawr_adv_conn/CMakeLists.txt b/examples/bluetooth/nimble/ble_pawr_adv_conn/ble_pawr_adv_conn/CMakeLists.txt index 6cba0c9d84..69183105a1 100644 --- a/examples/bluetooth/nimble/ble_pawr_adv_conn/ble_pawr_adv_conn/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_pawr_adv_conn/ble_pawr_adv_conn/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(ble_pawr_adv_conn) diff --git a/examples/bluetooth/nimble/ble_pawr_adv_conn/ble_pawr_sync_conn/CMakeLists.txt b/examples/bluetooth/nimble/ble_pawr_adv_conn/ble_pawr_sync_conn/CMakeLists.txt index a46859beb6..d36220d02a 100644 --- a/examples/bluetooth/nimble/ble_pawr_adv_conn/ble_pawr_sync_conn/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_pawr_adv_conn/ble_pawr_sync_conn/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(ble_pawr_sync_conn) diff --git a/examples/bluetooth/nimble/ble_periodic_adv/CMakeLists.txt b/examples/bluetooth/nimble/ble_periodic_adv/CMakeLists.txt index 5b46c82ede..5ecabe07fa 100644 --- a/examples/bluetooth/nimble/ble_periodic_adv/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_periodic_adv/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_periodic_sync/CMakeLists.txt b/examples/bluetooth/nimble/ble_periodic_sync/CMakeLists.txt index e898c55405..0cea576410 100644 --- a/examples/bluetooth/nimble/ble_periodic_sync/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_periodic_sync/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. idf_build_set_property(MINIMAL_BUILD ON) diff --git a/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt index 1cec2b1e43..17b0437158 100644 --- a/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt index 4e76e59b28..dd0c1eaac2 100644 --- a/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/CMakeLists.txt index 0cf1022443..a1668addda 100644 --- a/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_prph/CMakeLists.txt index 5495f702f2..7ca0d9cc59 100644 --- a/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_prph/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_spp/spp_client/CMakeLists.txt b/examples/bluetooth/nimble/ble_spp/spp_client/CMakeLists.txt index b9ecbe35a2..16c59bd308 100644 --- a/examples/bluetooth/nimble/ble_spp/spp_client/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_spp/spp_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/ble_spp/spp_server/CMakeLists.txt b/examples/bluetooth/nimble/ble_spp/spp_server/CMakeLists.txt index 96309b33bd..a51ae5c5ae 100644 --- a/examples/bluetooth/nimble/ble_spp/spp_server/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_spp/spp_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/blecent/CMakeLists.txt b/examples/bluetooth/nimble/blecent/CMakeLists.txt index f3f3a38bc6..cfa537adba 100644 --- a/examples/bluetooth/nimble/blecent/CMakeLists.txt +++ b/examples/bluetooth/nimble/blecent/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/blecsc/CMakeLists.txt b/examples/bluetooth/nimble/blecsc/CMakeLists.txt index fa0177c55d..2f0ad95d9e 100644 --- a/examples/bluetooth/nimble/blecsc/CMakeLists.txt +++ b/examples/bluetooth/nimble/blecsc/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/blehr/CMakeLists.txt b/examples/bluetooth/nimble/blehr/CMakeLists.txt index f7b35a40ef..486064eb8e 100644 --- a/examples/bluetooth/nimble/blehr/CMakeLists.txt +++ b/examples/bluetooth/nimble/blehr/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/blemesh/CMakeLists.txt b/examples/bluetooth/nimble/blemesh/CMakeLists.txt index 34ff506422..7da50c133d 100644 --- a/examples/bluetooth/nimble/blemesh/CMakeLists.txt +++ b/examples/bluetooth/nimble/blemesh/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/bleprph/CMakeLists.txt b/examples/bluetooth/nimble/bleprph/CMakeLists.txt index 32bafd2096..4ed234067a 100644 --- a/examples/bluetooth/nimble/bleprph/CMakeLists.txt +++ b/examples/bluetooth/nimble/bleprph/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Include the Bluetooth-optimized mbedTLS preset configuration # This provides optimized settings for Bluetooth applications diff --git a/examples/bluetooth/nimble/bleprph_host_only/CMakeLists.txt b/examples/bluetooth/nimble/bleprph_host_only/CMakeLists.txt index 8ec77fa619..f06f217337 100644 --- a/examples/bluetooth/nimble/bleprph_host_only/CMakeLists.txt +++ b/examples/bluetooth/nimble/bleprph_host_only/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/bleprph_wifi_coex/CMakeLists.txt b/examples/bluetooth/nimble/bleprph_wifi_coex/CMakeLists.txt index b9377ae5d8..1ddb38b174 100644 --- a/examples/bluetooth/nimble/bleprph_wifi_coex/CMakeLists.txt +++ b/examples/bluetooth/nimble/bleprph_wifi_coex/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/power_save/CMakeLists.txt b/examples/bluetooth/nimble/power_save/CMakeLists.txt index 63bd404a98..86e2fb4b49 100644 --- a/examples/bluetooth/nimble/power_save/CMakeLists.txt +++ b/examples/bluetooth/nimble/power_save/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/throughput_app/blecent_throughput/CMakeLists.txt b/examples/bluetooth/nimble/throughput_app/blecent_throughput/CMakeLists.txt index 86a559dba6..e753b3947a 100644 --- a/examples/bluetooth/nimble/throughput_app/blecent_throughput/CMakeLists.txt +++ b/examples/bluetooth/nimble/throughput_app/blecent_throughput/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/bluetooth/nimble/throughput_app/bleprph_throughput/CMakeLists.txt b/examples/bluetooth/nimble/throughput_app/bleprph_throughput/CMakeLists.txt index 5fb9f9a86c..f6747cbb96 100644 --- a/examples/bluetooth/nimble/throughput_app/bleprph_throughput/CMakeLists.txt +++ b/examples/bluetooth/nimble/throughput_app/bleprph_throughput/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/build_system/cmake/component_manager/CMakeLists.txt b/examples/build_system/cmake/component_manager/CMakeLists.txt index 165acd4539..46d3fc2441 100644 --- a/examples/build_system/cmake/component_manager/CMakeLists.txt +++ b/examples/build_system/cmake/component_manager/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/build_system/cmake/idf_as_lib/CMakeLists.txt b/examples/build_system/cmake/idf_as_lib/CMakeLists.txt index 53a0188134..cd14f7414f 100644 --- a/examples/build_system/cmake/idf_as_lib/CMakeLists.txt +++ b/examples/build_system/cmake/idf_as_lib/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) project(idf_as_lib C) diff --git a/examples/build_system/cmake/import_lib/CMakeLists.txt b/examples/build_system/cmake/import_lib/CMakeLists.txt index 636ad16efb..8cfc94e6c3 100644 --- a/examples/build_system/cmake/import_lib/CMakeLists.txt +++ b/examples/build_system/cmake/import_lib/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/build_system/cmake/import_prebuilt/CMakeLists.txt b/examples/build_system/cmake/import_prebuilt/CMakeLists.txt index b60b1cb89c..6c317b4d84 100644 --- a/examples/build_system/cmake/import_prebuilt/CMakeLists.txt +++ b/examples/build_system/cmake/import_prebuilt/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/build_system/cmake/import_prebuilt/prebuilt/CMakeLists.txt b/examples/build_system/cmake/import_prebuilt/prebuilt/CMakeLists.txt index e51b9dbf90..48304675da 100644 --- a/examples/build_system/cmake/import_prebuilt/prebuilt/CMakeLists.txt +++ b/examples/build_system/cmake/import_prebuilt/prebuilt/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/build_system/cmake/multi_config/CMakeLists.txt b/examples/build_system/cmake/multi_config/CMakeLists.txt index 2ea430c090..c071accce2 100644 --- a/examples/build_system/cmake/multi_config/CMakeLists.txt +++ b/examples/build_system/cmake/multi_config/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # In this example, sdkconfig file is placed into the build directory. # This allows building development and production configs side by side, diff --git a/examples/build_system/cmake/plugins/CMakeLists.txt b/examples/build_system/cmake/plugins/CMakeLists.txt index 9022686730..cce8508c98 100644 --- a/examples/build_system/cmake/plugins/CMakeLists.txt +++ b/examples/build_system/cmake/plugins/CMakeLists.txt @@ -1,6 +1,6 @@ # The following three lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and plugins. diff --git a/examples/build_system/wrappers/CMakeLists.txt b/examples/build_system/wrappers/CMakeLists.txt index 0470a513ae..333e55d469 100644 --- a/examples/build_system/wrappers/CMakeLists.txt +++ b/examples/build_system/wrappers/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/custom_bootloader/bootloader_extra_dir/CMakeLists.txt b/examples/custom_bootloader/bootloader_extra_dir/CMakeLists.txt index 77e21c4ce6..3584d91482 100644 --- a/examples/custom_bootloader/bootloader_extra_dir/CMakeLists.txt +++ b/examples/custom_bootloader/bootloader_extra_dir/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/custom_bootloader/bootloader_hooks/CMakeLists.txt b/examples/custom_bootloader/bootloader_hooks/CMakeLists.txt index 5acabc0ccf..adced5ab5c 100644 --- a/examples/custom_bootloader/bootloader_hooks/CMakeLists.txt +++ b/examples/custom_bootloader/bootloader_hooks/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/custom_bootloader/bootloader_multiboot/CMakeLists.txt b/examples/custom_bootloader/bootloader_multiboot/CMakeLists.txt index 95c5a4fa79..2d6bbaa63c 100644 --- a/examples/custom_bootloader/bootloader_multiboot/CMakeLists.txt +++ b/examples/custom_bootloader/bootloader_multiboot/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/custom_bootloader/bootloader_override/CMakeLists.txt b/examples/custom_bootloader/bootloader_override/CMakeLists.txt index 5acabc0ccf..adced5ab5c 100644 --- a/examples/custom_bootloader/bootloader_override/CMakeLists.txt +++ b/examples/custom_bootloader/bootloader_override/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/custom_bootloader/bootloader_override/README.md b/examples/custom_bootloader/bootloader_override/README.md index 9ee7aed2bc..f92bb6ad7e 100644 --- a/examples/custom_bootloader/bootloader_override/README.md +++ b/examples/custom_bootloader/bootloader_override/README.md @@ -57,7 +57,7 @@ In case you only want to override the bootloader under a certain condition (targ For example, if the custom bootloader shall not be compiled for ESP32-C3 targets, which should use the default ESP-IDF one, the `CMakeLists.txt` file in this current example must look like this: ``` -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/cxx/exceptions/CMakeLists.txt b/examples/cxx/exceptions/CMakeLists.txt index 3033276315..3c18fc9cab 100644 --- a/examples/cxx/exceptions/CMakeLists.txt +++ b/examples/cxx/exceptions/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/cxx/pthread/CMakeLists.txt b/examples/cxx/pthread/CMakeLists.txt index 3eab51bc01..41a1e4bdcc 100644 --- a/examples/cxx/pthread/CMakeLists.txt +++ b/examples/cxx/pthread/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/cxx/rtti/CMakeLists.txt b/examples/cxx/rtti/CMakeLists.txt index 7c7bfdd9f6..3dd840dd62 100644 --- a/examples/cxx/rtti/CMakeLists.txt +++ b/examples/cxx/rtti/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/ethernet/basic/CMakeLists.txt b/examples/ethernet/basic/CMakeLists.txt index cb7439bb3d..8f4d04911d 100644 --- a/examples/ethernet/basic/CMakeLists.txt +++ b/examples/ethernet/basic/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/ethernet/iperf/CMakeLists.txt b/examples/ethernet/iperf/CMakeLists.txt index a49e0516b2..80b8f232d9 100644 --- a/examples/ethernet/iperf/CMakeLists.txt +++ b/examples/ethernet/iperf/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/ethernet/ptp/CMakeLists.txt b/examples/ethernet/ptp/CMakeLists.txt index 532e3753b9..f3f112495e 100644 --- a/examples/ethernet/ptp/CMakeLists.txt +++ b/examples/ethernet/ptp/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(ethernet_ptp) diff --git a/examples/get-started/blink/CMakeLists.txt b/examples/get-started/blink/CMakeLists.txt index bfd633619d..f34632381c 100644 --- a/examples/get-started/blink/CMakeLists.txt +++ b/examples/get-started/blink/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/get-started/hello_world/CMakeLists.txt b/examples/get-started/hello_world/CMakeLists.txt index 1405a7ca69..9673e51970 100644 --- a/examples/get-started/hello_world/CMakeLists.txt +++ b/examples/get-started/hello_world/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/ieee802154/ieee802154_cli/CMakeLists.txt b/examples/ieee802154/ieee802154_cli/CMakeLists.txt index 8c8c413fda..5c4c68ad6a 100644 --- a/examples/ieee802154/ieee802154_cli/CMakeLists.txt +++ b/examples/ieee802154/ieee802154_cli/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/lowpower/vbat/CMakeLists.txt b/examples/lowpower/vbat/CMakeLists.txt index 39afefa159..cd58a02d93 100644 --- a/examples/lowpower/vbat/CMakeLists.txt +++ b/examples/lowpower/vbat/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/mesh/internal_communication/CMakeLists.txt b/examples/mesh/internal_communication/CMakeLists.txt index 69cd2ef90c..d7c444897f 100644 --- a/examples/mesh/internal_communication/CMakeLists.txt +++ b/examples/mesh/internal_communication/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/mesh/ip_internal_network/CMakeLists.txt b/examples/mesh/ip_internal_network/CMakeLists.txt index 054d2c4e64..08f84e34ae 100644 --- a/examples/mesh/ip_internal_network/CMakeLists.txt +++ b/examples/mesh/ip_internal_network/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/mesh/manual_networking/CMakeLists.txt b/examples/mesh/manual_networking/CMakeLists.txt index 89556b502e..173bcd5486 100644 --- a/examples/mesh/manual_networking/CMakeLists.txt +++ b/examples/mesh/manual_networking/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/network/bridge/CMakeLists.txt b/examples/network/bridge/CMakeLists.txt index 0a7d8f7837..8a2cea3040 100644 --- a/examples/network/bridge/CMakeLists.txt +++ b/examples/network/bridge/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/network/eth2ap/CMakeLists.txt b/examples/network/eth2ap/CMakeLists.txt index 61acb18d8e..7ed1295191 100644 --- a/examples/network/eth2ap/CMakeLists.txt +++ b/examples/network/eth2ap/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/network/simple_sniffer/CMakeLists.txt b/examples/network/simple_sniffer/CMakeLists.txt index 14532d0e05..ef9f50d0a2 100644 --- a/examples/network/simple_sniffer/CMakeLists.txt +++ b/examples/network/simple_sniffer/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/network/sta2eth/CMakeLists.txt b/examples/network/sta2eth/CMakeLists.txt index b4edbbb1cc..9de95e80b4 100644 --- a/examples/network/sta2eth/CMakeLists.txt +++ b/examples/network/sta2eth/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/network/vlan_support/CMakeLists.txt b/examples/network/vlan_support/CMakeLists.txt index 1f6d2f861b..a5ac3e72aa 100644 --- a/examples/network/vlan_support/CMakeLists.txt +++ b/examples/network/vlan_support/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. idf_build_set_property(MINIMAL_BUILD ON) diff --git a/examples/openthread/ot_br/CMakeLists.txt b/examples/openthread/ot_br/CMakeLists.txt index e4857959d9..e13af4a1cb 100644 --- a/examples/openthread/ot_br/CMakeLists.txt +++ b/examples/openthread/ot_br/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/openthread/ot_cli/CMakeLists.txt b/examples/openthread/ot_cli/CMakeLists.txt index bd22015b83..0f374da98b 100644 --- a/examples/openthread/ot_cli/CMakeLists.txt +++ b/examples/openthread/ot_cli/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/openthread/ot_rcp/CMakeLists.txt b/examples/openthread/ot_rcp/CMakeLists.txt index bf07926d7a..66f5437b40 100644 --- a/examples/openthread/ot_rcp/CMakeLists.txt +++ b/examples/openthread/ot_rcp/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/openthread/ot_sleepy_device/deep_sleep/CMakeLists.txt b/examples/openthread/ot_sleepy_device/deep_sleep/CMakeLists.txt index 5c8740c364..17cd72e85b 100644 --- a/examples/openthread/ot_sleepy_device/deep_sleep/CMakeLists.txt +++ b/examples/openthread/ot_sleepy_device/deep_sleep/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/openthread/ot_sleepy_device/light_sleep/CMakeLists.txt b/examples/openthread/ot_sleepy_device/light_sleep/CMakeLists.txt index 5c8740c364..17cd72e85b 100644 --- a/examples/openthread/ot_sleepy_device/light_sleep/CMakeLists.txt +++ b/examples/openthread/ot_sleepy_device/light_sleep/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/openthread/ot_trel/CMakeLists.txt b/examples/openthread/ot_trel/CMakeLists.txt index af5dad3d3c..bf70f8c8c7 100644 --- a/examples/openthread/ot_trel/CMakeLists.txt +++ b/examples/openthread/ot_trel/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(esp_ot_trel) diff --git a/examples/peripherals/adc/continuous_read/CMakeLists.txt b/examples/peripherals/adc/continuous_read/CMakeLists.txt index fba0874179..3817a9d7d8 100644 --- a/examples/peripherals/adc/continuous_read/CMakeLists.txt +++ b/examples/peripherals/adc/continuous_read/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/adc/oneshot_read/CMakeLists.txt b/examples/peripherals/adc/oneshot_read/CMakeLists.txt index f45f3674fd..554177c901 100644 --- a/examples/peripherals/adc/oneshot_read/CMakeLists.txt +++ b/examples/peripherals/adc/oneshot_read/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/analog_comparator/CMakeLists.txt b/examples/peripherals/analog_comparator/CMakeLists.txt index aba0a3e74d..d4dc709462 100644 --- a/examples/peripherals/analog_comparator/CMakeLists.txt +++ b/examples/peripherals/analog_comparator/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/bitscrambler/CMakeLists.txt b/examples/peripherals/bitscrambler/CMakeLists.txt index 8e78254ace..df8bf10f66 100644 --- a/examples/peripherals/bitscrambler/CMakeLists.txt +++ b/examples/peripherals/bitscrambler/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/peripherals/camera/dvp_dsi/CMakeLists.txt b/examples/peripherals/camera/dvp_dsi/CMakeLists.txt index df4e6c3652..e59e14814a 100644 --- a/examples/peripherals/camera/dvp_dsi/CMakeLists.txt +++ b/examples/peripherals/camera/dvp_dsi/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/camera/dvp_isp_dsi/CMakeLists.txt b/examples/peripherals/camera/dvp_isp_dsi/CMakeLists.txt index e4accb1142..045b1c8825 100644 --- a/examples/peripherals/camera/dvp_isp_dsi/CMakeLists.txt +++ b/examples/peripherals/camera/dvp_isp_dsi/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/camera/dvp_spi_lcd/CMakeLists.txt b/examples/peripherals/camera/dvp_spi_lcd/CMakeLists.txt index 87b0236748..1beccf8b5e 100644 --- a/examples/peripherals/camera/dvp_spi_lcd/CMakeLists.txt +++ b/examples/peripherals/camera/dvp_spi_lcd/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/camera/mipi_isp_dsi/CMakeLists.txt b/examples/peripherals/camera/mipi_isp_dsi/CMakeLists.txt index c63528b6f9..b0848c6940 100644 --- a/examples/peripherals/camera/mipi_isp_dsi/CMakeLists.txt +++ b/examples/peripherals/camera/mipi_isp_dsi/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/dac/dac_continuous/dac_audio/CMakeLists.txt b/examples/peripherals/dac/dac_continuous/dac_audio/CMakeLists.txt index c6ed415baa..578e5d3a17 100644 --- a/examples/peripherals/dac/dac_continuous/dac_audio/CMakeLists.txt +++ b/examples/peripherals/dac/dac_continuous/dac_audio/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/dac/dac_continuous/signal_generator/CMakeLists.txt b/examples/peripherals/dac/dac_continuous/signal_generator/CMakeLists.txt index 7cbc502cfb..28a1e6e3e7 100644 --- a/examples/peripherals/dac/dac_continuous/signal_generator/CMakeLists.txt +++ b/examples/peripherals/dac/dac_continuous/signal_generator/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/dac/dac_cosine_wave/CMakeLists.txt b/examples/peripherals/dac/dac_cosine_wave/CMakeLists.txt index 1566c42097..9a8414d69f 100644 --- a/examples/peripherals/dac/dac_cosine_wave/CMakeLists.txt +++ b/examples/peripherals/dac/dac_cosine_wave/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/dac/dac_oneshot/CMakeLists.txt b/examples/peripherals/dac/dac_oneshot/CMakeLists.txt index d09d0d8020..0a496d013d 100644 --- a/examples/peripherals/dac/dac_oneshot/CMakeLists.txt +++ b/examples/peripherals/dac/dac_oneshot/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/dedicated_gpio/soft_i2c/CMakeLists.txt b/examples/peripherals/dedicated_gpio/soft_i2c/CMakeLists.txt index 88c319e071..4492994e68 100644 --- a/examples/peripherals/dedicated_gpio/soft_i2c/CMakeLists.txt +++ b/examples/peripherals/dedicated_gpio/soft_i2c/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/dedicated_gpio/soft_spi/CMakeLists.txt b/examples/peripherals/dedicated_gpio/soft_spi/CMakeLists.txt index d8b15d1ace..8c3061a1e5 100644 --- a/examples/peripherals/dedicated_gpio/soft_spi/CMakeLists.txt +++ b/examples/peripherals/dedicated_gpio/soft_spi/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/dedicated_gpio/soft_uart/CMakeLists.txt b/examples/peripherals/dedicated_gpio/soft_uart/CMakeLists.txt index e434661ecb..1f06fd503d 100644 --- a/examples/peripherals/dedicated_gpio/soft_uart/CMakeLists.txt +++ b/examples/peripherals/dedicated_gpio/soft_uart/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/gpio/generic_gpio/CMakeLists.txt b/examples/peripherals/gpio/generic_gpio/CMakeLists.txt index b354756e4b..cc2eb84b31 100644 --- a/examples/peripherals/gpio/generic_gpio/CMakeLists.txt +++ b/examples/peripherals/gpio/generic_gpio/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/gpio/matrix_keyboard/CMakeLists.txt b/examples/peripherals/gpio/matrix_keyboard/CMakeLists.txt index 172a3e6dd4..6a97eb43cd 100644 --- a/examples/peripherals/gpio/matrix_keyboard/CMakeLists.txt +++ b/examples/peripherals/gpio/matrix_keyboard/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/h264/CMakeLists.txt b/examples/peripherals/h264/CMakeLists.txt index 9b2493c6f4..449fed623b 100644 --- a/examples/peripherals/h264/CMakeLists.txt +++ b/examples/peripherals/h264/CMakeLists.txt @@ -1,7 +1,7 @@ # The following lines of boilerplate have to be in your project's # CMakeLists.txt file. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(esp_h264_example) diff --git a/examples/peripherals/i2c/i2c_basic/CMakeLists.txt b/examples/peripherals/i2c/i2c_basic/CMakeLists.txt index f49282b1c9..9f416da937 100644 --- a/examples/peripherals/i2c/i2c_basic/CMakeLists.txt +++ b/examples/peripherals/i2c/i2c_basic/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(i2c-basic) diff --git a/examples/peripherals/i2c/i2c_eeprom/CMakeLists.txt b/examples/peripherals/i2c/i2c_eeprom/CMakeLists.txt index 49cd6deba4..646a414f94 100644 --- a/examples/peripherals/i2c/i2c_eeprom/CMakeLists.txt +++ b/examples/peripherals/i2c/i2c_eeprom/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/i2c/i2c_slave_network_sensor/CMakeLists.txt b/examples/peripherals/i2c/i2c_slave_network_sensor/CMakeLists.txt index f4e3329f7e..2b3af9102e 100644 --- a/examples/peripherals/i2c/i2c_slave_network_sensor/CMakeLists.txt +++ b/examples/peripherals/i2c/i2c_slave_network_sensor/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/peripherals/i2c/i2c_tools/CMakeLists.txt b/examples/peripherals/i2c/i2c_tools/CMakeLists.txt index 5b693f3d12..03787d05e6 100644 --- a/examples/peripherals/i2c/i2c_tools/CMakeLists.txt +++ b/examples/peripherals/i2c/i2c_tools/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/i2s/i2s_advance/i2s_usb/CMakeLists.txt b/examples/peripherals/i2s/i2s_advance/i2s_usb/CMakeLists.txt index ef797cf4a0..25713b693d 100644 --- a/examples/peripherals/i2s/i2s_advance/i2s_usb/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_advance/i2s_usb/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(i2s_usb) diff --git a/examples/peripherals/i2s/i2s_basic/i2s_pdm/CMakeLists.txt b/examples/peripherals/i2s/i2s_basic/i2s_pdm/CMakeLists.txt index da16f9f226..4feeb062ed 100644 --- a/examples/peripherals/i2s/i2s_basic/i2s_pdm/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_basic/i2s_pdm/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/i2s/i2s_basic/i2s_std/CMakeLists.txt b/examples/peripherals/i2s/i2s_basic/i2s_std/CMakeLists.txt index 34b4d8c573..b238a5d68b 100644 --- a/examples/peripherals/i2s/i2s_basic/i2s_std/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_basic/i2s_std/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/i2s/i2s_basic/i2s_tdm/CMakeLists.txt b/examples/peripherals/i2s/i2s_basic/i2s_tdm/CMakeLists.txt index 5d7df5de35..750e2f362b 100644 --- a/examples/peripherals/i2s/i2s_basic/i2s_tdm/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_basic/i2s_tdm/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm/CMakeLists.txt b/examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm/CMakeLists.txt index 0a7c3907c8..ec14014c06 100644 --- a/examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/i2s/i2s_codec/i2s_es8311/CMakeLists.txt b/examples/peripherals/i2s/i2s_codec/i2s_es8311/CMakeLists.txt index da20141913..bee278af49 100644 --- a/examples/peripherals/i2s/i2s_codec/i2s_es8311/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_codec/i2s_es8311/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/i2s/i2s_recorder/CMakeLists.txt b/examples/peripherals/i2s/i2s_recorder/CMakeLists.txt index 4f2f210d4e..e1cb971b7e 100644 --- a/examples/peripherals/i2s/i2s_recorder/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_recorder/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/i3c/i3c_i2c_basic/CMakeLists.txt b/examples/peripherals/i3c/i3c_i2c_basic/CMakeLists.txt index 406b1589e7..b9852b0a2f 100644 --- a/examples/peripherals/i3c/i3c_i2c_basic/CMakeLists.txt +++ b/examples/peripherals/i3c/i3c_i2c_basic/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/isp/multi_pipelines/CMakeLists.txt b/examples/peripherals/isp/multi_pipelines/CMakeLists.txt index 58d194eeff..7a8e7420d3 100644 --- a/examples/peripherals/isp/multi_pipelines/CMakeLists.txt +++ b/examples/peripherals/isp/multi_pipelines/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/jpeg/jpeg_decode/CMakeLists.txt b/examples/peripherals/jpeg/jpeg_decode/CMakeLists.txt index e7fedd3575..991a6f7466 100644 --- a/examples/peripherals/jpeg/jpeg_decode/CMakeLists.txt +++ b/examples/peripherals/jpeg/jpeg_decode/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/jpeg/jpeg_encode/CMakeLists.txt b/examples/peripherals/jpeg/jpeg_encode/CMakeLists.txt index 175d488a92..b452de017d 100644 --- a/examples/peripherals/jpeg/jpeg_encode/CMakeLists.txt +++ b/examples/peripherals/jpeg/jpeg_encode/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/lcd/i2c_oled/CMakeLists.txt b/examples/peripherals/lcd/i2c_oled/CMakeLists.txt index 7085f73391..09bea5ba6e 100644 --- a/examples/peripherals/lcd/i2c_oled/CMakeLists.txt +++ b/examples/peripherals/lcd/i2c_oled/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/lcd/i80_controller/CMakeLists.txt b/examples/peripherals/lcd/i80_controller/CMakeLists.txt index f1053f560b..d2cb91e684 100644 --- a/examples/peripherals/lcd/i80_controller/CMakeLists.txt +++ b/examples/peripherals/lcd/i80_controller/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/lcd/mipi_dsi/CMakeLists.txt b/examples/peripherals/lcd/mipi_dsi/CMakeLists.txt index 8d70b03559..41b5201150 100644 --- a/examples/peripherals/lcd/mipi_dsi/CMakeLists.txt +++ b/examples/peripherals/lcd/mipi_dsi/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/lcd/parlio_simulate/CMakeLists.txt b/examples/peripherals/lcd/parlio_simulate/CMakeLists.txt index e7855d3515..96da3a91a0 100644 --- a/examples/peripherals/lcd/parlio_simulate/CMakeLists.txt +++ b/examples/peripherals/lcd/parlio_simulate/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) diff --git a/examples/peripherals/lcd/rgb_panel/CMakeLists.txt b/examples/peripherals/lcd/rgb_panel/CMakeLists.txt index e624386b37..c96fab94f7 100644 --- a/examples/peripherals/lcd/rgb_panel/CMakeLists.txt +++ b/examples/peripherals/lcd/rgb_panel/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/lcd/spi_lcd_touch/CMakeLists.txt b/examples/peripherals/lcd/spi_lcd_touch/CMakeLists.txt index 15d15a89bf..092a9b9171 100644 --- a/examples/peripherals/lcd/spi_lcd_touch/CMakeLists.txt +++ b/examples/peripherals/lcd/spi_lcd_touch/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/lcd/tjpgd/CMakeLists.txt b/examples/peripherals/lcd/tjpgd/CMakeLists.txt index 129aa1d419..e8393f198b 100644 --- a/examples/peripherals/lcd/tjpgd/CMakeLists.txt +++ b/examples/peripherals/lcd/tjpgd/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/ledc/ledc_basic/CMakeLists.txt b/examples/peripherals/ledc/ledc_basic/CMakeLists.txt index 2f47b2d06d..a90d3e94c3 100644 --- a/examples/peripherals/ledc/ledc_basic/CMakeLists.txt +++ b/examples/peripherals/ledc/ledc_basic/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/ledc/ledc_fade/CMakeLists.txt b/examples/peripherals/ledc/ledc_fade/CMakeLists.txt index 5a140e8784..45d6623c1f 100644 --- a/examples/peripherals/ledc/ledc_fade/CMakeLists.txt +++ b/examples/peripherals/ledc/ledc_fade/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/ledc/ledc_gamma_curve_fade/CMakeLists.txt b/examples/peripherals/ledc/ledc_gamma_curve_fade/CMakeLists.txt index 0b75248c7b..d021348317 100644 --- a/examples/peripherals/ledc/ledc_gamma_curve_fade/CMakeLists.txt +++ b/examples/peripherals/ledc/ledc_gamma_curve_fade/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/mcpwm/mcpwm_bdc_speed_control/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_bdc_speed_control/CMakeLists.txt index 27b7d65a6b..f4fc50ea40 100644 --- a/examples/peripherals/mcpwm/mcpwm_bdc_speed_control/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_bdc_speed_control/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/CMakeLists.txt index 9e05e0762f..0a657684e1 100644 --- a/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/CMakeLists.txt index 670605e4a1..1fd25f1857 100644 --- a/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop/CMakeLists.txt index da030acd39..86d0405302 100644 --- a/examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/mcpwm/mcpwm_servo_control/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_servo_control/CMakeLists.txt index 5b7eb3a884..7bd194c3e3 100644 --- a/examples/peripherals/mcpwm/mcpwm_servo_control/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_servo_control/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/mcpwm/mcpwm_sync/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_sync/CMakeLists.txt index 960a298214..c9c29207cb 100644 --- a/examples/peripherals/mcpwm/mcpwm_sync/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_sync/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/parlio/parlio_rx/logic_analyzer/CMakeLists.txt b/examples/peripherals/parlio/parlio_rx/logic_analyzer/CMakeLists.txt index 628f3d50d4..fa9647b2dd 100644 --- a/examples/peripherals/parlio/parlio_rx/logic_analyzer/CMakeLists.txt +++ b/examples/peripherals/parlio/parlio_rx/logic_analyzer/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/parlio/parlio_tx/advanced_rgb_led_matrix/CMakeLists.txt b/examples/peripherals/parlio/parlio_tx/advanced_rgb_led_matrix/CMakeLists.txt index e571c617bd..04cae688f4 100644 --- a/examples/peripherals/parlio/parlio_tx/advanced_rgb_led_matrix/CMakeLists.txt +++ b/examples/peripherals/parlio/parlio_tx/advanced_rgb_led_matrix/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/CMakeLists.txt b/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/CMakeLists.txt index 44abdb8dec..ada5994c3d 100644 --- a/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/CMakeLists.txt +++ b/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/pcnt/rotary_encoder/CMakeLists.txt b/examples/peripherals/pcnt/rotary_encoder/CMakeLists.txt index cde47b0c02..a6a8b36f5f 100644 --- a/examples/peripherals/pcnt/rotary_encoder/CMakeLists.txt +++ b/examples/peripherals/pcnt/rotary_encoder/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/ppa/ppa_dsi/CMakeLists.txt b/examples/peripherals/ppa/ppa_dsi/CMakeLists.txt index f6a8b69b06..ccd3fbdf81 100644 --- a/examples/peripherals/ppa/ppa_dsi/CMakeLists.txt +++ b/examples/peripherals/ppa/ppa_dsi/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/rmt/dshot_esc/CMakeLists.txt b/examples/peripherals/rmt/dshot_esc/CMakeLists.txt index d8895a6caa..0ece06d241 100644 --- a/examples/peripherals/rmt/dshot_esc/CMakeLists.txt +++ b/examples/peripherals/rmt/dshot_esc/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/rmt/ir_nec_transceiver/CMakeLists.txt b/examples/peripherals/rmt/ir_nec_transceiver/CMakeLists.txt index b08d62f4c1..e728364242 100644 --- a/examples/peripherals/rmt/ir_nec_transceiver/CMakeLists.txt +++ b/examples/peripherals/rmt/ir_nec_transceiver/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/rmt/led_strip/CMakeLists.txt b/examples/peripherals/rmt/led_strip/CMakeLists.txt index 9e17a59a98..c065df0d27 100644 --- a/examples/peripherals/rmt/led_strip/CMakeLists.txt +++ b/examples/peripherals/rmt/led_strip/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/rmt/led_strip_simple_encoder/CMakeLists.txt b/examples/peripherals/rmt/led_strip_simple_encoder/CMakeLists.txt index caaa99185f..a64e09e0a7 100644 --- a/examples/peripherals/rmt/led_strip_simple_encoder/CMakeLists.txt +++ b/examples/peripherals/rmt/led_strip_simple_encoder/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/rmt/musical_buzzer/CMakeLists.txt b/examples/peripherals/rmt/musical_buzzer/CMakeLists.txt index f1aa73b996..a2c6d734a5 100644 --- a/examples/peripherals/rmt/musical_buzzer/CMakeLists.txt +++ b/examples/peripherals/rmt/musical_buzzer/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/rmt/onewire/CMakeLists.txt b/examples/peripherals/rmt/onewire/CMakeLists.txt index 898f4133df..4218abdb24 100644 --- a/examples/peripherals/rmt/onewire/CMakeLists.txt +++ b/examples/peripherals/rmt/onewire/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/rmt/stepper_motor/CMakeLists.txt b/examples/peripherals/rmt/stepper_motor/CMakeLists.txt index 5c4b02cf47..b5caa45df7 100644 --- a/examples/peripherals/rmt/stepper_motor/CMakeLists.txt +++ b/examples/peripherals/rmt/stepper_motor/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/sdio/host/CMakeLists.txt b/examples/peripherals/sdio/host/CMakeLists.txt index 165eefa573..51d570a361 100644 --- a/examples/peripherals/sdio/host/CMakeLists.txt +++ b/examples/peripherals/sdio/host/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/sdio/slave/CMakeLists.txt b/examples/peripherals/sdio/slave/CMakeLists.txt index 0767074c56..32975e80d1 100644 --- a/examples/peripherals/sdio/slave/CMakeLists.txt +++ b/examples/peripherals/sdio/slave/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/sigma_delta/sdm_dac/CMakeLists.txt b/examples/peripherals/sigma_delta/sdm_dac/CMakeLists.txt index 67ceff61f7..72a6cf125d 100644 --- a/examples/peripherals/sigma_delta/sdm_dac/CMakeLists.txt +++ b/examples/peripherals/sigma_delta/sdm_dac/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/sigma_delta/sdm_led/CMakeLists.txt b/examples/peripherals/sigma_delta/sdm_led/CMakeLists.txt index a486dd89b6..3a5cd50921 100644 --- a/examples/peripherals/sigma_delta/sdm_led/CMakeLists.txt +++ b/examples/peripherals/sigma_delta/sdm_led/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/spi_master/hd_eeprom/CMakeLists.txt b/examples/peripherals/spi_master/hd_eeprom/CMakeLists.txt index 937a6fe4ff..04350a2ee4 100644 --- a/examples/peripherals/spi_master/hd_eeprom/CMakeLists.txt +++ b/examples/peripherals/spi_master/hd_eeprom/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/spi_master/lcd/CMakeLists.txt b/examples/peripherals/spi_master/lcd/CMakeLists.txt index 8ee7cc0bd4..0c853cc24c 100644 --- a/examples/peripherals/spi_master/lcd/CMakeLists.txt +++ b/examples/peripherals/spi_master/lcd/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/spi_slave/receiver/CMakeLists.txt b/examples/peripherals/spi_slave/receiver/CMakeLists.txt index 31882905eb..f31f77db3b 100644 --- a/examples/peripherals/spi_slave/receiver/CMakeLists.txt +++ b/examples/peripherals/spi_slave/receiver/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/spi_slave/sender/CMakeLists.txt b/examples/peripherals/spi_slave/sender/CMakeLists.txt index 8481d60474..be3c7e5209 100644 --- a/examples/peripherals/spi_slave/sender/CMakeLists.txt +++ b/examples/peripherals/spi_slave/sender/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/spi_slave_hd/append_mode/master/CMakeLists.txt b/examples/peripherals/spi_slave_hd/append_mode/master/CMakeLists.txt index 693a873604..a9527be429 100644 --- a/examples/peripherals/spi_slave_hd/append_mode/master/CMakeLists.txt +++ b/examples/peripherals/spi_slave_hd/append_mode/master/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/spi_slave_hd/append_mode/slave/CMakeLists.txt b/examples/peripherals/spi_slave_hd/append_mode/slave/CMakeLists.txt index 0f5b59a059..ed2078e779 100644 --- a/examples/peripherals/spi_slave_hd/append_mode/slave/CMakeLists.txt +++ b/examples/peripherals/spi_slave_hd/append_mode/slave/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/spi_slave_hd/segment_mode/seg_master/CMakeLists.txt b/examples/peripherals/spi_slave_hd/segment_mode/seg_master/CMakeLists.txt index c16aa10cd6..b08ef02c3c 100644 --- a/examples/peripherals/spi_slave_hd/segment_mode/seg_master/CMakeLists.txt +++ b/examples/peripherals/spi_slave_hd/segment_mode/seg_master/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/CMakeLists.txt b/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/CMakeLists.txt index 01219435b9..58930d5374 100644 --- a/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/CMakeLists.txt +++ b/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/temperature_sensor/temp_sensor/CMakeLists.txt b/examples/peripherals/temperature_sensor/temp_sensor/CMakeLists.txt index 58c4bf05c0..93b7e9331f 100644 --- a/examples/peripherals/temperature_sensor/temp_sensor/CMakeLists.txt +++ b/examples/peripherals/temperature_sensor/temp_sensor/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/temperature_sensor/temp_sensor_monitor/CMakeLists.txt b/examples/peripherals/temperature_sensor/temp_sensor_monitor/CMakeLists.txt index 127bb3d3b1..73b5e2687b 100644 --- a/examples/peripherals/temperature_sensor/temp_sensor_monitor/CMakeLists.txt +++ b/examples/peripherals/temperature_sensor/temp_sensor_monitor/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/timer_group/gptimer/CMakeLists.txt b/examples/peripherals/timer_group/gptimer/CMakeLists.txt index 49a5861218..0fd86389fb 100644 --- a/examples/peripherals/timer_group/gptimer/CMakeLists.txt +++ b/examples/peripherals/timer_group/gptimer/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/timer_group/gptimer_capture_hc_sr04/CMakeLists.txt b/examples/peripherals/timer_group/gptimer_capture_hc_sr04/CMakeLists.txt index c73909995d..b0f98fd509 100644 --- a/examples/peripherals/timer_group/gptimer_capture_hc_sr04/CMakeLists.txt +++ b/examples/peripherals/timer_group/gptimer_capture_hc_sr04/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/timer_group/wiegand_interface/CMakeLists.txt b/examples/peripherals/timer_group/wiegand_interface/CMakeLists.txt index 833e2fd829..f4ab9af155 100644 --- a/examples/peripherals/timer_group/wiegand_interface/CMakeLists.txt +++ b/examples/peripherals/timer_group/wiegand_interface/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/touch_sensor/touch_element/touch_button/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_element/touch_button/CMakeLists.txt index d014ce55ee..0d3f8a0c23 100644 --- a/examples/peripherals/touch_sensor/touch_element/touch_button/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_element/touch_button/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/touch_sensor/touch_element/touch_element_waterproof/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_element/touch_element_waterproof/CMakeLists.txt index 13aaa7e002..e6f1e7b41f 100644 --- a/examples/peripherals/touch_sensor/touch_element/touch_element_waterproof/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_element/touch_element_waterproof/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/CMakeLists.txt index 56d6bc9cfb..ec8ec831ca 100644 --- a/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/touch_sensor/touch_element/touch_matrix/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_element/touch_matrix/CMakeLists.txt index c23a8dc5dd..36e85ec68b 100644 --- a/examples/peripherals/touch_sensor/touch_element/touch_matrix/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_element/touch_matrix/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/touch_sensor/touch_element/touch_slider/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_element/touch_slider/CMakeLists.txt index 8ee31d1316..a245b34bb5 100644 --- a/examples/peripherals/touch_sensor/touch_element/touch_slider/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_element/touch_slider/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/touch_sensor/touch_sens_basic/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_sens_basic/CMakeLists.txt index 0723c35f78..fcc0992d86 100644 --- a/examples/peripherals/touch_sensor/touch_sens_basic/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_sens_basic/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/touch_sensor/touch_sens_sleep/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_sens_sleep/CMakeLists.txt index 0fccefa27e..d11ddaa021 100644 --- a/examples/peripherals/touch_sensor/touch_sens_sleep/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_sens_sleep/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(touch_sens_sleep) diff --git a/examples/peripherals/twai/twai_error_recovery/CMakeLists.txt b/examples/peripherals/twai/twai_error_recovery/CMakeLists.txt index 7c3f931b0c..96e0480003 100644 --- a/examples/peripherals/twai/twai_error_recovery/CMakeLists.txt +++ b/examples/peripherals/twai/twai_error_recovery/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/twai/twai_network/twai_listen_only/CMakeLists.txt b/examples/peripherals/twai/twai_network/twai_listen_only/CMakeLists.txt index 5bb36d37d1..009411c954 100644 --- a/examples/peripherals/twai/twai_network/twai_listen_only/CMakeLists.txt +++ b/examples/peripherals/twai/twai_network/twai_listen_only/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/twai/twai_network/twai_sender/CMakeLists.txt b/examples/peripherals/twai/twai_network/twai_sender/CMakeLists.txt index 0b3f7b267f..03d40372d2 100644 --- a/examples/peripherals/twai/twai_network/twai_sender/CMakeLists.txt +++ b/examples/peripherals/twai/twai_network/twai_sender/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/twai/twai_utils/CMakeLists.txt b/examples/peripherals/twai/twai_utils/CMakeLists.txt index dbc9eca58a..267560338d 100644 --- a/examples/peripherals/twai/twai_utils/CMakeLists.txt +++ b/examples/peripherals/twai/twai_utils/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/uart/nmea0183_parser/CMakeLists.txt b/examples/peripherals/uart/nmea0183_parser/CMakeLists.txt index e49067d65b..7d7c857bb6 100644 --- a/examples/peripherals/uart/nmea0183_parser/CMakeLists.txt +++ b/examples/peripherals/uart/nmea0183_parser/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/uart/uart_async_rxtxtasks/CMakeLists.txt b/examples/peripherals/uart/uart_async_rxtxtasks/CMakeLists.txt index 95eef61c93..ada8af5a9e 100644 --- a/examples/peripherals/uart/uart_async_rxtxtasks/CMakeLists.txt +++ b/examples/peripherals/uart/uart_async_rxtxtasks/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/uart/uart_dma_ota/CMakeLists.txt b/examples/peripherals/uart/uart_dma_ota/CMakeLists.txt index e38431660b..1b79b3b5cd 100644 --- a/examples/peripherals/uart/uart_dma_ota/CMakeLists.txt +++ b/examples/peripherals/uart/uart_dma_ota/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(uart_dma_ota) diff --git a/examples/peripherals/uart/uart_echo/CMakeLists.txt b/examples/peripherals/uart/uart_echo/CMakeLists.txt index 10d5641671..4e1daba0fc 100644 --- a/examples/peripherals/uart/uart_echo/CMakeLists.txt +++ b/examples/peripherals/uart/uart_echo/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/uart/uart_echo_rs485/CMakeLists.txt b/examples/peripherals/uart/uart_echo_rs485/CMakeLists.txt index 1a6dc26fc4..cb4bac9c5d 100644 --- a/examples/peripherals/uart/uart_echo_rs485/CMakeLists.txt +++ b/examples/peripherals/uart/uart_echo_rs485/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/uart/uart_events/CMakeLists.txt b/examples/peripherals/uart/uart_events/CMakeLists.txt index 30358a8ba6..f8f51299bc 100644 --- a/examples/peripherals/uart/uart_events/CMakeLists.txt +++ b/examples/peripherals/uart/uart_events/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/uart/uart_repl/CMakeLists.txt b/examples/peripherals/uart/uart_repl/CMakeLists.txt index a01755f886..4fa5f68dae 100644 --- a/examples/peripherals/uart/uart_repl/CMakeLists.txt +++ b/examples/peripherals/uart/uart_repl/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/uart/uart_select/CMakeLists.txt b/examples/peripherals/uart/uart_select/CMakeLists.txt index 73bcb41538..6cc5295bbe 100644 --- a/examples/peripherals/uart/uart_select/CMakeLists.txt +++ b/examples/peripherals/uart/uart_select/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt b/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt index ac369a25f3..115cdcbb46 100644 --- a/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) add_compile_options(-w) # Turn off warnings until esp_tinyusb is updated IEC-86 include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/peripherals/usb/device/tusb_console/CMakeLists.txt b/examples/peripherals/usb/device/tusb_console/CMakeLists.txt index c8353934e9..da469b4283 100644 --- a/examples/peripherals/usb/device/tusb_console/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_console/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) add_compile_options(-w) # Turn off warnings until esp_tinyusb is updated IEC-86 include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/peripherals/usb/device/tusb_hid/CMakeLists.txt b/examples/peripherals/usb/device/tusb_hid/CMakeLists.txt index 258a4dcee9..f687407278 100644 --- a/examples/peripherals/usb/device/tusb_hid/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_hid/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/usb/device/tusb_midi/CMakeLists.txt b/examples/peripherals/usb/device/tusb_midi/CMakeLists.txt index 91e90baafd..0129b9f419 100644 --- a/examples/peripherals/usb/device/tusb_midi/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_midi/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/usb/device/tusb_msc/CMakeLists.txt b/examples/peripherals/usb/device/tusb_msc/CMakeLists.txt index 0863d42364..dc1799a90f 100644 --- a/examples/peripherals/usb/device/tusb_msc/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_msc/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/usb/device/tusb_ncm/CMakeLists.txt b/examples/peripherals/usb/device/tusb_ncm/CMakeLists.txt index 9772549e64..560ad2b707 100644 --- a/examples/peripherals/usb/device/tusb_ncm/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_ncm/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt b/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt index c2897f7222..f58f6be3d8 100644 --- a/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) add_compile_options(-w) # Turn off warnings until esp_tinyusb is updated IEC-86 include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/peripherals/usb/host/cdc/cdc_acm_host/CMakeLists.txt b/examples/peripherals/usb/host/cdc/cdc_acm_host/CMakeLists.txt index dd45c278fd..6cba5855ac 100644 --- a/examples/peripherals/usb/host/cdc/cdc_acm_host/CMakeLists.txt +++ b/examples/peripherals/usb/host/cdc/cdc_acm_host/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/usb/host/cdc/cdc_acm_vcp/CMakeLists.txt b/examples/peripherals/usb/host/cdc/cdc_acm_vcp/CMakeLists.txt index a4d34e3f9e..b3352276ee 100644 --- a/examples/peripherals/usb/host/cdc/cdc_acm_vcp/CMakeLists.txt +++ b/examples/peripherals/usb/host/cdc/cdc_acm_vcp/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/usb/host/msc/CMakeLists.txt b/examples/peripherals/usb/host/msc/CMakeLists.txt index f00f0d98fa..ef0ddaeec6 100644 --- a/examples/peripherals/usb/host/msc/CMakeLists.txt +++ b/examples/peripherals/usb/host/msc/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/usb/host/usb_host_lib/CMakeLists.txt b/examples/peripherals/usb/host/usb_host_lib/CMakeLists.txt index 153b20d5ff..13c1753167 100644 --- a/examples/peripherals/usb/host/usb_host_lib/CMakeLists.txt +++ b/examples/peripherals/usb/host/usb_host_lib/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/usb/host/uvc/CMakeLists.txt b/examples/peripherals/usb/host/uvc/CMakeLists.txt index b54c6c14f7..7731efd9ac 100644 --- a/examples/peripherals/usb/host/uvc/CMakeLists.txt +++ b/examples/peripherals/usb/host/uvc/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/peripherals/usb_serial_jtag/usb_serial_jtag_echo/CMakeLists.txt b/examples/peripherals/usb_serial_jtag/usb_serial_jtag_echo/CMakeLists.txt index f66c9f3e91..d276f5eec3 100644 --- a/examples/peripherals/usb_serial_jtag/usb_serial_jtag_echo/CMakeLists.txt +++ b/examples/peripherals/usb_serial_jtag/usb_serial_jtag_echo/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/phy/antenna/CMakeLists.txt b/examples/phy/antenna/CMakeLists.txt index 361e25ce29..23ab080ae2 100644 --- a/examples/phy/antenna/CMakeLists.txt +++ b/examples/phy/antenna/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/phy/cert_test/CMakeLists.txt b/examples/phy/cert_test/CMakeLists.txt index 4c83bde521..343b450833 100644 --- a/examples/phy/cert_test/CMakeLists.txt +++ b/examples/phy/cert_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/protocols/dns_over_https/CMakeLists.txt b/examples/protocols/dns_over_https/CMakeLists.txt index a085cee12b..dff4161649 100644 --- a/examples/protocols/dns_over_https/CMakeLists.txt +++ b/examples/protocols/dns_over_https/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(dns_over_https) diff --git a/examples/protocols/esp_http_client/CMakeLists.txt b/examples/protocols/esp_http_client/CMakeLists.txt index 8373d220c7..2f4df20fc7 100644 --- a/examples/protocols/esp_http_client/CMakeLists.txt +++ b/examples/protocols/esp_http_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/protocols/esp_local_ctrl/CMakeLists.txt b/examples/protocols/esp_local_ctrl/CMakeLists.txt index 1d1674b3e9..ccfc9404cb 100644 --- a/examples/protocols/esp_local_ctrl/CMakeLists.txt +++ b/examples/protocols/esp_local_ctrl/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/http_request/CMakeLists.txt b/examples/protocols/http_request/CMakeLists.txt index 4b34cec71e..8d30144eb3 100644 --- a/examples/protocols/http_request/CMakeLists.txt +++ b/examples/protocols/http_request/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/http_server/advanced_tests/CMakeLists.txt b/examples/protocols/http_server/advanced_tests/CMakeLists.txt index d02df748fd..4170094ae5 100644 --- a/examples/protocols/http_server/advanced_tests/CMakeLists.txt +++ b/examples/protocols/http_server/advanced_tests/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/http_server/async_handlers/CMakeLists.txt b/examples/protocols/http_server/async_handlers/CMakeLists.txt index 65541b8092..41af9cd570 100644 --- a/examples/protocols/http_server/async_handlers/CMakeLists.txt +++ b/examples/protocols/http_server/async_handlers/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/http_server/captive_portal/CMakeLists.txt b/examples/protocols/http_server/captive_portal/CMakeLists.txt index eaf53d5ab6..c84a6a29c7 100644 --- a/examples/protocols/http_server/captive_portal/CMakeLists.txt +++ b/examples/protocols/http_server/captive_portal/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/protocols/http_server/file_serving/CMakeLists.txt b/examples/protocols/http_server/file_serving/CMakeLists.txt index 7b13fa6a2b..647beb20f2 100644 --- a/examples/protocols/http_server/file_serving/CMakeLists.txt +++ b/examples/protocols/http_server/file_serving/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/http_server/persistent_sockets/CMakeLists.txt b/examples/protocols/http_server/persistent_sockets/CMakeLists.txt index 4ca16f8537..136e07c4e2 100644 --- a/examples/protocols/http_server/persistent_sockets/CMakeLists.txt +++ b/examples/protocols/http_server/persistent_sockets/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/http_server/restful_server/CMakeLists.txt b/examples/protocols/http_server/restful_server/CMakeLists.txt index e619339e99..8eb771a0e7 100644 --- a/examples/protocols/http_server/restful_server/CMakeLists.txt +++ b/examples/protocols/http_server/restful_server/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/protocols/http_server/simple/CMakeLists.txt b/examples/protocols/http_server/simple/CMakeLists.txt index 5409901953..55017fcfce 100644 --- a/examples/protocols/http_server/simple/CMakeLists.txt +++ b/examples/protocols/http_server/simple/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. idf_build_set_property(MINIMAL_BUILD ON) diff --git a/examples/protocols/http_server/ws_echo_server/CMakeLists.txt b/examples/protocols/http_server/ws_echo_server/CMakeLists.txt index 7aa59efd9f..2b76e0a03e 100644 --- a/examples/protocols/http_server/ws_echo_server/CMakeLists.txt +++ b/examples/protocols/http_server/ws_echo_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/https_mbedtls/CMakeLists.txt b/examples/protocols/https_mbedtls/CMakeLists.txt index 73056d7a43..426010b389 100644 --- a/examples/protocols/https_mbedtls/CMakeLists.txt +++ b/examples/protocols/https_mbedtls/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/https_request/CMakeLists.txt b/examples/protocols/https_request/CMakeLists.txt index 2a90face40..8675fa1180 100644 --- a/examples/protocols/https_request/CMakeLists.txt +++ b/examples/protocols/https_request/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Include the default mbedTLS preset configuration # This provides optimized settings for general-purpose TLS applications diff --git a/examples/protocols/https_server/simple/CMakeLists.txt b/examples/protocols/https_server/simple/CMakeLists.txt index 6df8104c23..318bc0602d 100644 --- a/examples/protocols/https_server/simple/CMakeLists.txt +++ b/examples/protocols/https_server/simple/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/https_server/wss_server/CMakeLists.txt b/examples/protocols/https_server/wss_server/CMakeLists.txt index c9eeb2ef11..de15fdc5df 100644 --- a/examples/protocols/https_server/wss_server/CMakeLists.txt +++ b/examples/protocols/https_server/wss_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/https_x509_bundle/CMakeLists.txt b/examples/protocols/https_x509_bundle/CMakeLists.txt index a9269bf028..9c4f8c41e9 100644 --- a/examples/protocols/https_x509_bundle/CMakeLists.txt +++ b/examples/protocols/https_x509_bundle/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/icmp_echo/CMakeLists.txt b/examples/protocols/icmp_echo/CMakeLists.txt index 2d93b2f843..0fa68e2df9 100644 --- a/examples/protocols/icmp_echo/CMakeLists.txt +++ b/examples/protocols/icmp_echo/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/l2tap/CMakeLists.txt b/examples/protocols/l2tap/CMakeLists.txt index d6c05f99f4..83fd076605 100644 --- a/examples/protocols/l2tap/CMakeLists.txt +++ b/examples/protocols/l2tap/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/mqtt/custom_outbox/CMakeLists.txt b/examples/protocols/mqtt/custom_outbox/CMakeLists.txt index 746ab1cb34..5048b1ee74 100644 --- a/examples/protocols/mqtt/custom_outbox/CMakeLists.txt +++ b/examples/protocols/mqtt/custom_outbox/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/protocols/mqtt/ssl/CMakeLists.txt b/examples/protocols/mqtt/ssl/CMakeLists.txt index e41e1b8e46..9a191c401c 100644 --- a/examples/protocols/mqtt/ssl/CMakeLists.txt +++ b/examples/protocols/mqtt/ssl/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/mqtt/ssl_ds/CMakeLists.txt b/examples/protocols/mqtt/ssl_ds/CMakeLists.txt index acf7743cb4..a1f5cf86a6 100644 --- a/examples/protocols/mqtt/ssl_ds/CMakeLists.txt +++ b/examples/protocols/mqtt/ssl_ds/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/mqtt/ssl_mutual_auth/CMakeLists.txt b/examples/protocols/mqtt/ssl_mutual_auth/CMakeLists.txt index 67ec43b371..ee38996770 100644 --- a/examples/protocols/mqtt/ssl_mutual_auth/CMakeLists.txt +++ b/examples/protocols/mqtt/ssl_mutual_auth/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/mqtt/ssl_psk/CMakeLists.txt b/examples/protocols/mqtt/ssl_psk/CMakeLists.txt index d30f796166..6d376f6e96 100644 --- a/examples/protocols/mqtt/ssl_psk/CMakeLists.txt +++ b/examples/protocols/mqtt/ssl_psk/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/mqtt/tcp/CMakeLists.txt b/examples/protocols/mqtt/tcp/CMakeLists.txt index d6f01d8dab..573e5a9f88 100644 --- a/examples/protocols/mqtt/tcp/CMakeLists.txt +++ b/examples/protocols/mqtt/tcp/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/mqtt/ws/CMakeLists.txt b/examples/protocols/mqtt/ws/CMakeLists.txt index bc5e2f1099..e6853e080b 100644 --- a/examples/protocols/mqtt/ws/CMakeLists.txt +++ b/examples/protocols/mqtt/ws/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/mqtt/wss/CMakeLists.txt b/examples/protocols/mqtt/wss/CMakeLists.txt index e62d88e13f..f02bf83c19 100644 --- a/examples/protocols/mqtt/wss/CMakeLists.txt +++ b/examples/protocols/mqtt/wss/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/mqtt5/CMakeLists.txt b/examples/protocols/mqtt5/CMakeLists.txt index fe8bdc9cd4..39ef4351e2 100644 --- a/examples/protocols/mqtt5/CMakeLists.txt +++ b/examples/protocols/mqtt5/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/smtp_client/CMakeLists.txt b/examples/protocols/smtp_client/CMakeLists.txt index 77f987d049..fd9df1b3b5 100644 --- a/examples/protocols/smtp_client/CMakeLists.txt +++ b/examples/protocols/smtp_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/sntp/CMakeLists.txt b/examples/protocols/sntp/CMakeLists.txt index 3032dafc41..7ea6acf06e 100644 --- a/examples/protocols/sntp/CMakeLists.txt +++ b/examples/protocols/sntp/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/sockets/icmpv6_ping/CMakeLists.txt b/examples/protocols/sockets/icmpv6_ping/CMakeLists.txt index ee1fce3115..092cc21d76 100644 --- a/examples/protocols/sockets/icmpv6_ping/CMakeLists.txt +++ b/examples/protocols/sockets/icmpv6_ping/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. idf_build_set_property(MINIMAL_BUILD ON) diff --git a/examples/protocols/sockets/non_blocking/CMakeLists.txt b/examples/protocols/sockets/non_blocking/CMakeLists.txt index a8a9e150da..38f8a88e32 100644 --- a/examples/protocols/sockets/non_blocking/CMakeLists.txt +++ b/examples/protocols/sockets/non_blocking/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/sockets/tcp_client/CMakeLists.txt b/examples/protocols/sockets/tcp_client/CMakeLists.txt index 254eb86757..894835eb2e 100644 --- a/examples/protocols/sockets/tcp_client/CMakeLists.txt +++ b/examples/protocols/sockets/tcp_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/protocols/sockets/tcp_client_multi_net/CMakeLists.txt b/examples/protocols/sockets/tcp_client_multi_net/CMakeLists.txt index d192d9c00c..c492eafa42 100644 --- a/examples/protocols/sockets/tcp_client_multi_net/CMakeLists.txt +++ b/examples/protocols/sockets/tcp_client_multi_net/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/sockets/tcp_server/CMakeLists.txt b/examples/protocols/sockets/tcp_server/CMakeLists.txt index 6e63cf1872..066adcac8e 100644 --- a/examples/protocols/sockets/tcp_server/CMakeLists.txt +++ b/examples/protocols/sockets/tcp_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/sockets/udp_client/CMakeLists.txt b/examples/protocols/sockets/udp_client/CMakeLists.txt index 8613995002..68be6609a8 100644 --- a/examples/protocols/sockets/udp_client/CMakeLists.txt +++ b/examples/protocols/sockets/udp_client/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/protocols/sockets/udp_multicast/CMakeLists.txt b/examples/protocols/sockets/udp_multicast/CMakeLists.txt index d49e1c427a..63cfe401d7 100644 --- a/examples/protocols/sockets/udp_multicast/CMakeLists.txt +++ b/examples/protocols/sockets/udp_multicast/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/sockets/udp_server/CMakeLists.txt b/examples/protocols/sockets/udp_server/CMakeLists.txt index 2ff67b3929..23622ec0dd 100644 --- a/examples/protocols/sockets/udp_server/CMakeLists.txt +++ b/examples/protocols/sockets/udp_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/protocols/static_ip/CMakeLists.txt b/examples/protocols/static_ip/CMakeLists.txt index 5a8ccaf630..4b02747e5c 100644 --- a/examples/protocols/static_ip/CMakeLists.txt +++ b/examples/protocols/static_ip/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/provisioning/wifi_prov_mgr/CMakeLists.txt b/examples/provisioning/wifi_prov_mgr/CMakeLists.txt index 92e90a4d4b..52208a42bc 100644 --- a/examples/provisioning/wifi_prov_mgr/CMakeLists.txt +++ b/examples/provisioning/wifi_prov_mgr/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/security/flash_encryption/CMakeLists.txt b/examples/security/flash_encryption/CMakeLists.txt index 5113cb8eab..f19f7ffe4e 100644 --- a/examples/security/flash_encryption/CMakeLists.txt +++ b/examples/security/flash_encryption/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/security/hmac_soft_jtag/CMakeLists.txt b/examples/security/hmac_soft_jtag/CMakeLists.txt index a4c6d0bc39..887256559f 100644 --- a/examples/security/hmac_soft_jtag/CMakeLists.txt +++ b/examples/security/hmac_soft_jtag/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/security/nvs_encryption_hmac/CMakeLists.txt b/examples/security/nvs_encryption_hmac/CMakeLists.txt index f0c2212a8a..1625954ff9 100644 --- a/examples/security/nvs_encryption_hmac/CMakeLists.txt +++ b/examples/security/nvs_encryption_hmac/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/security/security_features_app/CMakeLists.txt b/examples/security/security_features_app/CMakeLists.txt index 121c8ab3b1..ad4514d080 100644 --- a/examples/security/security_features_app/CMakeLists.txt +++ b/examples/security/security_features_app/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/security/tee/tee_attestation/CMakeLists.txt b/examples/security/tee/tee_attestation/CMakeLists.txt index f2683dfc68..f5fc8611c8 100644 --- a/examples/security/tee/tee_attestation/CMakeLists.txt +++ b/examples/security/tee/tee_attestation/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/security/tee/tee_basic/CMakeLists.txt b/examples/security/tee/tee_basic/CMakeLists.txt index 432e9c39ac..b46bfb6551 100644 --- a/examples/security/tee/tee_basic/CMakeLists.txt +++ b/examples/security/tee/tee_basic/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/security/tee/tee_basic/components/example_secure_service/CMakeLists.txt b/examples/security/tee/tee_basic/components/example_secure_service/CMakeLists.txt index 0e86e75790..4007e34517 100644 --- a/examples/security/tee/tee_basic/components/example_secure_service/CMakeLists.txt +++ b/examples/security/tee/tee_basic/components/example_secure_service/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) idf_build_get_property(esp_tee_build ESP_TEE_BUILD) diff --git a/examples/security/tee/tee_secure_ota/CMakeLists.txt b/examples/security/tee/tee_secure_ota/CMakeLists.txt index b686c24817..5dffe99fd7 100644 --- a/examples/security/tee/tee_secure_ota/CMakeLists.txt +++ b/examples/security/tee/tee_secure_ota/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/security/tee/tee_secure_storage/CMakeLists.txt b/examples/security/tee/tee_secure_storage/CMakeLists.txt index 55c182e782..f9c8c7471d 100644 --- a/examples/security/tee/tee_secure_storage/CMakeLists.txt +++ b/examples/security/tee/tee_secure_storage/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/storage/custom_flash_driver/CMakeLists.txt b/examples/storage/custom_flash_driver/CMakeLists.txt index 9d1a33ebc4..f54b0a3bf4 100644 --- a/examples/storage/custom_flash_driver/CMakeLists.txt +++ b/examples/storage/custom_flash_driver/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/emmc/CMakeLists.txt b/examples/storage/emmc/CMakeLists.txt index d99bd4dd49..83f4aeec36 100644 --- a/examples/storage/emmc/CMakeLists.txt +++ b/examples/storage/emmc/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/fatfs/ext_flash/CMakeLists.txt b/examples/storage/fatfs/ext_flash/CMakeLists.txt index fa960260a7..f3190dc513 100644 --- a/examples/storage/fatfs/ext_flash/CMakeLists.txt +++ b/examples/storage/fatfs/ext_flash/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/fatfs/fatfsgen/CMakeLists.txt b/examples/storage/fatfs/fatfsgen/CMakeLists.txt index a98153d8a5..62ebd1dda2 100644 --- a/examples/storage/fatfs/fatfsgen/CMakeLists.txt +++ b/examples/storage/fatfs/fatfsgen/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/fatfs/fs_operations/CMakeLists.txt b/examples/storage/fatfs/fs_operations/CMakeLists.txt index 3f55a91edb..e26bfa06cf 100644 --- a/examples/storage/fatfs/fs_operations/CMakeLists.txt +++ b/examples/storage/fatfs/fs_operations/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/fatfs/getting_started/CMakeLists.txt b/examples/storage/fatfs/getting_started/CMakeLists.txt index ea3844a406..8c75b0eb36 100644 --- a/examples/storage/fatfs/getting_started/CMakeLists.txt +++ b/examples/storage/fatfs/getting_started/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/littlefs/CMakeLists.txt b/examples/storage/littlefs/CMakeLists.txt index 5ad3d48b81..feab9c5c16 100644 --- a/examples/storage/littlefs/CMakeLists.txt +++ b/examples/storage/littlefs/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/nvs/nvs_bootloader/CMakeLists.txt b/examples/storage/nvs/nvs_bootloader/CMakeLists.txt index f0935b0e9f..439f03dc9e 100644 --- a/examples/storage/nvs/nvs_bootloader/CMakeLists.txt +++ b/examples/storage/nvs/nvs_bootloader/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/storage/nvs/nvs_console/CMakeLists.txt b/examples/storage/nvs/nvs_console/CMakeLists.txt index 1382eb42de..cb9b183414 100644 --- a/examples/storage/nvs/nvs_console/CMakeLists.txt +++ b/examples/storage/nvs/nvs_console/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/examples/system/console/advanced/components") diff --git a/examples/storage/nvs/nvs_rw_blob/CMakeLists.txt b/examples/storage/nvs/nvs_rw_blob/CMakeLists.txt index 70c6522baf..0e9a2caa4e 100644 --- a/examples/storage/nvs/nvs_rw_blob/CMakeLists.txt +++ b/examples/storage/nvs/nvs_rw_blob/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/nvs/nvs_rw_value/CMakeLists.txt b/examples/storage/nvs/nvs_rw_value/CMakeLists.txt index 2b24db82a1..6238adbea9 100644 --- a/examples/storage/nvs/nvs_rw_value/CMakeLists.txt +++ b/examples/storage/nvs/nvs_rw_value/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/nvs/nvs_rw_value_cxx/CMakeLists.txt b/examples/storage/nvs/nvs_rw_value_cxx/CMakeLists.txt index 9250955db7..1b2d42f931 100644 --- a/examples/storage/nvs/nvs_rw_value_cxx/CMakeLists.txt +++ b/examples/storage/nvs/nvs_rw_value_cxx/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/nvs/nvsgen/CMakeLists.txt b/examples/storage/nvs/nvsgen/CMakeLists.txt index 35c997526e..e7107ce6af 100644 --- a/examples/storage/nvs/nvsgen/CMakeLists.txt +++ b/examples/storage/nvs/nvsgen/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/partition_api/partition_find/CMakeLists.txt b/examples/storage/partition_api/partition_find/CMakeLists.txt index 27f2b62c47..7308b60373 100644 --- a/examples/storage/partition_api/partition_find/CMakeLists.txt +++ b/examples/storage/partition_api/partition_find/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/partition_api/partition_mmap/CMakeLists.txt b/examples/storage/partition_api/partition_mmap/CMakeLists.txt index 4043814e6d..e849a1db40 100644 --- a/examples/storage/partition_api/partition_mmap/CMakeLists.txt +++ b/examples/storage/partition_api/partition_mmap/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/partition_api/partition_ops/CMakeLists.txt b/examples/storage/partition_api/partition_ops/CMakeLists.txt index 437d340cef..f77c497df5 100644 --- a/examples/storage/partition_api/partition_ops/CMakeLists.txt +++ b/examples/storage/partition_api/partition_ops/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/parttool/CMakeLists.txt b/examples/storage/parttool/CMakeLists.txt index 517ee8fb26..69cf4708c6 100644 --- a/examples/storage/parttool/CMakeLists.txt +++ b/examples/storage/parttool/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/perf_benchmark/CMakeLists.txt b/examples/storage/perf_benchmark/CMakeLists.txt index 411c0b13d3..6a78b5fd3a 100644 --- a/examples/storage/perf_benchmark/CMakeLists.txt +++ b/examples/storage/perf_benchmark/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/sd_card/sdmmc/CMakeLists.txt b/examples/storage/sd_card/sdmmc/CMakeLists.txt index 53b763a1a2..e2e26c3c2b 100644 --- a/examples/storage/sd_card/sdmmc/CMakeLists.txt +++ b/examples/storage/sd_card/sdmmc/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/sd_card/sdspi/CMakeLists.txt b/examples/storage/sd_card/sdspi/CMakeLists.txt index a3cb3ed750..8c291c3895 100644 --- a/examples/storage/sd_card/sdspi/CMakeLists.txt +++ b/examples/storage/sd_card/sdspi/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/semihost_vfs/CMakeLists.txt b/examples/storage/semihost_vfs/CMakeLists.txt index 741145cd91..51ddda6366 100644 --- a/examples/storage/semihost_vfs/CMakeLists.txt +++ b/examples/storage/semihost_vfs/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/spiffs/CMakeLists.txt b/examples/storage/spiffs/CMakeLists.txt index 34645c18dd..e9c7699172 100644 --- a/examples/storage/spiffs/CMakeLists.txt +++ b/examples/storage/spiffs/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/spiffsgen/CMakeLists.txt b/examples/storage/spiffsgen/CMakeLists.txt index 088b0c9593..ddb0bc9bf4 100644 --- a/examples/storage/spiffsgen/CMakeLists.txt +++ b/examples/storage/spiffsgen/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/storage/wear_levelling/CMakeLists.txt b/examples/storage/wear_levelling/CMakeLists.txt index 84e880845d..21a6cd05fe 100644 --- a/examples/storage/wear_levelling/CMakeLists.txt +++ b/examples/storage/wear_levelling/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/app_trace_basic/CMakeLists.txt b/examples/system/app_trace_basic/CMakeLists.txt index 7e21f2789b..9dda719765 100644 --- a/examples/system/app_trace_basic/CMakeLists.txt +++ b/examples/system/app_trace_basic/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/app_trace_to_plot/CMakeLists.txt b/examples/system/app_trace_to_plot/CMakeLists.txt index 655ed87e3a..52ecda4f59 100644 --- a/examples/system/app_trace_to_plot/CMakeLists.txt +++ b/examples/system/app_trace_to_plot/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/base_mac_address/CMakeLists.txt b/examples/system/base_mac_address/CMakeLists.txt index 2558460ef4..308b449229 100644 --- a/examples/system/base_mac_address/CMakeLists.txt +++ b/examples/system/base_mac_address/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/console/advanced/CMakeLists.txt b/examples/system/console/advanced/CMakeLists.txt index dd7c640a01..1b80db1242 100644 --- a/examples/system/console/advanced/CMakeLists.txt +++ b/examples/system/console/advanced/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/console/basic/CMakeLists.txt b/examples/system/console/basic/CMakeLists.txt index dd7c640a01..1b80db1242 100644 --- a/examples/system/console/basic/CMakeLists.txt +++ b/examples/system/console/basic/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/deep_sleep/CMakeLists.txt b/examples/system/deep_sleep/CMakeLists.txt index 06c8f96355..5e417f5979 100644 --- a/examples/system/deep_sleep/CMakeLists.txt +++ b/examples/system/deep_sleep/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/deep_sleep_wake_stub/CMakeLists.txt b/examples/system/deep_sleep_wake_stub/CMakeLists.txt index 7dcf948d44..fca85ea8c3 100644 --- a/examples/system/deep_sleep_wake_stub/CMakeLists.txt +++ b/examples/system/deep_sleep_wake_stub/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/efuse/CMakeLists.txt b/examples/system/efuse/CMakeLists.txt index 0d8deed3e6..ca3e5cfdf4 100644 --- a/examples/system/efuse/CMakeLists.txt +++ b/examples/system/efuse/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/efuse/get_efuse_summary.cmake b/examples/system/efuse/get_efuse_summary.cmake index 26f090a880..0d41383c3f 100644 --- a/examples/system/efuse/get_efuse_summary.cmake +++ b/examples/system/efuse/get_efuse_summary.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include(${esptool_py_dir}/espefuse.cmake) espefuse_get_json_summary(efuse_json) diff --git a/examples/system/esp_event/default_event_loop/CMakeLists.txt b/examples/system/esp_event/default_event_loop/CMakeLists.txt index 4999db722b..17021b49cc 100644 --- a/examples/system/esp_event/default_event_loop/CMakeLists.txt +++ b/examples/system/esp_event/default_event_loop/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/esp_event/user_event_loops/CMakeLists.txt b/examples/system/esp_event/user_event_loops/CMakeLists.txt index c0a96ac7de..ce240bbce9 100644 --- a/examples/system/esp_event/user_event_loops/CMakeLists.txt +++ b/examples/system/esp_event/user_event_loops/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/esp_timer/CMakeLists.txt b/examples/system/esp_timer/CMakeLists.txt index 368dd6be83..491f83b2b8 100644 --- a/examples/system/esp_timer/CMakeLists.txt +++ b/examples/system/esp_timer/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/eventfd/CMakeLists.txt b/examples/system/eventfd/CMakeLists.txt index e181143c1b..3355ebe6a5 100644 --- a/examples/system/eventfd/CMakeLists.txt +++ b/examples/system/eventfd/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/flash_suspend/CMakeLists.txt b/examples/system/flash_suspend/CMakeLists.txt index bd73fcc1be..a3855d32b6 100644 --- a/examples/system/flash_suspend/CMakeLists.txt +++ b/examples/system/flash_suspend/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/freertos/basic_freertos_smp_usage/CMakeLists.txt b/examples/system/freertos/basic_freertos_smp_usage/CMakeLists.txt index 8bb69dcc52..4418fc0873 100644 --- a/examples/system/freertos/basic_freertos_smp_usage/CMakeLists.txt +++ b/examples/system/freertos/basic_freertos_smp_usage/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/freertos/real_time_stats/CMakeLists.txt b/examples/system/freertos/real_time_stats/CMakeLists.txt index 6a5d678d9e..27fd25ec1d 100644 --- a/examples/system/freertos/real_time_stats/CMakeLists.txt +++ b/examples/system/freertos/real_time_stats/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/gcov/CMakeLists.txt b/examples/system/gcov/CMakeLists.txt index 9f13094314..742dab5c5a 100644 --- a/examples/system/gcov/CMakeLists.txt +++ b/examples/system/gcov/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # keep this string to detect as project file in CI: #include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/system/gdbstub/CMakeLists.txt b/examples/system/gdbstub/CMakeLists.txt index 65d364a541..62ba98aa46 100644 --- a/examples/system/gdbstub/CMakeLists.txt +++ b/examples/system/gdbstub/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/heap_task_tracking/advanced/CMakeLists.txt b/examples/system/heap_task_tracking/advanced/CMakeLists.txt index e788c7d4be..f6906f5aca 100644 --- a/examples/system/heap_task_tracking/advanced/CMakeLists.txt +++ b/examples/system/heap_task_tracking/advanced/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(advanced) diff --git a/examples/system/heap_task_tracking/basic/CMakeLists.txt b/examples/system/heap_task_tracking/basic/CMakeLists.txt index 6a651d0736..3904675cb7 100644 --- a/examples/system/heap_task_tracking/basic/CMakeLists.txt +++ b/examples/system/heap_task_tracking/basic/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/himem/CMakeLists.txt b/examples/system/himem/CMakeLists.txt index 07d68eced7..fca71d06d4 100644 --- a/examples/system/himem/CMakeLists.txt +++ b/examples/system/himem/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ipc/ipc_isr/riscv/CMakeLists.txt b/examples/system/ipc/ipc_isr/riscv/CMakeLists.txt index 226c0bd094..3b1ec03280 100644 --- a/examples/system/ipc/ipc_isr/riscv/CMakeLists.txt +++ b/examples/system/ipc/ipc_isr/riscv/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ipc/ipc_isr/xtensa/CMakeLists.txt b/examples/system/ipc/ipc_isr/xtensa/CMakeLists.txt index 226c0bd094..3b1ec03280 100644 --- a/examples/system/ipc/ipc_isr/xtensa/CMakeLists.txt +++ b/examples/system/ipc/ipc_isr/xtensa/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/light_sleep/CMakeLists.txt b/examples/system/light_sleep/CMakeLists.txt index 43bb505cff..ea4c3207ec 100644 --- a/examples/system/light_sleep/CMakeLists.txt +++ b/examples/system/light_sleep/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/nmi_isr/CMakeLists.txt b/examples/system/nmi_isr/CMakeLists.txt index 066eb1c70b..12e3abfb33 100644 --- a/examples/system/nmi_isr/CMakeLists.txt +++ b/examples/system/nmi_isr/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ota/advanced_https_ota/CMakeLists.txt b/examples/system/ota/advanced_https_ota/CMakeLists.txt index 0ce2c92350..528f125502 100644 --- a/examples/system/ota/advanced_https_ota/CMakeLists.txt +++ b/examples/system/ota/advanced_https_ota/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/system/ota/native_ota_example/CMakeLists.txt b/examples/system/ota/native_ota_example/CMakeLists.txt index ae54e33231..99ce328b92 100644 --- a/examples/system/ota/native_ota_example/CMakeLists.txt +++ b/examples/system/ota/native_ota_example/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/system/ota/otatool/CMakeLists.txt b/examples/system/ota/otatool/CMakeLists.txt index 1923e13cd7..f9dd069ebe 100644 --- a/examples/system/ota/otatool/CMakeLists.txt +++ b/examples/system/ota/otatool/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ota/partitions_ota/CMakeLists.txt b/examples/system/ota/partitions_ota/CMakeLists.txt index 7eea2e02e3..2ecdf1071f 100644 --- a/examples/system/ota/partitions_ota/CMakeLists.txt +++ b/examples/system/ota/partitions_ota/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(partitions_ota) diff --git a/examples/system/ota/simple_ota_example/CMakeLists.txt b/examples/system/ota/simple_ota_example/CMakeLists.txt index 8bc4354f21..bb68753714 100644 --- a/examples/system/ota/simple_ota_example/CMakeLists.txt +++ b/examples/system/ota/simple_ota_example/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/examples/system/perfmon/CMakeLists.txt b/examples/system/perfmon/CMakeLists.txt index 77afff7bd7..84d16db99f 100644 --- a/examples/system/perfmon/CMakeLists.txt +++ b/examples/system/perfmon/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/pthread/CMakeLists.txt b/examples/system/pthread/CMakeLists.txt index dd70ed59cc..2ee8da2970 100644 --- a/examples/system/pthread/CMakeLists.txt +++ b/examples/system/pthread/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/rt_mqueue/CMakeLists.txt b/examples/system/rt_mqueue/CMakeLists.txt index e75583d82d..30b8d99f33 100644 --- a/examples/system/rt_mqueue/CMakeLists.txt +++ b/examples/system/rt_mqueue/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/select/CMakeLists.txt b/examples/system/select/CMakeLists.txt index b121051c39..fce3f2503d 100644 --- a/examples/system/select/CMakeLists.txt +++ b/examples/system/select/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/startup_time/CMakeLists.txt b/examples/system/startup_time/CMakeLists.txt index 19820c2e9d..06641936be 100644 --- a/examples/system/startup_time/CMakeLists.txt +++ b/examples/system/startup_time/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/sysview_tracing/CMakeLists.txt b/examples/system/sysview_tracing/CMakeLists.txt index 9a42eed2dc..bd26227c04 100644 --- a/examples/system/sysview_tracing/CMakeLists.txt +++ b/examples/system/sysview_tracing/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/sysview_tracing_heap_log/CMakeLists.txt b/examples/system/sysview_tracing_heap_log/CMakeLists.txt index e559fe6739..b530a2df37 100644 --- a/examples/system/sysview_tracing_heap_log/CMakeLists.txt +++ b/examples/system/sysview_tracing_heap_log/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/task_watchdog/CMakeLists.txt b/examples/system/task_watchdog/CMakeLists.txt index ed41622719..76b3bf4a2e 100644 --- a/examples/system/task_watchdog/CMakeLists.txt +++ b/examples/system/task_watchdog/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/lp_core/build_system/CMakeLists.txt b/examples/system/ulp/lp_core/build_system/CMakeLists.txt index 0315b618bb..88f47ec7c6 100644 --- a/examples/system/ulp/lp_core/build_system/CMakeLists.txt +++ b/examples/system/ulp/lp_core/build_system/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/lp_core/build_system/main/ulp/CMakeLists.txt b/examples/system/ulp/lp_core/build_system/main/ulp/CMakeLists.txt index 5db624a7d7..88b5819b15 100644 --- a/examples/system/ulp/lp_core/build_system/main/ulp/CMakeLists.txt +++ b/examples/system/ulp/lp_core/build_system/main/ulp/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Project/target name is passed from the main project to allow IDF to have a dependency on this target # as well as embed the binary into the main app diff --git a/examples/system/ulp/lp_core/debugging/CMakeLists.txt b/examples/system/ulp/lp_core/debugging/CMakeLists.txt index 277ec06d41..c9f5b44700 100644 --- a/examples/system/ulp/lp_core/debugging/CMakeLists.txt +++ b/examples/system/ulp/lp_core/debugging/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") diff --git a/examples/system/ulp/lp_core/debugging/main/ulp/CMakeLists.txt b/examples/system/ulp/lp_core/debugging/main/ulp/CMakeLists.txt index 04d275d704..f0872893cd 100644 --- a/examples/system/ulp/lp_core/debugging/main/ulp/CMakeLists.txt +++ b/examples/system/ulp/lp_core/debugging/main/ulp/CMakeLists.txt @@ -4,7 +4,7 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Project/target name is passed from the main project to allow IDF to have a dependency on this target # as well as embed the binary into the main app diff --git a/examples/system/ulp/lp_core/gpio/CMakeLists.txt b/examples/system/ulp/lp_core/gpio/CMakeLists.txt index 9ef203de35..ed1a710d73 100644 --- a/examples/system/ulp/lp_core/gpio/CMakeLists.txt +++ b/examples/system/ulp/lp_core/gpio/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/lp_core/gpio_intr_pulse_counter/CMakeLists.txt b/examples/system/ulp/lp_core/gpio_intr_pulse_counter/CMakeLists.txt index 2441cbc358..c44eac2867 100644 --- a/examples/system/ulp/lp_core/gpio_intr_pulse_counter/CMakeLists.txt +++ b/examples/system/ulp/lp_core/gpio_intr_pulse_counter/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/lp_core/gpio_wakeup/CMakeLists.txt b/examples/system/ulp/lp_core/gpio_wakeup/CMakeLists.txt index 8c1a422f3f..30598faae6 100644 --- a/examples/system/ulp/lp_core/gpio_wakeup/CMakeLists.txt +++ b/examples/system/ulp/lp_core/gpio_wakeup/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(ulp_lp_core_gpio_wakeup_example) diff --git a/examples/system/ulp/lp_core/inter_cpu_critical_section/CMakeLists.txt b/examples/system/ulp/lp_core/inter_cpu_critical_section/CMakeLists.txt index f2b368a63e..2b7237a3fe 100644 --- a/examples/system/ulp/lp_core/inter_cpu_critical_section/CMakeLists.txt +++ b/examples/system/ulp/lp_core/inter_cpu_critical_section/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") diff --git a/examples/system/ulp/lp_core/interrupt/CMakeLists.txt b/examples/system/ulp/lp_core/interrupt/CMakeLists.txt index e03d134ec8..358d821323 100644 --- a/examples/system/ulp/lp_core/interrupt/CMakeLists.txt +++ b/examples/system/ulp/lp_core/interrupt/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/lp_core/lp_adc/CMakeLists.txt b/examples/system/ulp/lp_core/lp_adc/CMakeLists.txt index c2e1a52dac..4338e0d604 100644 --- a/examples/system/ulp/lp_core/lp_adc/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_adc/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") diff --git a/examples/system/ulp/lp_core/lp_i2c/CMakeLists.txt b/examples/system/ulp/lp_core/lp_i2c/CMakeLists.txt index ab8baad70e..8f4a488f76 100644 --- a/examples/system/ulp/lp_core/lp_i2c/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_i2c/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") diff --git a/examples/system/ulp/lp_core/lp_spi/CMakeLists.txt b/examples/system/ulp/lp_core/lp_spi/CMakeLists.txt index 0eaa5362f3..6943b9c478 100644 --- a/examples/system/ulp/lp_core/lp_spi/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_spi/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(lp_spi) diff --git a/examples/system/ulp/lp_core/lp_timer_interrupt/CMakeLists.txt b/examples/system/ulp/lp_core/lp_timer_interrupt/CMakeLists.txt index 0901afb4af..1b7cfefcad 100644 --- a/examples/system/ulp/lp_core/lp_timer_interrupt/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_timer_interrupt/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/lp_core/lp_touch/CMakeLists.txt b/examples/system/ulp/lp_core/lp_touch/CMakeLists.txt index a104305f69..2419aa5655 100644 --- a/examples/system/ulp/lp_core/lp_touch/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_touch/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/lp_core/lp_uart/lp_uart_char_seq_wakeup/CMakeLists.txt b/examples/system/ulp/lp_core/lp_uart/lp_uart_char_seq_wakeup/CMakeLists.txt index 0249365348..5d8471e0c1 100644 --- a/examples/system/ulp/lp_core/lp_uart/lp_uart_char_seq_wakeup/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_uart/lp_uart_char_seq_wakeup/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") diff --git a/examples/system/ulp/lp_core/lp_uart/lp_uart_echo/CMakeLists.txt b/examples/system/ulp/lp_core/lp_uart/lp_uart_echo/CMakeLists.txt index 8bbaba87a8..63eb7fa47b 100644 --- a/examples/system/ulp/lp_core/lp_uart/lp_uart_echo/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_uart/lp_uart_echo/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") diff --git a/examples/system/ulp/lp_core/lp_uart/lp_uart_print/CMakeLists.txt b/examples/system/ulp/lp_core/lp_uart/lp_uart_print/CMakeLists.txt index b034426307..0a6de19f01 100644 --- a/examples/system/ulp/lp_core/lp_uart/lp_uart_print/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_uart/lp_uart_print/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") diff --git a/examples/system/ulp/ulp_fsm/ulp/CMakeLists.txt b/examples/system/ulp/ulp_fsm/ulp/CMakeLists.txt index dfec000675..8c6674a9d2 100644 --- a/examples/system/ulp/ulp_fsm/ulp/CMakeLists.txt +++ b/examples/system/ulp/ulp_fsm/ulp/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/ulp_fsm/ulp_adc/CMakeLists.txt b/examples/system/ulp/ulp_fsm/ulp_adc/CMakeLists.txt index f840a7fea8..dd15d25652 100644 --- a/examples/system/ulp/ulp_fsm/ulp_adc/CMakeLists.txt +++ b/examples/system/ulp/ulp_fsm/ulp_adc/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/ulp_riscv/adc/CMakeLists.txt b/examples/system/ulp/ulp_riscv/adc/CMakeLists.txt index a43918cf30..663256c7ab 100644 --- a/examples/system/ulp/ulp_riscv/adc/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/adc/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/ulp_riscv/ds18b20_onewire/CMakeLists.txt b/examples/system/ulp/ulp_riscv/ds18b20_onewire/CMakeLists.txt index 794e104cd6..e4316df4f2 100644 --- a/examples/system/ulp/ulp_riscv/ds18b20_onewire/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/ds18b20_onewire/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/ulp_riscv/gpio/CMakeLists.txt b/examples/system/ulp/ulp_riscv/gpio/CMakeLists.txt index 9d4d6cf3a2..a9c5d00715 100644 --- a/examples/system/ulp/ulp_riscv/gpio/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/gpio/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/ulp_riscv/gpio_interrupt/CMakeLists.txt b/examples/system/ulp/ulp_riscv/gpio_interrupt/CMakeLists.txt index 9d4d6cf3a2..a9c5d00715 100644 --- a/examples/system/ulp/ulp_riscv/gpio_interrupt/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/gpio_interrupt/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/ulp_riscv/i2c/CMakeLists.txt b/examples/system/ulp/ulp_riscv/i2c/CMakeLists.txt index 95360ceba5..b3efe39060 100644 --- a/examples/system/ulp/ulp_riscv/i2c/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/i2c/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/ulp_riscv/interrupts/CMakeLists.txt b/examples/system/ulp/ulp_riscv/interrupts/CMakeLists.txt index 6ab71bed3c..6502946e05 100644 --- a/examples/system/ulp/ulp_riscv/interrupts/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/interrupts/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/ulp_riscv/touch/CMakeLists.txt b/examples/system/ulp/ulp_riscv/touch/CMakeLists.txt index 9d4d6cf3a2..a9c5d00715 100644 --- a/examples/system/ulp/ulp_riscv/touch/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/touch/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/ulp/ulp_riscv/uart_print/CMakeLists.txt b/examples/system/ulp/ulp_riscv/uart_print/CMakeLists.txt index 9d4d6cf3a2..a9c5d00715 100644 --- a/examples/system/ulp/ulp_riscv/uart_print/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/uart_print/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/unit_test/CMakeLists.txt b/examples/system/unit_test/CMakeLists.txt index 14c7d424b2..6dd023113f 100644 --- a/examples/system/unit_test/CMakeLists.txt +++ b/examples/system/unit_test/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/system/unit_test/test/CMakeLists.txt b/examples/system/unit_test/test/CMakeLists.txt index 151ab0a51f..ae011f96b1 100644 --- a/examples/system/unit_test/test/CMakeLists.txt +++ b/examples/system/unit_test/test/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Include the components directory of the main application: # diff --git a/examples/system/xip_from_psram/CMakeLists.txt b/examples/system/xip_from_psram/CMakeLists.txt index 1a3cd94aa2..75943b3c35 100644 --- a/examples/system/xip_from_psram/CMakeLists.txt +++ b/examples/system/xip_from_psram/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/espnow/CMakeLists.txt b/examples/wifi/espnow/CMakeLists.txt index 23f6516f17..e8cb6393e9 100644 --- a/examples/wifi/espnow/CMakeLists.txt +++ b/examples/wifi/espnow/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/fast_scan/CMakeLists.txt b/examples/wifi/fast_scan/CMakeLists.txt index 108b1316cf..ee6b082033 100644 --- a/examples/wifi/fast_scan/CMakeLists.txt +++ b/examples/wifi/fast_scan/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/ftm/CMakeLists.txt b/examples/wifi/ftm/CMakeLists.txt index e615b4a315..d9e9d82382 100644 --- a/examples/wifi/ftm/CMakeLists.txt +++ b/examples/wifi/ftm/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/getting_started/softAP/CMakeLists.txt b/examples/wifi/getting_started/softAP/CMakeLists.txt index 9a08f2d598..c81a824d67 100644 --- a/examples/wifi/getting_started/softAP/CMakeLists.txt +++ b/examples/wifi/getting_started/softAP/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/getting_started/station/CMakeLists.txt b/examples/wifi/getting_started/station/CMakeLists.txt index 8a54292c66..cce5f92dbc 100644 --- a/examples/wifi/getting_started/station/CMakeLists.txt +++ b/examples/wifi/getting_started/station/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/iperf/CMakeLists.txt b/examples/wifi/iperf/CMakeLists.txt index ee2035eb68..50f7117371 100644 --- a/examples/wifi/iperf/CMakeLists.txt +++ b/examples/wifi/iperf/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/itwt/CMakeLists.txt b/examples/wifi/itwt/CMakeLists.txt index 935ad6ba79..31e9831dac 100644 --- a/examples/wifi/itwt/CMakeLists.txt +++ b/examples/wifi/itwt/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/power_save/CMakeLists.txt b/examples/wifi/power_save/CMakeLists.txt index 0bdb9269fe..793fb334f0 100644 --- a/examples/wifi/power_save/CMakeLists.txt +++ b/examples/wifi/power_save/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/roaming/roaming_11kvr/CMakeLists.txt b/examples/wifi/roaming/roaming_11kvr/CMakeLists.txt index f5a97a564a..bdf1f6c3d2 100644 --- a/examples/wifi/roaming/roaming_11kvr/CMakeLists.txt +++ b/examples/wifi/roaming/roaming_11kvr/CMakeLists.txt @@ -3,7 +3,7 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/roaming/roaming_app/CMakeLists.txt b/examples/wifi/roaming/roaming_app/CMakeLists.txt index 63ac3b2e1c..c28c8cd501 100644 --- a/examples/wifi/roaming/roaming_app/CMakeLists.txt +++ b/examples/wifi/roaming/roaming_app/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/scan/CMakeLists.txt b/examples/wifi/scan/CMakeLists.txt index dfb351fbb3..a3002692e1 100644 --- a/examples/wifi/scan/CMakeLists.txt +++ b/examples/wifi/scan/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/smart_config/CMakeLists.txt b/examples/wifi/smart_config/CMakeLists.txt index cfcfe8410b..0f630c94f2 100644 --- a/examples/wifi/smart_config/CMakeLists.txt +++ b/examples/wifi/smart_config/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/softap_sta/CMakeLists.txt b/examples/wifi/softap_sta/CMakeLists.txt index 9ec35f0940..e7239f2ef1 100644 --- a/examples/wifi/softap_sta/CMakeLists.txt +++ b/examples/wifi/softap_sta/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/wifi_aware/nan_console/CMakeLists.txt b/examples/wifi/wifi_aware/nan_console/CMakeLists.txt index 7cdfe4b780..6745ef3780 100644 --- a/examples/wifi/wifi_aware/nan_console/CMakeLists.txt +++ b/examples/wifi/wifi_aware/nan_console/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/wifi_aware/nan_publisher/CMakeLists.txt b/examples/wifi/wifi_aware/nan_publisher/CMakeLists.txt index 4ef79b9d8b..6c0a026fe1 100644 --- a/examples/wifi/wifi_aware/nan_publisher/CMakeLists.txt +++ b/examples/wifi/wifi_aware/nan_publisher/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/wifi_aware/nan_subscriber/CMakeLists.txt b/examples/wifi/wifi_aware/nan_subscriber/CMakeLists.txt index dd1f3c7092..740bfa37fa 100644 --- a/examples/wifi/wifi_aware/nan_subscriber/CMakeLists.txt +++ b/examples/wifi/wifi_aware/nan_subscriber/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/wifi_eap_fast/CMakeLists.txt b/examples/wifi/wifi_eap_fast/CMakeLists.txt index 39847c8d3d..0fbdade137 100644 --- a/examples/wifi/wifi_eap_fast/CMakeLists.txt +++ b/examples/wifi/wifi_eap_fast/CMakeLists.txt @@ -3,7 +3,7 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/wifi_easy_connect/dpp-enrollee/CMakeLists.txt b/examples/wifi/wifi_easy_connect/dpp-enrollee/CMakeLists.txt index ad31585810..7afdfa747e 100644 --- a/examples/wifi/wifi_easy_connect/dpp-enrollee/CMakeLists.txt +++ b/examples/wifi/wifi_easy_connect/dpp-enrollee/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/wifi_enterprise/CMakeLists.txt b/examples/wifi/wifi_enterprise/CMakeLists.txt index c2b81630a0..27e11fcf49 100644 --- a/examples/wifi/wifi_enterprise/CMakeLists.txt +++ b/examples/wifi/wifi_enterprise/CMakeLists.txt @@ -3,7 +3,7 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/wifi_nvs_config/CMakeLists.txt b/examples/wifi/wifi_nvs_config/CMakeLists.txt index a9520603da..136fb7be3f 100644 --- a/examples/wifi/wifi_nvs_config/CMakeLists.txt +++ b/examples/wifi/wifi_nvs_config/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/wps/CMakeLists.txt b/examples/wifi/wps/CMakeLists.txt index 5552cbb3d6..5fa1f198cb 100644 --- a/examples/wifi/wps/CMakeLists.txt +++ b/examples/wifi/wps/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/wifi/wps_softap_registrar/CMakeLists.txt b/examples/wifi/wps_softap_registrar/CMakeLists.txt index 8373768a63..b548bcdd27 100644 --- a/examples/wifi/wps_softap_registrar/CMakeLists.txt +++ b/examples/wifi/wps_softap_registrar/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/zigbee/esp_zigbee_gateway/CMakeLists.txt b/examples/zigbee/esp_zigbee_gateway/CMakeLists.txt index 6021d05872..9dfa5e1225 100644 --- a/examples/zigbee/esp_zigbee_gateway/CMakeLists.txt +++ b/examples/zigbee/esp_zigbee_gateway/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. idf_build_set_property(MINIMAL_BUILD ON) diff --git a/examples/zigbee/light_sample/HA_on_off_light/CMakeLists.txt b/examples/zigbee/light_sample/HA_on_off_light/CMakeLists.txt index 38cb8e5c51..1c706695df 100644 --- a/examples/zigbee/light_sample/HA_on_off_light/CMakeLists.txt +++ b/examples/zigbee/light_sample/HA_on_off_light/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/examples/zigbee/light_sample/HA_on_off_switch/CMakeLists.txt b/examples/zigbee/light_sample/HA_on_off_switch/CMakeLists.txt index 605ea189c2..7352039602 100644 --- a/examples/zigbee/light_sample/HA_on_off_switch/CMakeLists.txt +++ b/examples/zigbee/light_sample/HA_on_off_switch/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. idf_build_set_property(MINIMAL_BUILD ON) diff --git a/tools/cmake/project.cmake b/tools/cmake/project.cmake index 10839d63ef..520069a1f5 100644 --- a/tools/cmake/project.cmake +++ b/tools/cmake/project.cmake @@ -1,5 +1,5 @@ # Designed to be included from an IDF app's CMakeLists.txt file -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Get the currently selected sdkconfig file early, so this doesn't # have to be done multiple times on different places. @@ -607,7 +607,7 @@ macro(project project_name) # Set the variables that project() normally sets, documented in the # command's docs. # - # https://cmake.org/cmake/help/v3.16/command/project.html + # https://cmake.org/cmake/help/v3.22/command/project.html # # There is some nuance when it comes to setting version variables in terms of whether # CMP0048 is set to OLD or NEW. However, the proper behavior should have bee already handled by the original diff --git a/tools/cmake/run_dfu_util.cmake b/tools/cmake/run_dfu_util.cmake index 6a0d72d258..49113030c4 100644 --- a/tools/cmake/run_dfu_util.cmake +++ b/tools/cmake/run_dfu_util.cmake @@ -3,7 +3,7 @@ # # It is recommended to NOT USE this CMake script directly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(TOOL "dfu-util") set(CMD "${TOOL}") diff --git a/tools/cmake/run_size_tool.cmake b/tools/cmake/run_size_tool.cmake index 76164d5e24..df8108b57f 100644 --- a/tools/cmake/run_size_tool.cmake +++ b/tools/cmake/run_size_tool.cmake @@ -4,7 +4,7 @@ # # It is recommended to NOT USE this CMake script if you have the option of # running the tool directly. This script exists only for use inside CMake builds. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Main purpose of this script: we can't expand these environment variables in the main IDF CMake build, # because we want to expand them at CMake target build time not at CMake configuration time diff --git a/tools/cmake/run_uf2_cmds.cmake b/tools/cmake/run_uf2_cmds.cmake index 1ed4d5c0fc..6dc0645c81 100644 --- a/tools/cmake/run_uf2_cmds.cmake +++ b/tools/cmake/run_uf2_cmds.cmake @@ -3,7 +3,7 @@ # # It is recommended to NOT USE this CMake script directly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(UF2_CMD "${UF2_CMD}") set(UF2_ARGS "${UF2_ARGS}") diff --git a/tools/templates/sample_project/CMakeLists.txt b/tools/templates/sample_project/CMakeLists.txt index 0cc87a6edb..718e83f01c 100644 --- a/tools/templates/sample_project/CMakeLists.txt +++ b/tools/templates/sample_project/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(main) diff --git a/tools/test_apps/build_system/bootloader/CMakeLists.txt b/tools/test_apps/build_system/bootloader/CMakeLists.txt index 77df77913b..6113da7880 100644 --- a/tools/test_apps/build_system/bootloader/CMakeLists.txt +++ b/tools/test_apps/build_system/bootloader/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(build_system_bootloader) diff --git a/tools/test_apps/build_system/custom_partition_subtypes/CMakeLists.txt b/tools/test_apps/build_system/custom_partition_subtypes/CMakeLists.txt index 0153334d81..238ddb5428 100644 --- a/tools/test_apps/build_system/custom_partition_subtypes/CMakeLists.txt +++ b/tools/test_apps/build_system/custom_partition_subtypes/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main partition_table custom) diff --git a/tools/test_apps/build_system/embed_test/CMakeLists.txt b/tools/test_apps/build_system/embed_test/CMakeLists.txt index 8459c78d7f..9a5f7a1307 100644 --- a/tools/test_apps/build_system/embed_test/CMakeLists.txt +++ b/tools/test_apps/build_system/embed_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/build_system/ld_non_contiguous_memory/CMakeLists.txt b/tools/test_apps/build_system/ld_non_contiguous_memory/CMakeLists.txt index 0ce29970dd..2cf17ecb5d 100644 --- a/tools/test_apps/build_system/ld_non_contiguous_memory/CMakeLists.txt +++ b/tools/test_apps/build_system/ld_non_contiguous_memory/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(test_non_contiguous_regions) diff --git a/tools/test_apps/build_system/ldgen_test/CMakeLists.txt b/tools/test_apps/build_system/ldgen_test/CMakeLists.txt index 928b59de43..24547787d2 100644 --- a/tools/test_apps/build_system/ldgen_test/CMakeLists.txt +++ b/tools/test_apps/build_system/ldgen_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/linux_compatible/generic_build_test/CMakeLists.txt b/tools/test_apps/linux_compatible/generic_build_test/CMakeLists.txt index 6f761e8850..e5f7116f0f 100644 --- a/tools/test_apps/linux_compatible/generic_build_test/CMakeLists.txt +++ b/tools/test_apps/linux_compatible/generic_build_test/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/linux_compatible/linux_freertos/CMakeLists.txt b/tools/test_apps/linux_compatible/linux_freertos/CMakeLists.txt index d4ee0f720e..883db9d7d2 100644 --- a/tools/test_apps/linux_compatible/linux_freertos/CMakeLists.txt +++ b/tools/test_apps/linux_compatible/linux_freertos/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/linux_compatible/mock_build_test/CMakeLists.txt b/tools/test_apps/linux_compatible/mock_build_test/CMakeLists.txt index 97af0e1aee..ed479cbd3d 100644 --- a/tools/test_apps/linux_compatible/mock_build_test/CMakeLists.txt +++ b/tools/test_apps/linux_compatible/mock_build_test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/peripherals/i2c_wifi/CMakeLists.txt b/tools/test_apps/peripherals/i2c_wifi/CMakeLists.txt index f5025a3810..a4cf5b78c6 100644 --- a/tools/test_apps/peripherals/i2c_wifi/CMakeLists.txt +++ b/tools/test_apps/peripherals/i2c_wifi/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(i2c_wifi_main) diff --git a/tools/test_apps/phy/phy_multi_init_data_test/CMakeLists.txt b/tools/test_apps/phy/phy_multi_init_data_test/CMakeLists.txt index f2cec72b87..54fb0c96d1 100644 --- a/tools/test_apps/phy/phy_multi_init_data_test/CMakeLists.txt +++ b/tools/test_apps/phy/phy_multi_init_data_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(phy_multi_init_data_test) diff --git a/tools/test_apps/phy/phy_tsens/CMakeLists.txt b/tools/test_apps/phy/phy_tsens/CMakeLists.txt index 7d24080a0d..774b653d3e 100644 --- a/tools/test_apps/phy/phy_tsens/CMakeLists.txt +++ b/tools/test_apps/phy/phy_tsens/CMakeLists.txt @@ -1,5 +1,5 @@ #This is the project CMakeLists.txt file for the test subproject -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/protocols/esp_netif/build_config/CMakeLists.txt b/tools/test_apps/protocols/esp_netif/build_config/CMakeLists.txt index 189254acc5..8cbde63e60 100644 --- a/tools/test_apps/protocols/esp_netif/build_config/CMakeLists.txt +++ b/tools/test_apps/protocols/esp_netif/build_config/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(esp_netif_build_config) diff --git a/tools/test_apps/protocols/mqtt/build_test/CMakeLists.txt b/tools/test_apps/protocols/mqtt/build_test/CMakeLists.txt index 7dd960dccf..a48b8b4edb 100644 --- a/tools/test_apps/protocols/mqtt/build_test/CMakeLists.txt +++ b/tools/test_apps/protocols/mqtt/build_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # (Not part of the boilerplate) # This example uses an extra component for common functions such as Wi-Fi and Ethernet connection. diff --git a/tools/test_apps/protocols/mqtt/publish_connect_test/CMakeLists.txt b/tools/test_apps/protocols/mqtt/publish_connect_test/CMakeLists.txt index 543259e6a2..be93606864 100644 --- a/tools/test_apps/protocols/mqtt/publish_connect_test/CMakeLists.txt +++ b/tools/test_apps/protocols/mqtt/publish_connect_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) idf_build_set_property(MINIMAL_BUILD ON) diff --git a/tools/test_apps/protocols/netif_components/CMakeLists.txt b/tools/test_apps/protocols/netif_components/CMakeLists.txt index bb017836a5..e5eee571d9 100644 --- a/tools/test_apps/protocols/netif_components/CMakeLists.txt +++ b/tools/test_apps/protocols/netif_components/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(driver_components esp_eth esp_wifi openthread) @@ -19,7 +19,7 @@ message(STATUS "Checking if sdkconfig contains CONFIG_TESTAPP_COMPONENT related set(config_file "${CMAKE_CURRENT_SOURCE_DIR}/sdkconfig") if(EXISTS ${config_file}) # If the config file exists, check for the non-default settings - LWIP or ESP-NETIF-without-LWIP - # otherwise (file missing or defalut settings) go with ESP_NETIF + # otherwise (file missing or default settings) go with ESP_NETIF file(READ ${config_file} config_file_content) string(FIND "${config_file_content}" "CONFIG_TESTAPP_COMPONENT_LWIP=y" match_lwip) string(FIND "${config_file_content}" "CONFIG_TESTAPP_COMPONENT_ESP_NETIF_WITHOUT_LWIP=y" match_netif_no_lwip) @@ -55,7 +55,7 @@ idf_build_set_property(__BUILD_COMPONENT_DEPGRAPH_ENABLED 1) project(network_components) -# Get the actual build commponents included in the build +# Get the actual build components included in the build idf_build_get_property(build_components BUILD_COMPONENTS) message(STATUS "Build components needed my main and ${component_under_test}:") diff --git a/tools/test_apps/protocols/network_tests/CMakeLists.txt b/tools/test_apps/protocols/network_tests/CMakeLists.txt index b710e88bd6..3b77d68e8b 100644 --- a/tools/test_apps/protocols/network_tests/CMakeLists.txt +++ b/tools/test_apps/protocols/network_tests/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(net_suite) diff --git a/tools/test_apps/security/secure_boot/CMakeLists.txt b/tools/test_apps/security/secure_boot/CMakeLists.txt index 09d112f667..0c83cbea07 100644 --- a/tools/test_apps/security/secure_boot/CMakeLists.txt +++ b/tools/test_apps/security/secure_boot/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Secure Boot not currently supported for ESP32-S2 include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/security/signed_app_no_secure_boot/CMakeLists.txt b/tools/test_apps/security/signed_app_no_secure_boot/CMakeLists.txt index 09d112f667..0c83cbea07 100644 --- a/tools/test_apps/security/signed_app_no_secure_boot/CMakeLists.txt +++ b/tools/test_apps/security/signed_app_no_secure_boot/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Secure Boot not currently supported for ESP32-S2 include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/storage/fatfsgen/CMakeLists.txt b/tools/test_apps/storage/fatfsgen/CMakeLists.txt index 7e3ea7e055..ae7f23b0d1 100644 --- a/tools/test_apps/storage/fatfsgen/CMakeLists.txt +++ b/tools/test_apps/storage/fatfsgen/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/tools/test_apps/storage/partition_table_readonly/CMakeLists.txt b/tools/test_apps/storage/partition_table_readonly/CMakeLists.txt index df4e85de8c..5c1b783480 100644 --- a/tools/test_apps/storage/partition_table_readonly/CMakeLists.txt +++ b/tools/test_apps/storage/partition_table_readonly/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(test_partition_table_readonly) diff --git a/tools/test_apps/storage/sdmmc_console/CMakeLists.txt b/tools/test_apps/storage/sdmmc_console/CMakeLists.txt index 919538840c..770f2a528f 100644 --- a/tools/test_apps/storage/sdmmc_console/CMakeLists.txt +++ b/tools/test_apps/storage/sdmmc_console/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/examples/system/console/advanced/components") list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components") diff --git a/tools/test_apps/storage/std_filesystem/CMakeLists.txt b/tools/test_apps/storage/std_filesystem/CMakeLists.txt index 077a86bb3b..d537885884 100644 --- a/tools/test_apps/storage/std_filesystem/CMakeLists.txt +++ b/tools/test_apps/storage/std_filesystem/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/bootloader_sections/CMakeLists.txt b/tools/test_apps/system/bootloader_sections/CMakeLists.txt index 79360d2fec..15d88de6f2 100644 --- a/tools/test_apps/system/bootloader_sections/CMakeLists.txt +++ b/tools/test_apps/system/bootloader_sections/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/build_test/CMakeLists.txt b/tools/test_apps/system/build_test/CMakeLists.txt index c475ac0440..d4cab30917 100644 --- a/tools/test_apps/system/build_test/CMakeLists.txt +++ b/tools/test_apps/system/build_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/system/clang_build_test/CMakeLists.txt b/tools/test_apps/system/clang_build_test/CMakeLists.txt index 3d9f414280..ba7dde010c 100644 --- a/tools/test_apps/system/clang_build_test/CMakeLists.txt +++ b/tools/test_apps/system/clang_build_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # Note: not setting set(COMPONENTS main) here, this app should build all the components diff --git a/tools/test_apps/system/cxx_build_test/CMakeLists.txt b/tools/test_apps/system/cxx_build_test/CMakeLists.txt index 6220fe0dff..1d480058e5 100644 --- a/tools/test_apps/system/cxx_build_test/CMakeLists.txt +++ b/tools/test_apps/system/cxx_build_test/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/system/cxx_no_except/CMakeLists.txt b/tools/test_apps/system/cxx_no_except/CMakeLists.txt index 5281635662..f0db0784be 100644 --- a/tools/test_apps/system/cxx_no_except/CMakeLists.txt +++ b/tools/test_apps/system/cxx_no_except/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/eh_frame/CMakeLists.txt b/tools/test_apps/system/eh_frame/CMakeLists.txt index d6864816d4..753f3b109d 100644 --- a/tools/test_apps/system/eh_frame/CMakeLists.txt +++ b/tools/test_apps/system/eh_frame/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/esp_intr_dump/CMakeLists.txt b/tools/test_apps/system/esp_intr_dump/CMakeLists.txt index 3d658bd5e6..1bc140cc1a 100644 --- a/tools/test_apps/system/esp_intr_dump/CMakeLists.txt +++ b/tools/test_apps/system/esp_intr_dump/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/system/flash_auto_suspend_iram_reduction/CMakeLists.txt b/tools/test_apps/system/flash_auto_suspend_iram_reduction/CMakeLists.txt index 352f87dbb8..bc52b15ecb 100644 --- a/tools/test_apps/system/flash_auto_suspend_iram_reduction/CMakeLists.txt +++ b/tools/test_apps/system/flash_auto_suspend_iram_reduction/CMakeLists.txt @@ -1,6 +1,6 @@ # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/system/g0_components/CMakeLists.txt b/tools/test_apps/system/g0_components/CMakeLists.txt index 4751f860e9..e0f2724a1c 100644 --- a/tools/test_apps/system/g0_components/CMakeLists.txt +++ b/tools/test_apps/system/g0_components/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/system/g1_components/CMakeLists.txt b/tools/test_apps/system/g1_components/CMakeLists.txt index b8d7c4fd20..c14f0f526b 100644 --- a/tools/test_apps/system/g1_components/CMakeLists.txt +++ b/tools/test_apps/system/g1_components/CMakeLists.txt @@ -2,7 +2,7 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(g0_components soc hal esp_common esp_rom) # also , i.e. xtensa or riscv, will be added below set(g1_components spi_flash freertos log heap newlib esp_system esp_hw_support esp_mm) diff --git a/tools/test_apps/system/gdb/CMakeLists.txt b/tools/test_apps/system/gdb/CMakeLists.txt index 312893908e..28487a3276 100644 --- a/tools/test_apps/system/gdb/CMakeLists.txt +++ b/tools/test_apps/system/gdb/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/gdb_loadable_elf/CMakeLists.txt b/tools/test_apps/system/gdb_loadable_elf/CMakeLists.txt index 429ba2dec7..65b50221aa 100644 --- a/tools/test_apps/system/gdb_loadable_elf/CMakeLists.txt +++ b/tools/test_apps/system/gdb_loadable_elf/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/gdbstub_runtime/CMakeLists.txt b/tools/test_apps/system/gdbstub_runtime/CMakeLists.txt index d6b8539cb6..dfdd035763 100644 --- a/tools/test_apps/system/gdbstub_runtime/CMakeLists.txt +++ b/tools/test_apps/system/gdbstub_runtime/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main) diff --git a/tools/test_apps/system/log/CMakeLists.txt b/tools/test_apps/system/log/CMakeLists.txt index 38938b3d54..d640e15407 100644 --- a/tools/test_apps/system/log/CMakeLists.txt +++ b/tools/test_apps/system/log/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. diff --git a/tools/test_apps/system/longjmp_test/CMakeLists.txt b/tools/test_apps/system/longjmp_test/CMakeLists.txt index 21991dc0ab..cd8df4800b 100644 --- a/tools/test_apps/system/longjmp_test/CMakeLists.txt +++ b/tools/test_apps/system/longjmp_test/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/memprot/CMakeLists.txt b/tools/test_apps/system/memprot/CMakeLists.txt index 76bfe2a657..17f144bf3c 100644 --- a/tools/test_apps/system/memprot/CMakeLists.txt +++ b/tools/test_apps/system/memprot/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) if((IDF_TARGET STREQUAL "esp32s2") OR (IDF_TARGET STREQUAL "esp32c3") OR (IDF_TARGET STREQUAL "esp32s3")) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/system/mmu_page_size/CMakeLists.txt b/tools/test_apps/system/mmu_page_size/CMakeLists.txt index 9a2312cf5b..d578602eef 100644 --- a/tools/test_apps/system/mmu_page_size/CMakeLists.txt +++ b/tools/test_apps/system/mmu_page_size/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/no_embedded_paths/CMakeLists.txt b/tools/test_apps/system/no_embedded_paths/CMakeLists.txt index 3e84ee3ba4..a99d87c0df 100644 --- a/tools/test_apps/system/no_embedded_paths/CMakeLists.txt +++ b/tools/test_apps/system/no_embedded_paths/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/panic/CMakeLists.txt b/tools/test_apps/system/panic/CMakeLists.txt index 6f446fa80e..274b36a93b 100644 --- a/tools/test_apps/system/panic/CMakeLists.txt +++ b/tools/test_apps/system/panic/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) set(COMPONENTS main espcoredump esp_gdbstub) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/tools/test_apps/system/ram_loadable_app/CMakeLists.txt b/tools/test_apps/system/ram_loadable_app/CMakeLists.txt index c8d265a436..fbbe3880a8 100644 --- a/tools/test_apps/system/ram_loadable_app/CMakeLists.txt +++ b/tools/test_apps/system/ram_loadable_app/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/startup/CMakeLists.txt b/tools/test_apps/system/startup/CMakeLists.txt index 5eb6af1006..e9f4204fd3 100644 --- a/tools/test_apps/system/startup/CMakeLists.txt +++ b/tools/test_apps/system/startup/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_apps/system/unicore_bootloader/CMakeLists.txt b/tools/test_apps/system/unicore_bootloader/CMakeLists.txt index 4b2055a9ab..64f3c98246 100644 --- a/tools/test_apps/system/unicore_bootloader/CMakeLists.txt +++ b/tools/test_apps/system/unicore_bootloader/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) set(COMPONENTS main) diff --git a/tools/test_build_system/build_test_app/CMakeLists.txt b/tools/test_build_system/build_test_app/CMakeLists.txt index d73b116405..c6046f96c7 100644 --- a/tools/test_build_system/build_test_app/CMakeLists.txt +++ b/tools/test_build_system/build_test_app/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # placeholder_before_include_project_cmake diff --git a/tools/test_idf_py/test_hints.py b/tools/test_idf_py/test_hints.py index 393c48d67e..74a5226238 100755 --- a/tools/test_idf_py/test_hints.py +++ b/tools/test_idf_py/test_hints.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD +# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD # SPDX-License-Identifier: Apache-2.0 import os import sys @@ -8,15 +8,13 @@ import tempfile import unittest from pathlib import Path from subprocess import run -from typing import List import yaml try: EXT_IDF_PATH = os.environ['IDF_PATH'] # type: str except KeyError: - print(('This test needs to run within ESP-IDF environmnet. ' - 'Please run export script first.'), file=sys.stderr) + print(('This test needs to run within ESP-IDF environment. Please run export script first.'), file=sys.stderr) exit(1) CWD = os.path.join(os.path.dirname(__file__)) @@ -48,12 +46,9 @@ class TestHintsMassages(unittest.TestCase): self.tmpdir.cleanup() -def run_idf(args: List[str], cwd: Path) -> str: +def run_idf(args: list[str], cwd: Path) -> str: # Simple helper to run idf command and return it's stdout. - cmd = [ - sys.executable, - os.path.join(os.environ['IDF_PATH'], 'tools', 'idf.py') - ] + cmd = [sys.executable, os.path.join(os.environ['IDF_PATH'], 'tools', 'idf.py')] proc = run(cmd + args, capture_output=True, cwd=cwd, text=True) return str(proc.stdout + proc.stderr) @@ -68,10 +63,9 @@ class TestHintModuleComponentRequirements(unittest.TestCase): self.projectdir = self.tmpdirpath / 'project' self.projectdir.mkdir(parents=True) - (self.projectdir / 'CMakeLists.txt').write_text(( - 'cmake_minimum_required(VERSION 3.16)\n' - 'include($ENV{IDF_PATH}/tools/cmake/project.cmake)\n' - 'project(foo)')) + (self.projectdir / 'CMakeLists.txt').write_text( + 'cmake_minimum_required(VERSION 3.22)\ninclude($ENV{IDF_PATH}/tools/cmake/project.cmake)\nproject(foo)' + ) maindir = self.projectdir / 'main' maindir.mkdir() @@ -104,9 +98,7 @@ class TestHintModuleComponentRequirements(unittest.TestCase): # REQUIRES instead of PRIV_REQUIRES. run_idf(['fullclean'], self.projectdir) maincmake = self.projectdir / 'main' / 'CMakeLists.txt' - maincmake.write_text(('idf_component_register(SRCS "foo.c" ' - 'REQUIRES esp_timer ' - 'INCLUDE_DIRS ".")')) + maincmake.write_text('idf_component_register(SRCS "foo.c" REQUIRES esp_timer INCLUDE_DIRS ".")') output = run_idf(['app'], self.projectdir) self.assertIn('To fix this, add component1 to REQUIRES list of idf_component_register call', output) @@ -115,9 +107,7 @@ class TestHintModuleComponentRequirements(unittest.TestCase): # to component1.h. Now the hint should report that esp_psram should # be moved from PRIV_REQUIRES to REQUIRES for component1. run_idf(['fullclean'], self.projectdir) - maincmake.write_text(('idf_component_register(SRCS "foo.c" ' - 'REQUIRES esp_timer component1 ' - 'INCLUDE_DIRS ".")')) + maincmake.write_text('idf_component_register(SRCS "foo.c" REQUIRES esp_timer component1 INCLUDE_DIRS ".")') (self.projectdir / 'components' / 'component1' / 'component1.h').write_text('#include "esp_psram.h"') component1cmake.write_text('idf_component_register(INCLUDE_DIRS "." PRIV_REQUIRES esp_psram)') output = run_idf(['app'], self.projectdir) @@ -147,12 +137,13 @@ class TestNestedModuleComponentRequirements(unittest.TestCase): self.projectdir = maindir / 'project' self.projectdir.mkdir(parents=True) - (self.projectdir / 'CMakeLists.txt').write_text(( - 'cmake_minimum_required(VERSION 3.16)\n' + (self.projectdir / 'CMakeLists.txt').write_text( + 'cmake_minimum_required(VERSION 3.22)\n' f'set(EXTRA_COMPONENT_DIRS "{components.as_posix()}")\n' 'set(COMPONENTS main)\n' 'include($ENV{IDF_PATH}/tools/cmake/project.cmake)\n' - 'project(foo)')) + 'project(foo)' + ) maindir = self.projectdir / 'main' maindir.mkdir() @@ -164,7 +155,9 @@ class TestNestedModuleComponentRequirements(unittest.TestCase): # when components are nested. The main component should be identified as the # real source, not the component1 component. output = run_idf(['app'], self.projectdir) - self.assertNotIn('esp_timer.h found in component esp_timer which is already in the requirements list of component1', output) + self.assertNotIn( + 'esp_timer.h found in component esp_timer which is already in the requirements list of component1', output + ) self.assertIn('To fix this, add esp_timer to PRIV_REQUIRES list of idf_component_register call', output) def tearDown(self) -> None: @@ -181,11 +174,12 @@ class TestTrimmedModuleComponentRequirements(unittest.TestCase): self.projectdir = self.tmpdirpath / 'project' self.projectdir.mkdir(parents=True) - (self.projectdir / 'CMakeLists.txt').write_text(( - 'cmake_minimum_required(VERSION 3.16)\n' + (self.projectdir / 'CMakeLists.txt').write_text( + 'cmake_minimum_required(VERSION 3.22)\n' 'set(COMPONENTS main)\n' 'include($ENV{IDF_PATH}/tools/cmake/project.cmake)\n' - 'project(foo)')) + 'project(foo)' + ) maindir = self.projectdir / 'main' maindir.mkdir() @@ -194,7 +188,9 @@ class TestTrimmedModuleComponentRequirements(unittest.TestCase): def test_trimmed_component_requirements(self) -> None: output = run_idf(['app'], self.projectdir) - self.assertIn('To fix this, add esp_http_client to PRIV_REQUIRES list of idf_component_register call in', output) + self.assertIn( + 'To fix this, add esp_http_client to PRIV_REQUIRES list of idf_component_register call in', output + ) def tearDown(self) -> None: self.tmpdir.cleanup() diff --git a/tools/tools.json b/tools/tools.json index 05d00ccc98..e7cca65286 100644 --- a/tools/tools.json +++ b/tools/tools.json @@ -565,75 +565,75 @@ "versions": [ { "linux-amd64": { - "sha256": "cdd7fb352605cee3ae53b0e18b5929b642900e33d6b0173e19f6d4f2067ebf16", - "size": 53635506, - "url": "https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-linux-x86_64.tar.gz" + "sha256": "585ae9e013107bc8e7c7c9ce872cbdcbdff569e675b07ef57aacfb88c886faac", + "size": 55509479, + "url": "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-linux-x86_64.tar.gz" }, "linux-arm64": { - "sha256": "d18f50f01b001303d21f53c6c16ff12ee3aa45df5da1899c2fe95be7426aa026", - "size": 54889935, - "url": "https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-linux-aarch64.tar.gz" + "sha256": "391da1544ef50ac31300841caaf11db4de3976cdc4468643272e44b3f4644713", + "size": 56811927, + "url": "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-linux-aarch64.tar.gz" }, "linux-armel": { - "sha256": "446650c69ea74817a770f96446c162bb7ad24ffecaacb35fcd4845ec7d3c9099", - "size": 17035042, - "url": "https://dl.espressif.com/dl/cmake/cmake-3.30.2-Linux-armv7l.tar.gz" + "sha256": "ee80bd9c5a310928eb89c9d28c6867a497c9b146e271ede8383e31426b930e15", + "size": 24050923, + "url": "https://dl.espressif.com/dl/cmake/cmake-4.0.3-Linux-armv7l.tar.gz" }, "linux-armhf": { - "sha256": "446650c69ea74817a770f96446c162bb7ad24ffecaacb35fcd4845ec7d3c9099", - "size": 17035042, - "url": "https://dl.espressif.com/dl/cmake/cmake-3.30.2-Linux-armv7l.tar.gz" + "sha256": "ee80bd9c5a310928eb89c9d28c6867a497c9b146e271ede8383e31426b930e15", + "size": 24050923, + "url": "https://dl.espressif.com/dl/cmake/cmake-4.0.3-Linux-armv7l.tar.gz" }, "macos": { - "sha256": "c6fdda745f9ce69bca048e91955c7d043ba905d6388a62e0ff52b681ac17183c", - "size": 79199037, - "url": "https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-macos-universal.tar.gz" + "sha256": "4e85de4daf1c3e82d7dc6b8ba5683972944b466343aeb9c327a742437bb3ce9a", + "size": 80058792, + "url": "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-macos-universal.tar.gz" }, "macos-arm64": { - "sha256": "c6fdda745f9ce69bca048e91955c7d043ba905d6388a62e0ff52b681ac17183c", - "size": 79199037, - "url": "https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-macos-universal.tar.gz" + "sha256": "4e85de4daf1c3e82d7dc6b8ba5683972944b466343aeb9c327a742437bb3ce9a", + "size": 80058792, + "url": "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-macos-universal.tar.gz" }, - "name": "3.30.2", + "name": "4.0.3", "status": "recommended", "win32": { - "sha256": "48bf4b3dc2d668c578e0884cac7878e146b036ca6b5ce4f8b5572f861b004c25", - "size": 45404613, - "url": "https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-windows-x86_64.zip" + "sha256": "b59a31dfbfa376a4aaea9ff560ff2b29f78ee5f9fb15447fc71ae7bf9fea9379", + "size": 47717299, + "url": "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-windows-x86_64.zip" }, "win64": { - "sha256": "48bf4b3dc2d668c578e0884cac7878e146b036ca6b5ce4f8b5572f861b004c25", - "size": 45404613, - "url": "https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-windows-x86_64.zip" + "sha256": "b59a31dfbfa376a4aaea9ff560ff2b29f78ee5f9fb15447fc71ae7bf9fea9379", + "size": 47717299, + "url": "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-windows-x86_64.zip" } }, { "linux-amd64": { - "sha256": "3e15dadfec8d54eda39c2f266fc1e571c1b88bf32f9d221c8a039b07234206fa", - "size": 39509848, - "url": "https://github.com/Kitware/CMake/releases/download/v3.16.3/cmake-3.16.3-Linux-x86_64.tar.gz" + "sha256": "73565c72355c6652e9db149249af36bcab44d9d478c5546fd926e69ad6b43640", + "size": 45345904, + "url": "https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-linux-x86_64.tar.gz" }, "macos": { - "sha256": "655d6ed41a1c276676ca6a1ec381c179d394420c489f2d39b3cf2ef26bfae799", - "size": 35799298, - "url": "https://github.com/Kitware/CMake/releases/download/v3.16.3/cmake-3.16.3-Darwin-x86_64.tar.gz" + "sha256": "9ba46ce69d524f5bcdf98076a6b01f727604fb31cf9005ec03dea1cf16da9514", + "size": 70155147, + "url": "https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-macos-universal.tar.gz" }, "macos-arm64": { - "sha256": "655d6ed41a1c276676ca6a1ec381c179d394420c489f2d39b3cf2ef26bfae799", - "size": 35799298, - "url": "https://github.com/Kitware/CMake/releases/download/v3.16.3/cmake-3.16.3-Darwin-x86_64.tar.gz" + "sha256": "9ba46ce69d524f5bcdf98076a6b01f727604fb31cf9005ec03dea1cf16da9514", + "size": 70155147, + "url": "https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-macos-universal.tar.gz" }, - "name": "3.16.3", + "name": "3.22.1", "status": "supported", "win32": { - "sha256": "4b1370b3252acda0850d26c75e9bc6b8e019daaa7978a19f5d8dc008450d3548", - "size": 32807681, - "url": "https://github.com/Kitware/CMake/releases/download/v3.16.3/cmake-3.16.3-win64-x64.zip" + "sha256": "35fbbb7d9ffa491834bbc79cdfefc6c360088a3c9bf55c29d111a5afa04cdca3", + "size": 38552249, + "url": "https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-windows-x86_64.zip" }, "win64": { - "sha256": "4b1370b3252acda0850d26c75e9bc6b8e019daaa7978a19f5d8dc008450d3548", - "size": 32807681, - "url": "https://github.com/Kitware/CMake/releases/download/v3.16.3/cmake-3.16.3-win64-x64.zip" + "sha256": "35fbbb7d9ffa491834bbc79cdfefc6c360088a3c9bf55c29d111a5afa04cdca3", + "size": 38552249, + "url": "https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-windows-x86_64.zip" } } ] diff --git a/tools/unit-test-app/CMakeLists.txt b/tools/unit-test-app/CMakeLists.txt index 2d8af591a4..e376d7ffd0 100644 --- a/tools/unit-test-app/CMakeLists.txt +++ b/tools/unit-test-app/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/test_apps/components")