driver:Trim the build components

Trim the build components to decrease the load of Gitlab server.
This commit is contained in:
Chen Jichang
2023-06-13 14:24:44 +08:00
parent 6abdc9b76e
commit 6c9cf5c352
62 changed files with 126 additions and 7 deletions
@@ -1,6 +1,9 @@
# This is the project CMakeLists.txt file for the test subproject
cmake_minimum_required(VERSION 3.16)
# "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)
project(gpio_extension_test)
@@ -19,4 +19,5 @@ endif()
# In order for the cases defined by `TEST_CASE` to be linked into the final elf,
# the component can be registered as WHOLE_ARCHIVE
idf_component_register(SRCS ${srcs}
PRIV_REQUIRES unity driver
WHOLE_ARCHIVE)