This commit is contained in:
ok-home
2023-10-03 21:19:46 +07:00
parent 4c5878ee10
commit 1a44129e73
5 changed files with 50 additions and 11 deletions

View File

@@ -18,7 +18,7 @@ if(CONFIG_OTA_PRE_ENCRYPTED_MODE)
)
#openssl genrsa -out rsa_key/private.pem 3072
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)
${project_dir}/../rsa_key/private.pem ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}_secure.bin app)
else()
idf_component_register(
SRCS