<?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>Hardware model 2 defconfig files</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118861/hardware-model-2-defconfig-files</link><description>Hi, 
 I&amp;#39;m migrating to the updated hardware model &amp;amp; it seems to offer convenient ways to describe boards &amp;amp; configs. However, I&amp;#39;m facing one issue which is not critical but would be great to get it working: 
 
 Let&amp;#39;s say I have the following board.yml</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Feb 2025 07:58:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118861/hardware-model-2-defconfig-files" /><item><title>RE: Hardware model 2 defconfig files</title><link>https://devzone.nordicsemi.com/thread/522972?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 07:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d6e1517-9c31-40f3-9307-8db085f1810c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I must admit that creating custom board files is not my strongest point, but did you see the DevAcademy course on creating custom board files?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-3-adding-custom-board-support/topic/creating-board-files/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-3-adding-custom-board-support/topic/creating-board-files/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Perhaps this answers your questions.&lt;/p&gt;
[quote user=""]However, when I build my application for board &lt;em&gt;myboard/nrf52832/a&lt;/em&gt; only &lt;em&gt;myboard_nrf52832_a_defconfig&lt;/em&gt; gets used, and neither &lt;em&gt;myboard_defconfig&lt;/em&gt; nor &lt;em&gt;myboard_nrf52832_defconfig&amp;nbsp;&lt;/em&gt;get used. All board files in the same directory - boards/test/myboard. Am I misunderstanding something? Is this a known problem? Maybe my board.yml file is incorrect?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It may be a bug. Do you have some boardfiles that shows that myboard_defconfig doesn&amp;#39;t get picked up? How do you determine that it doesn&amp;#39;t get picked up? Based on the build log, or the output/behavior of the resulting Kconfig options? If you have some board files that shows that it doesn&amp;#39;t behave correctly, is it possible to upload it here, so that I can try to replicate it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>