<?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>Precompiled Libraries in SES Projects</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46285/precompiled-libraries-in-ses-projects</link><description>Hi, I am trying to include a pre-compiled, third-party library from a sensor vendor into some code for the nRF52832. The vendor&amp;#39;s package includes two header files and a .lib. I was wondering how to go about including this in an SES project? 
 
 Edit</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Apr 2019 08:25:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46285/precompiled-libraries-in-ses-projects" /><item><title>RE: Precompiled Libraries in SES Projects</title><link>https://devzone.nordicsemi.com/thread/182531?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2019 08:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:512e6a29-cd1d-4548-9ed4-d896e0aefabf</guid><dc:creator>Atoo508</dc:creator><description>&lt;p&gt;Thanks for getting back to me.&lt;/p&gt;
&lt;p&gt;As mentioned in the edit for my original question, there is a&amp;nbsp;&lt;strong&gt;.a&lt;/strong&gt; file available. I&amp;#39;m glad to know that it&amp;#39;s as straightforward as including a source file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll attempt the compilation and respond accordingly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Precompiled Libraries in SES Projects</title><link>https://devzone.nordicsemi.com/thread/182530?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2019 08:22:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ec6028b-69d7-430d-9c40-7ca55d86fa35</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi again.&lt;/p&gt;
&lt;p&gt;My mistake, I read the question a bit too quick and read &amp;quot;.a lib&amp;quot;.&lt;/p&gt;
&lt;p&gt;It is as awneil says in his first reply, the library has to be a GCC-compatible library in order for this to work.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Precompiled Libraries in SES Projects</title><link>https://devzone.nordicsemi.com/thread/182529?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2019 08:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5504a1cd-aced-4274-b817-ffd7c3d80d74</guid><dc:creator>Atoo508</dc:creator><description>&lt;p&gt;Thanks for your response. After digging around some more, the API&amp;nbsp;does indeed include precompiled libraries compatible with&amp;nbsp;GCC, as well as armcc, hence my confusion.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Precompiled Libraries in SES Projects</title><link>https://devzone.nordicsemi.com/thread/182524?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2019 07:52:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9636993-5072-4b4a-a2c3-8eaf7eb83ea3</guid><dc:creator>awneil</dc:creator><description>[quote userid="73423" url="~/f/nordic-q-a/46285/precompiled-libraries-in-ses-projects/182514"]include the &lt;strong&gt;.a&lt;/strong&gt; file[/quote]
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/atoo508"&gt;Atoo508&lt;/a&gt; said it&amp;#39;s a &lt;strong&gt;.lib&lt;/strong&gt; file&amp;nbsp;&lt;/p&gt;
&lt;p&gt;GCC does tend to use &lt;strong&gt;.a&lt;/strong&gt; - hence the question whether it is a GCC-compatible library ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Precompiled Libraries in SES Projects</title><link>https://devzone.nordicsemi.com/thread/182514?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2019 07:27:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3d13e3f-dc0c-45e3-a61e-43dd18fcdd52</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;You should only have to include the &lt;strong&gt;.a&lt;/strong&gt; file the same way as a &lt;strong&gt;.c &lt;/strong&gt;file:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7de75501b612465281f1476c10b2ac6a/pastedimage1555485977780v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;You can read on the Infocenter about adding &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_ses%2FUG%2Fgsg%2Fadd_file_ses.html"&gt;source files &lt;/a&gt;and &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_ses%2FUG%2Fgsg%2Fadd_headers_ses.html"&gt;header files&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Precompiled Libraries in SES Projects</title><link>https://devzone.nordicsemi.com/thread/182470?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 20:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01f5816b-bf18-4148-b304-622f22733155</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;That&amp;#39;s really a question for Segger - not Nordic.&lt;/p&gt;
&lt;p&gt;Is the library compatible with GCC?&lt;/p&gt;
&lt;p&gt;Does the library have any memory requirements which conflict with the SoftDevice ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>