<?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>static assertion failed error with custom PCB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102450/static-assertion-failed-error-with-custom-pcb</link><description>Hi, 
 just testing out a custom PCB with nrf9160 on it. 
 Have developed much on the nrf9160 dev kit and just about to port to our custom PCB. 
 Created a custom board and just tried to build the &amp;quot;hello world&amp;quot; sample but I&amp;#39;m getting lots of &amp;quot;error: static</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2023 12:39:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102450/static-assertion-failed-error-with-custom-pcb" /><item><title>RE: static assertion failed error with custom PCB</title><link>https://devzone.nordicsemi.com/thread/439266?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 12:39:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b4197eb-2ecf-47c0-a9a9-6f170a8d6ffb</guid><dc:creator>DunKCubik</dc:creator><description>&lt;p&gt;Think I&amp;#39;ve solved the issue. Apparently building for TFM (Trusted firmware) is not enabled by default when creating a custom board!&lt;/p&gt;
&lt;p&gt;Managed to find a great post that explained this and how to add the configs to my custom board&amp;#39;s defconfig file.&lt;/p&gt;
&lt;p&gt;Why are they not carried over by default, or at least a warning given rather than vague &amp;quot;static assertion errors&amp;quot;?!!&lt;/p&gt;
&lt;p&gt;I seem to waste so much time searching for answers to these issues when creating a custom board. Surely it should be documented officially somewhere (please prover me wrong if it is) It has taken 3 hours of my busy working day to solve this, when it should be simple!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks to Raoul for this post...&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93803/create-a-custom-board-with-the-build-in-create-a-new-board-wizard/395639"&gt;Create a custom board with the build-in Create a new board wizard. - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>