<?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>ble_app_uart combined with ble_app_hrs: undefined reference</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57188/ble_app_uart-combined-with-ble_app_hrs-undefined-reference</link><description>Hey guys, 
 I&amp;#39;m working with a Laird BL652-DVK (nrF 52832 - chip), Nordic SDK v.14.2.0 and SES (Segger Embedded Studio v.4.30). I am trying to combine the examples ble_app_uart and ble_app_hrs . Both examples are working separatly. But when I build my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Feb 2020 09:37:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57188/ble_app_uart-combined-with-ble_app_hrs-undefined-reference" /><item><title>RE: ble_app_uart combined with ble_app_hrs: undefined reference</title><link>https://devzone.nordicsemi.com/thread/232492?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 09:37:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:780632fb-9f5e-4e75-87ca-3ee43343966c</guid><dc:creator>Christoph_I</dc:creator><description>&lt;p&gt;Hey Kenneth,&lt;/p&gt;
&lt;p&gt;the CMSIS tool is very helpful. I forgot 3 ble libraries. Now I can build my program but I get an error in &lt;em&gt;uart_init&lt;/em&gt; in part &lt;em&gt;app_uart_fifo_init&lt;/em&gt; (code below).&lt;/p&gt;
&lt;p&gt;Error code:&lt;/p&gt;
&lt;p&gt;&amp;lt;error&amp;gt; app: ERROR 8 [NRF_ERROR_INVALID_STATE]&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;lines:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void uart_init(void)
{
    ...

    APP_UART_FIFO_INIT(&amp;amp;comm_params,
                       UART_RX_BUF_SIZE,
                       UART_TX_BUF_SIZE,
                       uart_event_handle,
                       APP_IRQ_PRIORITY_LOWEST,
                       err_code);
    APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;According this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32990/development-board-nrf52832-with-multilink-uart/126932#126932"&gt;thread&lt;/a&gt; this error could&lt;em&gt; mean that the UART driver is already initialized. &lt;/em&gt;What do you think?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I comment out this lines, I get another error at this line in main:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;int main(void)
{
    ...
    
    err_code = ble_advertising_start(&amp;amp;m_advertising, BLE_ADV_MODE_FAST);
    APP_ERROR_CHECK(err_code);
    
    ...
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The error code is:&lt;/p&gt;
&lt;p&gt;&amp;lt;error&amp;gt; app: ERROR 7 [NRF_ERROR_INVALID_PARAM]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart combined with ble_app_hrs: undefined reference</title><link>https://devzone.nordicsemi.com/thread/232473?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 08:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74020b83-a821-405c-8346-f4798d6c1dfc</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Unfortunately I am not aware of any easy overview, however I believe you should find a rather complete sdk_config.h file in [SDK root]\config\nRF52832&lt;/p&gt;
&lt;p&gt;Typically you need to refer an example that use a specific software module for example configuration. Also you may find the documentation for the SDK config file useful in general:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/sdk_config.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/sdk_config.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart combined with ble_app_hrs: undefined reference</title><link>https://devzone.nordicsemi.com/thread/232361?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 14:08:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22827b1e-8e77-42ae-bc89-aeeaf7732484</guid><dc:creator>Christoph_I</dc:creator><description>&lt;p&gt;And I have another issue:&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not clear &lt;span&gt;which flags in sdk_config.h should be 1 and which flags should be 0.&amp;nbsp;Hundreds, even thousands&amp;nbsp;of lines may differ. Some flags are only defined in certain sdk_config.h files. Also I don&amp;#39;t know which header files are needed.&lt;/span&gt; Is there a documentation or something else which explains for e.g. &amp;quot;peer manager&amp;quot; what should be changed in config file and which headers should be included?&lt;/p&gt;
&lt;p&gt;Because how to include headers, paths and c-files and how to change config file is the easiest thing of all... But not to choose the right h-files and config flags.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope, you or someone else can help me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Christoph&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart combined with ble_app_hrs: undefined reference</title><link>https://devzone.nordicsemi.com/thread/232262?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 09:17:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ea30d60-1dee-4e78-a9dc-b225329a31df</guid><dc:creator>Christoph_I</dc:creator><description>&lt;p&gt;Hey Kenneth,&lt;/p&gt;
&lt;p&gt;thank you for your advice. I will look at your online tutorial and your ses document. So do you think I only added and imported the files not correct?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christoph&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart combined with ble_app_hrs: undefined reference</title><link>https://devzone.nordicsemi.com/thread/231927?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 14:14:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a779c3c0-28c4-4dbb-b44e-ef318f73f302</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Maybe the online tutorial on importing files and drivers can be useful?&lt;br /&gt;&lt;a href="https://www.youtube.com/watch?v=t-kh1EbesvI&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&amp;amp;index=6"&gt;https://www.youtube.com/watch?v=t-kh1EbesvI&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&amp;amp;index=6&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/pdf/getting_started_ses.pdf"&gt;http://infocenter.nordicsemi.com/pdf/getting_started_ses.pdf&lt;/a&gt;&amp;nbsp;chapter 8.6 Adding files can be useful.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>