diff --git a/examples/peripherals/h264/CMakeLists.txt b/examples/peripherals/h264/CMakeLists.txt index 449fed623b..0e1a1e3b30 100644 --- a/examples/peripherals/h264/CMakeLists.txt +++ b/examples/peripherals/h264/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.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) project(esp_h264_example) diff --git a/examples/peripherals/h264/main/CMakeLists.txt b/examples/peripherals/h264/main/CMakeLists.txt index 03bd31cb03..727426c165 100644 --- a/examples/peripherals/h264/main/CMakeLists.txt +++ b/examples/peripherals/h264/main/CMakeLists.txt @@ -1,2 +1,3 @@ idf_component_register(SRC_DIRS "./" - INCLUDE_DIRS "./") + INCLUDE_DIRS "./" + PRIV_REQUIRES esp_psram) diff --git a/examples/peripherals/h264/main/idf_component.yml b/examples/peripherals/h264/main/idf_component.yml index 1a910d9301..548d77e0fd 100644 --- a/examples/peripherals/h264/main/idf_component.yml +++ b/examples/peripherals/h264/main/idf_component.yml @@ -1,4 +1,2 @@ dependencies: - espressif/esp_h264: "^1.0.4" - idf: - version: ">=5.3.0" + espressif/esp_h264: "^1.1.0" diff --git a/examples/peripherals/i2c/i2c_basic/CMakeLists.txt b/examples/peripherals/i2c/i2c_basic/CMakeLists.txt index 9f416da937..4deab6499a 100644 --- a/examples/peripherals/i2c/i2c_basic/CMakeLists.txt +++ b/examples/peripherals/i2c/i2c_basic/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.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) project(i2c-basic) diff --git a/examples/peripherals/i2c/i2c_basic/main/CMakeLists.txt b/examples/peripherals/i2c/i2c_basic/main/CMakeLists.txt index c34b04c56a..5002c5ba25 100644 --- a/examples/peripherals/i2c/i2c_basic/main/CMakeLists.txt +++ b/examples/peripherals/i2c/i2c_basic/main/CMakeLists.txt @@ -1,2 +1,3 @@ idf_component_register(SRCS "i2c_basic_example_main.c" - INCLUDE_DIRS ".") + INCLUDE_DIRS "." + PRIV_REQUIRES esp_driver_i2c) diff --git a/examples/peripherals/i2s/i2s_advance/i2s_usb/CMakeLists.txt b/examples/peripherals/i2s/i2s_advance/i2s_usb/CMakeLists.txt index 25713b693d..168b224367 100644 --- a/examples/peripherals/i2s/i2s_advance/i2s_usb/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_advance/i2s_usb/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.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) project(i2s_usb) diff --git a/examples/peripherals/lcd/parlio_simulate/CMakeLists.txt b/examples/peripherals/lcd/parlio_simulate/CMakeLists.txt index 96da3a91a0..255851ca61 100644 --- a/examples/peripherals/lcd/parlio_simulate/CMakeLists.txt +++ b/examples/peripherals/lcd/parlio_simulate/CMakeLists.txt @@ -1,7 +1,6 @@ cmake_minimum_required(VERSION 3.22) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) - 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) project(parlio_simulate) 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 04cae688f4..d6dff81e40 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 @@ -5,6 +5,6 @@ cmake_minimum_required(VERSION 3.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) - +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(advanced_rgb_led_matrix) diff --git a/examples/peripherals/touch_sensor/touch_sens_sleep/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_sens_sleep/CMakeLists.txt index d11ddaa021..cd06171941 100644 --- a/examples/peripherals/touch_sensor/touch_sens_sleep/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_sens_sleep/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.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) project(touch_sens_sleep)