<?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>Problem with Kconfig configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115919/problem-with-kconfig-configuration</link><description>I&amp;#39;m encountering issues while building my project with custom boards. Each board has a corresponding *_defconfig file with specific configuration options, and I also have a prj.conf file in the project directory. Currently, I want to enable crypto operations</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Oct 2024 10:29:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115919/problem-with-kconfig-configuration" /><item><title>RE: Problem with Kconfig configuration</title><link>https://devzone.nordicsemi.com/thread/508492?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2024 10:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01c2dd11-ffac-4db7-a6cb-9775fb47b2e5</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;If you are building multi-image, you need to look closely at which build had the error you observed. Perhaps some configurations are not compatible with mcuboot.&lt;/p&gt;
&lt;p&gt;If you add the configs to _defconfig,&amp;nbsp;it will be&amp;nbsp;added&amp;nbsp;to both mcuboot, application, and any other images. You will also want to check if this result makes sense.&lt;/p&gt;
&lt;p&gt;If you want to add the default config to _defconfig file, but only for the application, you can add a Kconfig file to conditionally override the default value based on which board is being built. Refer:&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs1-rc1/boards/nordic/thingy53/Kconfig#L12-L27"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs1-rc1/boards/nordic/thingy53/Kconfig#L12-L27&lt;/a&gt;&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs1-rc1/boards/nordic/thingy53/Kconfig.thingy53#L6-L9"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs1-rc1/boards/nordic/thingy53/Kconfig.thingy53#L6-L9&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Kconfig configuration</title><link>https://devzone.nordicsemi.com/thread/508364?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 12:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d294e85-d6a8-4f7a-8447-824f6ba6d0a7</guid><dc:creator>Bartosz22</dc:creator><description>&lt;p&gt;I&amp;#39;m using mcuboot, I have child and parent image which I see is deprecated and will be removed in NCS 2.9 but I don&amp;#39;t is it a case. The board _defconfig file is included properly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Kconfig configuration</title><link>https://devzone.nordicsemi.com/thread/508338?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 12:07:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28f48913-c4f7-4297-a79d-999c2cc0379c</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Are you building just one application for the nRF52840, or do you also have a bootloader or some other multi-image setup?&lt;/p&gt;
&lt;p&gt;Most of the symptoms you described suggest maybe your _defconfig file wasn&amp;#39;t picked up in the build. Have you checked the log to see if it&amp;#39;s included? You can run a &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;--pristine --cmake-only&lt;/span&gt; build to check.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>