<?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>Adding External Libraries to NRF5840 DK using NRFConnect SDK in VSCode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85081/adding-external-libraries-to-nrf5840-dk-using-nrfconnect-sdk-in-vscode</link><description>Hi, 
 I&amp;#39;m trying to develop a simple application on the NRF5840 DK using the NRFConnect SDK inside VScode. I am struggling to see how to add external libraries to an application? Where does one place them within the project, and what does one need to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Mar 2022 11:19:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85081/adding-external-libraries-to-nrf5840-dk-using-nrfconnect-sdk-in-vscode" /><item><title>RE: Adding External Libraries to NRF5840 DK using NRFConnect SDK in VSCode</title><link>https://devzone.nordicsemi.com/thread/355786?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 11:19:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1af15e18-2aa1-43ab-bf93-7cca88a48d29</guid><dc:creator>Neb01</dc:creator><description>&lt;p&gt;Hi Didrik,&lt;/p&gt;
&lt;p&gt;thanks, those two lines of code seem to have fixed things for me.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding External Libraries to NRF5840 DK using NRFConnect SDK in VSCode</title><link>https://devzone.nordicsemi.com/thread/355080?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 15:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96b92f9f-bf1a-4d97-ae27-c6fd360386b0</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi, and sorry for the late reply.&lt;/p&gt;
&lt;p&gt;Could you send me the whole build log?&lt;/p&gt;
&lt;p&gt;You shouldn&amp;#39;t need to add the header file as a source file, just the directory it is in as an include directory.&lt;/p&gt;
&lt;p&gt;However, you will have to include the .c files.&lt;/p&gt;
&lt;p&gt;One way to do that without having to list every single file manually would be something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding External Libraries to NRF5840 DK using NRFConnect SDK in VSCode</title><link>https://devzone.nordicsemi.com/thread/354575?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 12:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17b71cb4-5b10-47e1-8f2e-e0c2c016e589</guid><dc:creator>Neb01</dc:creator><description>&lt;p&gt;Sorry, that should be NRF52840 DK *&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>