controll of where the signing keys are stored (CONFIG_BOOT_SIGNATURE_KEY_FILE)

Want to store the CONFIG_BOOT_SIGNATURE_KEY_FILE in the project space, not the ncs folders.

Looking for a method to define file location without using a absolute path.

Build env is defaulting to "/home/username/ncs/v2.0.0/bootloader/mcuboot/child_image/key.pem"

Want to avoid a hardcoded full path, want to avoid the following.

CONFIG_BOOT_SIGNATURE_KEY_FILE="~/project/child_image/key.pem"
CONFIG_BOOT_SIGNATURE_KEY_FILE="/home/user/project/child_image/key.pem"
CONFIG_BOOT_SIGNATURE_KEY_FILE="C:/Nordic/nrf_connect_projects/project/child_image/key.pem"

Looking for something like.

CONFIG_BOOT_SIGNATURE_KEY_FILE="${PROJECT_DIR}//child_image/key.pem"

Parents Reply Children
No Data
Related