Merge branch 'test/set_minimal_build_for_security_test_apps' into 'master'

test(security): Use minimal build in the security test apps

Closes IDF-14203

See merge request espressif/esp-idf!42292
This commit is contained in:
Harshal Patil
2025-09-30 11:38:21 +05:30
3 changed files with 10 additions and 3 deletions

View File

@@ -2,6 +2,9 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.22)
# Secure Boot not currently supported for ESP32-S2
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(secure_boot)

View File

@@ -2,6 +2,9 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.22)
# Secure Boot not currently supported for ESP32-S2
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(secure_boot)

View File

@@ -1,2 +1,3 @@
idf_component_register(SRCS "main.c"
INCLUDE_DIRS ".")
INCLUDE_DIRS "."
PRIV_REQUIRES nvs_flash)