Hello,
We have been trying to develop a custom bootloader, with ncs v2.3.0
As a starting point. we use a nrf52832 dk
1) I made a copy of the bootloader from the samples dir in ncs. which I renamed "my_bootloader", in my apps local dir.
2) I use a very simple app ( which is named my_app ), as well located in my local apps dir.
I need "my_app" to be built with "my_bootloader".
The config I have is, for my_ap is
prj.conf
CONFIG_CPLUSPLUS=y
# Logging with Uart0 on Putty
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_SECURE_BOOT=y
CONFIG_B0_BUILD_STRATEGY_FROM_SOURCE=y
CONFIG_SB_SIGNING_KEY_FILE="melifloBootPrivateKey.pem"
This actually uses the bootloader located in ncs/samples. I do not want to modify the code in my ncs dirs.
I tested different strategies to use my_custombootloader instead, but with no success. ( ie: add_child )
Could you please tell me the modifications I should make in my_app/prj.conf and my_app/CMakeLists.txt to make this happen?
Thanks in advance,
M Martin