How to generate application core image at particular offset in Flash

Hello,

I am building https://github.com/nrfconnect/sdk-nrf/tree/main/samples/bluetooth/peripheral_uart example and I need to generate application image at 0x9200. Need to keep this image at this offset because I am using MCUBoot in my project and that is built by a different team. What is recommended way to tweak linker script / flag / other way to achieve this ?

I could build a blinky project with adding CONFIG_FLASH_LOAD_OFFSET=0x8200 in prj.conf. But it's not working for peripheral_uart  sample. using nRF5340 board.

In other words, how to use partition manager without MCUBoot ?

Thanks,

Darshan

Related