<?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 - missing cbprintf</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128964/ncs-3-4-0---missing-cbprintf</link><description>NCS 3.4.0, (Ubuntu, nRF9160-DK) 
 Using cbprintf results in a linker error: 
 undefined reference to `cbprintf&amp;#39; 
 But I didn&amp;#39;t find, how to enable it. 
 The zephyr samples doesn&amp;#39;t contain it. 
 The nrf samples only use &amp;quot;vsnprintfcb&amp;quot;, adding a few lines</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Aug 2026 06:22:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128964/ncs-3-4-0---missing-cbprintf" /><item><title>RE: NCS 3.4.0 - missing cbprintf</title><link>https://devzone.nordicsemi.com/thread/570361?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2026 06:22:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b819faae-a4b2-4e56-8d0f-5ed112017ab8</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Anyway, thanks a lot for all your help.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking forward to &amp;quot;LTS&amp;quot;, hope that reduces the time spended in migrations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 3.4.0 - missing cbprintf</title><link>https://devzone.nordicsemi.com/thread/570360?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2026 06:17:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0197fd82-a585-4790-a5c3-33d7337e1b30</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;I&amp;#39;m just wondering, that such a change, which I consider a major one, seems to be not mentioned. Or do I miss something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 3.4.0 - missing cbprintf</title><link>https://devzone.nordicsemi.com/thread/570349?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2026 19:45:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74216b67-c06e-41cc-b055-5d7c909562c2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;For current NCS with the bundled Zephyr SDK, it is effectively no longer supported as a practical option on the default toolchain.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 3.4.0 - missing cbprintf</title><link>https://devzone.nordicsemi.com/thread/570345?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2026 17:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ae47527-6851-48b4-91f2-c1ecf650a615</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Yes, that works.&lt;/p&gt;
&lt;p&gt;According the lib/os/CMakeLists,txt, it should have been included with&lt;/p&gt;
&lt;p&gt;```&lt;/p&gt;
&lt;p&gt;if(NOT CONFIG_PICOLIBC)&lt;br /&gt;&amp;nbsp; zephyr_sources(cbprintf.c)&lt;br /&gt;endif()&lt;/p&gt;
&lt;p&gt;```&lt;/p&gt;
&lt;p&gt;I&amp;#39;m used to NEWLIB_LIBC, but for reasons unknown by me, that seems to be not longer supported.&lt;/p&gt;
&lt;p&gt;Checking the migration guides for nrf or zephyr I miss to read, that supporting&amp;nbsp;NEWLIB_LIBC is discontinued.&lt;/p&gt;
&lt;p&gt;So, is that a mistake or is&amp;nbsp;NEWLIB_LIBC really not longer supported?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 3.4.0 - missing cbprintf</title><link>https://devzone.nordicsemi.com/thread/570344?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2026 16:24:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ee4b324-e290-48b8-a3ea-f1fdef0a52b1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Achim,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to add &amp;quot;&amp;nbsp; target_sources(app PRIVATE ${ZEPHYR_BASE}/lib/os/cbprintf.c) &amp;quot; to the&amp;nbsp;CMakeLists.txt to see whether it helps or not?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>