<?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>Use uart1 with Non secure build</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122896/use-uart1-with-non-secure-build</link><description>Hi, 
 
 i&amp;#39;d like to know if I can use uart1 with non secure build. I have see this doc here , but I have try to add these configuration in my prj.conf: 
 
 
 And add this in overlay: 
 
 
 But I always got this error when I&amp;#39;m trying to build: 
 
 
 Maybe</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Jul 2025 12:15:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122896/use-uart1-with-non-secure-build" /><item><title>RE: Use uart1 with Non secure build</title><link>https://devzone.nordicsemi.com/thread/542235?ContentTypeID=1</link><pubDate>Fri, 11 Jul 2025 12:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2b0376f-595e-4c4a-ab21-e505991501f8</guid><dc:creator>simon884</dc:creator><description>&lt;p&gt;Hum ok I use i2c1 alos. So I&amp;#39;ll try to use uart2 instead...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use uart1 with Non secure build</title><link>https://devzone.nordicsemi.com/thread/542222?ContentTypeID=1</link><pubDate>Fri, 11 Jul 2025 10:46:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b55596-31ce-4d1e-8c1a-fa20726e951c</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Look at the dts files in build/zephyr, there is stuff enabled on i2c1 or spi1 interface. You can have only one enabled on a shared peripherial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use uart1 with Non secure build</title><link>https://devzone.nordicsemi.com/thread/542215?ContentTypeID=1</link><pubDate>Fri, 11 Jul 2025 09:20:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a390ccc-7a69-45ae-b16c-fff4d3504294</guid><dc:creator>simon884</dc:creator><description>&lt;p&gt;oh yes, but unfortunately, I have the same error&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_TFM_SECURE_UART1=n
CONFIG_TFM_LOG_LEVEL_SILENCE=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/toolchain/gcc.h:87:36: error: static assertion failed: &amp;quot;Only one of the following peripherals can be enabled: SPI1, SPIM1, SPIS1, TWI1, TWIM1, TWIS1, UARTE1. Check nodes with status \&amp;quot;okay\&amp;quot; in zephyr.dts.&amp;quot;
   87 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, &amp;quot;&amp;quot; MSG)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if it&amp;#39;s important but I tri to use PO.23 and P0.24 for uart1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use uart1 with Non secure build</title><link>https://devzone.nordicsemi.com/thread/542211?ContentTypeID=1</link><pubDate>Fri, 11 Jul 2025 09:00:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57906d17-db61-432f-87ba-20f6f7804c2c</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;It seems there’s a mismatch between your KConfig symbols and your device tree. In &lt;code&gt;prj.conf&lt;/code&gt; you’re referring to UART0, but in your overlay you’re referring to UART1.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt; Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>