examples: use new component registration api

This commit is contained in:
Renz Christian Bagaporo
2019-04-28 15:38:46 +08:00
parent 9eccd7c082
commit 6771eead80
169 changed files with 409 additions and 788 deletions

View File

@@ -1,10 +1,6 @@
set(COMPONENT_SRCS "https_mbedtls_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
# Embed the server root certificate into the final binary
#
# (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
set(COMPONENT_EMBED_TXTFILES server_root_cert.pem)
register_component()
idf_component_register(SRCS "https_mbedtls_example_main.c"
INCLUDE_DIRS "."
EMBED_TXTFILES server_root_cert.pem)