kopia lustrzana https://github.com/espressif/esp-idf
9 wiersze
444 B
CMake
9 wiersze
444 B
CMake
idf_build_get_property(project_dir PROJECT_DIR)
|
|
idf_component_register(SRCS "pre_encrypted_ota.c"
|
|
INCLUDE_DIRS "."
|
|
EMBED_TXTFILES ${project_dir}/server_certs/ca_cert.pem
|
|
${project_dir}/rsa_key/private.pem)
|
|
|
|
create_esp_enc_img(${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.bin
|
|
${project_dir}/rsa_key/private.pem ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}_secure.bin app)
|