fix(test_apps/gdb): declare spi_flash as a private requirement of main

main/hello_world_main.c uses spi_flash headers. Declare spi_flash in
PRIV_REQUIRES so the build works under cmakev2's strict component
isolation.
This commit is contained in:
Sudeep Mohanty
2026-05-18 12:54:48 +02:00
parent 56b1c32590
commit bdcd2d611c

View File

@@ -1,3 +1,4 @@
idf_component_register(SRCS "hello_world_main.c"
INCLUDE_DIRS "")
INCLUDE_DIRS ""
PRIV_REQUIRES spi_flash)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")