mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
update bsp/esp32c3/main/CMakeLists.txt.
Signed-off-by: 李昂 <liang6516@outlook.com>
This commit is contained in:
parent
b21268464c
commit
1d88212a46
@ -1,8 +1,7 @@
|
|||||||
# Embed the server root certificate into the final binary
|
# Embed the server root certificate into the final binary
|
||||||
idf_build_get_property(project_dir PROJECT_DIR)
|
idf_build_get_property(project_dir PROJECT_DIR)
|
||||||
idf_component_register(SRCS "main.c"
|
idf_component_register(SRCS "main.c"
|
||||||
INCLUDE_DIRS "."
|
INCLUDE_DIRS ".")
|
||||||
EMBED_TXTFILES ${project_dir}/server_certs/ca_cert.pem)
|
|
||||||
# add macro
|
# add macro
|
||||||
idf_build_set_property(
|
idf_build_set_property(
|
||||||
COMPILE_DEFINITIONS "-DPIKA_CONFIG_ENABLE" APPEND)
|
COMPILE_DEFINITIONS "-DPIKA_CONFIG_ENABLE" APPEND)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user