<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to set conf and overlay files for the network core bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109977/how-to-set-conf-and-overlay-files-for-the-network-core-bootloader</link><description>Hi, 
 I&amp;#39;m trying to get a .conf file and a .overlay file to be picked up by the network core bootloader (b0n) build image. I am working on NCS v2.5.0 but am interested in the answer for both v2.5.0 and v2.6.0. 
 I can get .conf and .overlay files picked</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Apr 2024 13:23:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109977/how-to-set-conf-and-overlay-files-for-the-network-core-bootloader" /><item><title>RE: How to set conf and overlay files for the network core bootloader</title><link>https://devzone.nordicsemi.com/thread/477594?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 13:23:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5300469d-22fc-46a4-879e-78ef9b03aecf</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Aaron,&lt;/p&gt;
&lt;p&gt;The child_image folder structure does not support overlays for a child image nested within another child image. As a workaround, you can specify the overlay file or Kconfig fragments directly in your project CMakeLists.txt file.&lt;/p&gt;
&lt;p&gt;e.g.,&lt;/p&gt;
&lt;p&gt;In CMakeLists.txt&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cmake_minimum_required(VERSION 3.20.0)

# specify Kconfig file for B0n - must be set before &amp;#39;find_package&amp;#39;
set(hci_rpmsg_b0n_CONF_FILE &amp;quot;${CMAKE_CURRENT_SOURCE_DIR}/b0n.conf&amp;quot;)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;b0n placed in project source directory (of parent image)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2020 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
CONFIG_NCS_SAMPLES_DEFAULTS=y

CONFIG_IS_SECURE_BOOTLOADER=y
CONFIG_MULTITHREADING=n
CONFIG_GPIO=n
CONFIG_ARM_MPU=n
CONFIG_TICKLESS_KERNEL=n
CONFIG_ERRNO=n
CONFIG_SYS_CLOCK_EXISTS=y
CONFIG_FPROTECT=y
CONFIG_FW_INFO=y
CONFIG_SECURE_BOOT_CRYPTO=y
CONFIG_SECURE_BOOT_VALIDATION=y
CONFIG_SECURE_BOOT_STORAGE=y
CONFIG_PCD_NET=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_SERIAL=n

# To build with a minimal configuration, use the overlay file
# &amp;#39;-DOVERLAY_CONFIG=overlay-minimal-size.conf&amp;#39;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1712582452696v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1712582617011v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>