<?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>Using both c stdio and zephyr stdio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86220/using-both-c-stdio-and-zephyr-stdio</link><description>Hello, 
 I am developing an application that requires use of some of the traditional C &amp;quot;stdio.h&amp;quot; functionality. My current development setup is the nRF5340 DK running Zephyr OS v2.7.99. I am attempting to use the dr_libs libraries, particularly dr_wav</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Apr 2022 04:29:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86220/using-both-c-stdio-and-zephyr-stdio" /><item><title>RE: Using both c stdio and zephyr stdio</title><link>https://devzone.nordicsemi.com/thread/363333?ContentTypeID=1</link><pubDate>Mon, 18 Apr 2022 04:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f808c7c6-3687-447f-a457-772ad0ccc895</guid><dc:creator>nateyoung</dc:creator><description>&lt;p&gt;Hi, the fix I found was to set&lt;/p&gt;
&lt;p&gt;CONFIG_NEWLIB_LIBC=y in proj.conf to enable use of the non-minimal c functionality. Although I ended up not needing this functionality. Thank you for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both c stdio and zephyr stdio</title><link>https://devzone.nordicsemi.com/thread/361509?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 12:27:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8295a5b2-9399-4f85-b59e-dac939a115df</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Those libraries seems to be outside the&amp;nbsp;scope our solutions so I am guessing that you need to install/include this library from other sources. I&lt;a href="https://github.com/go-gl/glfw/issues/202"&gt; can see that MinGW or GLFW might have these libraries included&lt;/a&gt;. Once you have install them,&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both c stdio and zephyr stdio</title><link>https://devzone.nordicsemi.com/thread/360895?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 19:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c46491f4-3b71-453a-8aff-1a25e0879e2a</guid><dc:creator>nateyoung</dc:creator><description>&lt;p&gt;Hello, thank you for the reply. I have looked into your suggestion. Do you mean to follow the application_development example and import the dr_wav.h external library or import the C stdio.h as an external library? I have tried both but am not sure where to point the src_dir because in the case of dr_wav.h there is no other source, and in the case of the C standard lib I am not sure where to find the actual definitions in the toolchain.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both c stdio and zephyr stdio</title><link>https://devzone.nordicsemi.com/thread/360236?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 10:44:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a23826a-45c5-4564-81bd-ebfa6719ac7c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;These seems like linker error. So most likely the compiler found the declarations from your C files, but is not able to find the definitions of those while linking.&lt;br /&gt;Check the example&amp;nbsp;\zephyr\samples\application_development\external_lib and check the&amp;nbsp;CMakeLists.txt file. You will have to use&amp;nbsp;add_library to import external library and not just the header files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>