mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Create a signed binary image from a previously generated binary using the `idf_build_binary` function. This image can be signed with an optional key from a KEYFILE or, by default, with the key specified in the sdkconfig. A new custom command is added to generate the signed binary, which is stored at the location specified by the OUTPUT_FILE option and a new custom target is created for it, with the name provided in the TARGET option. The BINARY_PATH property is added to this new TARGET, containing the path to the signed binary image. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>