mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
tools: use new component registration api for unit test app
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
set(COMPONENT_SRCS "ref_clock.c"
|
idf_component_register(SRCS "ref_clock.c"
|
||||||
"test_runner.c"
|
"test_runner.c"
|
||||||
"test_utils.c")
|
"test_utils.c"
|
||||||
set(COMPONENT_ADD_INCLUDEDIRS include)
|
INCLUDE_DIRS include
|
||||||
|
REQUIRES spi_flash idf_test unity)
|
||||||
set(COMPONENT_REQUIRES spi_flash idf_test unity)
|
|
||||||
|
|
||||||
register_component()
|
|
||||||
|
|
||||||
|
@@ -1,4 +1,2 @@
|
|||||||
set(COMPONENT_SRCS "app_main.c")
|
idf_component_register(SRCS "app_main.c"
|
||||||
set(COMPONENT_ADD_INCLUDEDIRS "")
|
INCLUDE_DIRS "")
|
||||||
|
|
||||||
register_component()
|
|
Reference in New Issue
Block a user