<?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>nRF52840 and others &amp;quot; printf()&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26035/nrf52840-and-others-printf</link><description>Hey Everyone, 
 I am new to nordic development. I am really used to programming with easy environments like the Arduino. I have seen some examples using the printf() command. 
 I am using Keil uVision and can use the debug mode to step through code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Oct 2017 10:31:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26035/nrf52840-and-others-printf" /><item><title>RE: nRF52840 and others " printf()"</title><link>https://devzone.nordicsemi.com/thread/102621?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 10:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cce26cc-b459-48e7-9020-4fc02381187b</guid><dc:creator>ToasTer86</dc:creator><description>&lt;p&gt;Nevermind I got it working by editing the sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and others " printf()"</title><link>https://devzone.nordicsemi.com/thread/102620?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 09:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d96cb86-e93e-45c0-bb0f-e684182a7426</guid><dc:creator>ToasTer86</dc:creator><description>&lt;p&gt;Hey&lt;/p&gt;
&lt;p&gt;Just adding the retarget.c file did not have to desired effect. So I thought I had to add more files and initiate uart. I added all the relevant uart files from the uart example (got the example working).&lt;/p&gt;
&lt;p&gt;Overview of what I added:
app_uart.c
app_uart_fifo.c
nrf_drv_uart.c&lt;/p&gt;
&lt;p&gt;I define a comm_params and call the APP_UART_FIFO_INIT function:&lt;/p&gt;
&lt;p&gt;But now I am getting a L6218E undefined symbol error on app_uart_init from main.o&lt;/p&gt;
&lt;p&gt;Quite sure I added the file and also to the linker :
............\components\libraries\uart
............\components\drivers_nrf\uart&lt;/p&gt;
&lt;p&gt;Can you maybe help me, or tell me if just adding retarget.c should have been enough?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and others " printf()"</title><link>https://devzone.nordicsemi.com/thread/102619?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 17:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02844c19-92aa-4afd-8746-ca04f8efab7a</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;add retarget.c from libraries/uart to your project.  printf will be routed to UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and others " printf()"</title><link>https://devzone.nordicsemi.com/thread/102618?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 17:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e4fd7b3-f054-4f21-ae2d-d9b7c60111f0</guid><dc:creator>YASH</dc:creator><description>&lt;p&gt;Yes, ofcourse you can. Just config the putty session according to the specifications you are using and you can see them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>