examples: use new component registration api

* Original commit: espressif/esp-idf@6771eead80
This commit is contained in:
Renz Christian Bagaporo authored and suren-gabrielyan-espressif committed 2022-05-27 17:44:23 +04:00
1 parent 7fb6686716
commit 271665e0cb
2 files changed
+4 -9

No files matched your search

@@ -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")
+2 -4
View File
@@ -1,4 +1,2 @@
set(COMPONENT_SRCS "mdns_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()
idf_component_register(SRCS "mdns_example_main.c"
INCLUDE_DIRS ".")