How to overlay b0n config in CMake?

Hello, we have a project in nRF Connect SDK, where we'd like to use a separate .conf file for b0n subimage in a multi-image build,

Let's say it's called b0n.conf. So, before any add_child_image is called, this line in CMakeLists.txt is invoked:

add_overlay_config(b0n ${CMAKE_CURRENT_SOURCE_DIR}/child_image/b0n.conf)

.But later in nrf/cmake/multi_image.cmake the following command is called, which overwrites b0n.confL

add_overlay_config(
    ${ACI_NAME}
    ${NRF_DIR}/subsys/partition_manager/partition_manager_enabled.conf
    )

As the result, the overlay config values are not applied. How can this be resolved?

Parents Reply Children
No Data
Related