update bsp/esp32c3/main/CMakeLists.txt.

Signed-off-by: 李昂 <liang6516@outlook.com>
This commit is contained in:
李昂 2023-01-17 14:00:35 +00:00 committed by Gitee
parent b21268464c
commit 1d88212a46
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,8 +1,7 @@
# Embed the server root certificate into the final binary
idf_build_get_property(project_dir PROJECT_DIR)
idf_component_register(SRCS "main.c"
INCLUDE_DIRS "."
EMBED_TXTFILES ${project_dir}/server_certs/ca_cert.pem)
INCLUDE_DIRS ".")
# add macro
idf_build_set_property(
COMPILE_DEFINITIONS "-DPIKA_CONFIG_ENABLE" APPEND)