This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

specify MCUBOOT project or build out of ncs repo

Hello,

At this point I have been able to successfully customize and run the mcuboot procect.. Mcuboot is successfully built and linked with my app.

However I am would want to move the bootloader project out of the ncs repo and into my custom git repo. 

 

1. Is there a way to point the compiler/nrf connect SDK to a different project to build as the bootloader.

alternatively

2.I tried using configurations:

CONFIG_BOOTLOADER_MCUBOOT=y,

CONFIG_MCUBOOT_BUILD_STRATEGY_USE_HEX_FILE=y,

CONFIG_MCUBOOT_HEX_FILE="<boot-loader hex location>/zephyr.hex"

However, I get compiler errors  'PM_MCUBOOT_PRIMARY_ID' undeclared and 'PM_MCUBOOT_SECONDARY_ID' undeclared.

I would appreciate some feedback on how to go forwards with any of the two approaches.

Parents Reply Children
Related