mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
refactor(example): enable minimal build for peripheral examples
Closes https://github.com/espressif/esp-idf/issues/17836
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
idf_component_register(SRC_DIRS "./"
|
||||
INCLUDE_DIRS "./")
|
||||
INCLUDE_DIRS "./"
|
||||
PRIV_REQUIRES esp_psram)
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
dependencies:
|
||||
espressif/esp_h264: "^1.0.4"
|
||||
idf:
|
||||
version: ">=5.3.0"
|
||||
espressif/esp_h264: "^1.1.0"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "i2c_basic_example_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES esp_driver_i2c)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user