<?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>Create a custom board with the build-in Create a new board wizard.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93803/create-a-custom-board-with-the-build-in-create-a-new-board-wizard</link><description>Hi, Guide on how to create a custom board with the build-in wizard. What I would like to accomplish is: 
 - Create a Hello world samples project. 
 - Create a new board using the build-in wizard. Use nrf9160 SoC. Select the NS version in the drop down</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2023 12:38:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93803/create-a-custom-board-with-the-build-in-create-a-new-board-wizard" /><item><title>RE: Create a custom board with the build-in Create a new board wizard.</title><link>https://devzone.nordicsemi.com/thread/439265?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 12:38:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a18a404-ba9d-45b1-b911-2e119f4c88b7</guid><dc:creator>DunKCubik</dc:creator><description>&lt;p&gt;Solved my issue with &amp;quot;static assertion&amp;quot; errors - was just enabling TFM needed!! Thank you so much!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a custom board with the build-in Create a new board wizard.</title><link>https://devzone.nordicsemi.com/thread/395639?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 19:43:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd2397d5-b4fd-4c74-bb9b-6d229e22b879</guid><dc:creator>Raoul</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;It seems you have a good&amp;nbsp;understanding of the required steps already, but I imagine that you are now hitting a build issue, just like I am.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;It seems that something&amp;nbsp;essential is&amp;nbsp;missing from the custom boards that&amp;nbsp;the wizard&amp;nbsp;generates for nRF9160_ns, which prevents you&amp;nbsp;from building successfully: TF-M is not enabled.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;As you might know,&lt;/span&gt;&lt;span&gt;&amp;nbsp;when you want to use Cortex-M Security Extensions (something you always want to, when communicating with the modem and the outside world), you have to build your application for the &amp;quot;non-secure&amp;quot; target. Then, another partition will contain the secure Trusted Firmware-M image, as part of a multi-image build. This follows&lt;/span&gt;&lt;span&gt;&amp;nbsp;the &amp;quot;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_boards.html#processing-environments"&gt;security by separation&lt;/a&gt;&amp;quot; architecture (s&lt;/span&gt;&lt;span&gt;ee also:&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_tfm.html"&gt;Running applications with Trusted Firmware-M&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;You can enable TF-M by adding the following Kconfig options to your custom board&amp;#39;s &lt;code&gt;defconfig&lt;/code&gt;:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BUILD_WITH_TFM=y
CONFIG_TRUSTED_EXECUTION_NONSECURE=y&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;This will tell the build system to build and include the TF-M firmware (and also enable the partition manager). Note that you could also add these flags to your application&amp;#39;s prj.conf, but best practice is to associate this with your custom board&amp;#39;s default configuration, as this will always be needed for that board.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I don&amp;#39;t know why these Kconfig flags aren&amp;#39;t enabled by default, I&amp;#39;ll report this internally.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;[quote user=""]- Build the application without modifying any files.&lt;br /&gt;[/quote]&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;You are indeed modifying&amp;nbsp;a file, but nothing that affects the behaviour of the sample. I hope this is what you meant!&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Best regards,&lt;/div&gt;
&lt;div&gt;Raoul Pathak&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;hr /&gt;&lt;/div&gt;
&lt;div&gt;P.S.:&amp;nbsp;TF-M wants to reserve UART1 for logging,&amp;nbsp;so if you plan to use UART1 in your application later,&amp;nbsp;disable logging from the TF-M module using the following Kconfig option:
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;TFM_LOG_LEVEL_SILENCE=y&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>