Files
ota_ws_update/main/CMakeLists.txt
ok-home f5d0cd2d9f first
2023-09-21 20:42:49 +07:00

6 lines
270 B
CMake

# Embed the server root certificate into the final binary
idf_build_get_property(project_dir PROJECT_DIR)
idf_component_register(SRCS "simple_ota_example.c"
INCLUDE_DIRS "."
EMBED_TXTFILES ${project_dir}/server_certs/ca_cert.pem)