mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-23 15:27:28 +02:00
examples: use new component registration api
* Original commit: espressif/esp-idf@6771eead80
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
7fb6686716
commit
271665e0cb
@ -1,5 +1,2 @@
|
|||||||
set(COMPONENT_SRCS "connect.c"
|
idf_component_register(SRCS "connect.c" "stdin_out.c"
|
||||||
"stdin_out.c")
|
INCLUDE_DIRS "include")
|
||||||
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
|
||||||
|
|
||||||
register_component()
|
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
set(COMPONENT_SRCS "mdns_example_main.c")
|
idf_component_register(SRCS "mdns_example_main.c"
|
||||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
INCLUDE_DIRS ".")
|
||||||
|
|
||||||
register_component()
|
|
Reference in New Issue
Block a user