<?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>Uart stubs in NCS v3.4.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128797/uart-stubs-in-ncs-v3-4-0</link><description>Hi, 
 I am using the nRF54L15 and recently migrated my project from NCS v3.3.0 to NCS v3.4.0. 
 My project does not use the UART for TF-M logging, so I have the following configuration: 
 CONFIG_TFM_LOG_LEVEL_SILENCE=y 
 This worked correctly in NCS v3</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Aug 2026 14:19:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128797/uart-stubs-in-ncs-v3-4-0" /><item><title>RE: Uart stubs in NCS v3.4.0</title><link>https://devzone.nordicsemi.com/thread/570342?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2026 14:19:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b22a215e-1afd-454d-a12a-91a241fc5ebc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Update: the issue should be addressed by this PR:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/30654"&gt;https://github.com/nrfconnect/sdk-nrf/pull/30654&lt;/a&gt;&amp;nbsp;now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart stubs in NCS v3.4.0</title><link>https://devzone.nordicsemi.com/thread/569910?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2026 08:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8d825a8-c9aa-4593-9133-a12f5c36cc87</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the update. &amp;nbsp;I did some preliminary investigation into this. With CONFIG_DEBUG_OPTIMIZATIONS enabled, it seems like you can reproduce the issue with any sample. This issue got introduced by this commit: SPRT: Add custom &lt;a title="https://github.com/nrfconnect/sdk-trusted-firmware-m/commit/a4991f013b288d257cc5b66d47c19bb1f5b0df0a" href="https://github.com/nrfconnect/sdk-trusted-firmware-m/commit/a4991f013b288d257cc5b66d47c19bb1f5b0df0a" rel="noopener noreferrer" target="_blank"&gt;SPRT: Add custom __assert_func · nrfconnect/sdk-trusted-firmware-m@a4991f0&lt;/a&gt;&lt;span&gt; &lt;/span&gt;&amp;nbsp;but the issue is generally masked because assertions are disabled in default release builds.&lt;/p&gt;
&lt;p&gt;I suggest you continue using your workaround for now. I have added the issue to our internal bug tracker so it can be addressed in a future release.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart stubs in NCS v3.4.0</title><link>https://devzone.nordicsemi.com/thread/569788?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2026 10:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5823e31b-996d-4a04-b315-f233ae6dd55d</guid><dc:creator>Rote</dc:creator><description>&lt;p class="isSelectedEnd"&gt;&lt;span&gt;Hi, sorry for the late response&amp;mdash;I was quite busy last week.&lt;br /&gt;&lt;/span&gt;&lt;span&gt;I reproduced the error using the &lt;/span&gt;&lt;code dir="ltr"&gt;&lt;span&gt;psa_tls&lt;/span&gt;&lt;/code&gt;&lt;span&gt; sample built for &lt;/span&gt;&lt;code dir="ltr"&gt;&lt;span&gt;nrf54l15dk/nrf54l15/cpuapp/ns&lt;/span&gt;&lt;/code&gt;&lt;span&gt; with the debug overlay file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then I dug into it further and noticed that, contrary to what I initially thought, the error I described did not occur because of the:&lt;/span&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_TFM_LOG_LEVEL_SILENCE=y
&lt;/pre&gt;&lt;/p&gt;
&lt;pre dir="ltr"&gt;&lt;br /&gt;but because of the:&lt;/pre&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_DEBUG_OPTIMIZATIONS=y&lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;Then I got the following output (sorry, I can&amp;#39;t paste the logs as a code block, so I&amp;#39;m pasting them as plain text):&lt;br /&gt;&lt;br /&gt;/opt/nordic/ncs/toolchains/ccc010f809/opt/zephyr-sdk/gnu/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/14.3.0/../../../../arm-zephyr-eabi/bin/ld: platform/libplatform_s.a(tfm_log.o): in function `output_log&amp;#39;:&lt;br /&gt;/opt/nordic/ncs/v3.4.0/modules/tee/tf-m/trusted-firmware-m/lib/tfm_log/src/tfm_log.c:18:(.text.output_log+0x10): undefined reference to `stdio_output_string&amp;#39;&lt;br /&gt;/opt/nordic/ncs/toolchains/ccc010f809/opt/zephyr-sdk/gnu/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/14.3.0/../../../../arm-zephyr-eabi/bin/ld: platform/libplatform_s.a(tfm_hal_spm_logdev_peripheral.o): in function `tfm_hal_output_spm_log&amp;#39;:&lt;br /&gt;/opt/nordic/ncs/v3.4.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/common/tfm_hal_spm_logdev_peripheral.c:14:(.text.tfm_hal_output_spm_log+0xe): undefined reference to `stdio_output_string&amp;#39;&lt;br /&gt;/opt/nordic/ncs/toolchains/ccc010f809/opt/zephyr-sdk/gnu/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/14.3.0/../../../../arm-zephyr-eabi/bin/ld: secure_fw/spm/libtfm_spm.a(tfm_hal_platform_common.o): in function `tfm_hal_platform_common_init&amp;#39;:&lt;br /&gt;/opt/nordic/ncs/v3.4.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/tfm_hal_platform_common.c:36:(.text.tfm_hal_platform_common_init+0x46): undefined reference to `stdio_init&amp;#39;&lt;br /&gt;/opt/nordic/ncs/toolchains/ccc010f809/opt/zephyr-sdk/gnu/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/14.3.0/../../../../arm-zephyr-eabi/bin/ld: secure_fw/partitions/lib/runtime/libtfm_sprt.a(assert.o): in function `__assert_func&amp;#39;:&lt;br /&gt;/opt/nordic/ncs/v3.4.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/assert.c:21:(.text.__assert_func+0x2c): undefined reference to `stdio_is_initialized&amp;#39;&lt;br /&gt;Memory region Used Size Region Size %age Used&lt;br /&gt; FLASH: 120252 B 512 KB 22.94%&lt;br /&gt; RAM: 53980 B 128 KB 41.18%&lt;br /&gt;collect2: error: ld returned 1 exit status&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart stubs in NCS v3.4.0</title><link>https://devzone.nordicsemi.com/thread/569521?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2026 13:54:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f2c2718-ef8d-47ff-b29d-63e8e412f6d6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I tried reproducing this linker error by building the tfm_hello_world sample with&amp;nbsp;&lt;span&gt;CONFIG_TFM_LOG_LEVEL_SILENCE=y, but was not able to. Are you able to replicate this using the nRF54L15 DK as your build target with one of the SDK samples? I tested with SDK v3.4.0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>