<?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>NCS 3.4.0, compiling with ns option</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128807/ncs-3-4-0-compiling-with-ns-option</link><description>Good morning everyone. 
 I’m having some issues compiling my firmware using NCS 3.4.0 and the ‘ns’ option. I’m using an nRF9151DK board. Basically, my firmware compiles and flashes successfully, but it doesn’t run on the board. 
 As I couldn’t sort it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Aug 2026 19:40:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128807/ncs-3-4-0-compiling-with-ns-option" /><item><title>RE: NCS 3.4.0, compiling with ns option</title><link>https://devzone.nordicsemi.com/thread/569890?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2026 19:40:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2555ff4c-fec5-42b4-a1f9-657e74ed5160</guid><dc:creator>embeddedCoder</dc:creator><description>&lt;p&gt;Linking to this ticket since it sounds like it could be similar:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/128875/sdk-3-4-0-build-flash-issue"&gt;devzone.nordicsemi.com/.../sdk-3-4-0-build-flash-issue&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 3.4.0, compiling with ns option</title><link>https://devzone.nordicsemi.com/thread/569592?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2026 14:54:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39f0ae48-0953-4557-866b-f898870da63d</guid><dc:creator>Stefano Infante</dc:creator><description>&lt;p&gt;Thanks Simon.&lt;/p&gt;
&lt;p&gt;As my project is at a very early stage, I think I&amp;rsquo;ll wait for the NCS 3.4.0 update for now and, in the meantime, use the board without ns.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Stefano&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 3.4.0, compiling with ns option</title><link>https://devzone.nordicsemi.com/thread/569587?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2026 13:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81a20526-fe6c-4e0a-aab7-a4a4bf08f00e</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I actually wasn&amp;#39;t able to replicate this issue on the nRF54L15, can you please register another ticket for your case. It seems to be a bit different.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 3.4.0, compiling with ns option</title><link>https://devzone.nordicsemi.com/thread/569586?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2026 13:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d734ccb-3984-4509-8a9a-25fb49019ed7</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From my understanding, this is caused by the migration from &amp;quot;partition manager&amp;quot; to devicetree partitions that came with v3.4.0. In NCS, by default, MCUboot is disabled but currently the &amp;quot;MCUboot partition&amp;quot; is still in the default partition of the /ns chips. So, currently, if you want to build for a /ns chip, you have 2 solutions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;enable MCUboot by adding &amp;quot;&lt;code&gt;SB_CONFIG_BOOTLOADER_MCUBOOT=y&lt;/code&gt;&amp;quot; to your &lt;code&gt;sysbuild.conf&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;remove the MCUboot partition manually using an overlay file. Here is an example overlay file for the nRF9151 DK that I generated using AI:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Remove MCUboot on nRF9151: TF-M secure image now starts at 0x0.
 * The secondary slot (slot1) is dropped since there is no bootloader/DFU.
 * SRAM (&amp;amp;sram0) is intentionally NOT modified — its split is defined by
 * the TrustZone secure/non-secure boundary and the modem shared memory,
 * neither of which depend on MCUboot.
 */

/delete-node/ &amp;amp;boot_partition;
/delete-node/ &amp;amp;slot0_partition;   /* also deletes slot0_s / slot0_ns children */
/delete-node/ &amp;amp;slot1_partition;   /* also deletes slot1_s / slot1_ns children */

&amp;amp;flash0 {
	partitions {
		/* Primary (and only) image area, now based at 0x0 */
		slot0_partition: partition@0 {
			compatible = &amp;quot;zephyr,mapped-partition&amp;quot;;
			label = &amp;quot;image-0&amp;quot;;
			reg = &amp;lt;0x00000000 0x70000&amp;gt;;      /* 448 KB */
			ranges = &amp;lt;0x0 0x0 0x70000&amp;gt;;
			#address-cells = &amp;lt;1&amp;gt;;
			#size-cells = &amp;lt;1&amp;gt;;

			slot0_s_partition: partition@0 {
				compatible = &amp;quot;zephyr,mapped-partition&amp;quot;;
				label = &amp;quot;image-0-secure&amp;quot;;
				reg = &amp;lt;0x00000000 0x40000&amp;gt;;   /* 256 KB TF-M secure */
			};

			slot0_ns_partition: partition@40000 {
				compatible = &amp;quot;zephyr,mapped-partition&amp;quot;;
				label = &amp;quot;image-0-nonsecure&amp;quot;;
				reg = &amp;lt;0x00040000 0x30000&amp;gt;;   /* 192 KB non-secure app */
			};
		};

		/*
		 * tfm_ps / tfm_its / tfm_otp / storage remain untouched
		 * at 0xf0000..0x100000 (defined in the base partition.dtsi).
		 */
	};
};
&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The nRF Connect SDK team is working on it. And, I believe it will be fixed soon in a next NCS revision.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 3.4.0, compiling with ns option</title><link>https://devzone.nordicsemi.com/thread/569552?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2026 08:58:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ffc1874-6ac8-4107-ad21-6c4d5e81635d</guid><dc:creator>Stefano Infante</dc:creator><description>&lt;p&gt;I tried&amp;nbsp;&lt;span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;west build -p always&lt;/span&gt;&amp;nbsp;with the ns board, I completely erased my board&amp;#39;s flash and reflashed it. Unfortunately nothing changed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will wait for someone from Nordic to reply. Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 3.4.0, compiling with ns option</title><link>https://devzone.nordicsemi.com/thread/569504?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2026 11:01:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94290e53-fe2b-4fd7-b69e-6335c3b8f93d</guid><dc:creator>Ingfu</dc:creator><description>&lt;p&gt;We have a similar issue with the nrf54l15. Our application works with v3.3.1 with tf-m but not on 3.4.0 with tf-m. On 3.4.0 only as cpuapp works without tf-m. I believe, 3.4.0 broke tf-m.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>