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 gabsuren
parent 9e83b1eb0e
commit df51e60ac0
4 changed files with 8 additions and 16 deletions

View File

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