mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user