tools: use new component registration api for unit test app

This commit is contained in:
Renz Christian Bagaporo 2019-04-28 15:39:02 +08:00
parent 6771eead80
commit e9bc46db71
2 changed files with 7 additions and 12 deletions

View file

@ -1,9 +1,6 @@
set(COMPONENT_SRCS "ref_clock.c"
idf_component_register(SRCS "ref_clock.c"
"test_runner.c"
"test_utils.c")
set(COMPONENT_ADD_INCLUDEDIRS include)
set(COMPONENT_REQUIRES spi_flash idf_test unity)
register_component()
"test_utils.c"
INCLUDE_DIRS include
REQUIRES spi_flash idf_test unity)

View file

@ -1,4 +1,2 @@
set(COMPONENT_SRCS "app_main.c")
set(COMPONENT_ADD_INCLUDEDIRS "")
register_component()
idf_component_register(SRCS "app_main.c"
INCLUDE_DIRS "")