examples: use new component registration api

* Original commit: espressif/esp-idf@6771eead80
This commit is contained in:
Renz Christian Bagaporo
2019-04-28 15:38:46 +08:00
committed by suren-gabrielyan-espressif
parent 7fb6686716
commit 271665e0cb
2 changed files with 4 additions and 9 deletions

View File

@ -1,5 +1,2 @@
set(COMPONENT_SRCS "connect.c"
"stdin_out.c")
set(COMPONENT_ADD_INCLUDEDIRS "include")
register_component()
idf_component_register(SRCS "connect.c" "stdin_out.c"
INCLUDE_DIRS "include")