<?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>Zephyr in-project libraries</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88381/zephyr-in-project-libraries</link><description>Dear Nordic, 
 Could you please suggest and and expamle or advice how to use in-project libraries properly (not &amp;#39;externally built&amp;#39; as an know example shows). It&amp;#39;s better to move some code out to project libraries, but we&amp;#39;ve faced the issue: 
 &amp;gt; c : /</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jun 2022 06:37:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88381/zephyr-in-project-libraries" /><item><title>RE: Zephyr in-project libraries</title><link>https://devzone.nordicsemi.com/thread/373132?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 06:37:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0838c572-99b7-458e-81bf-5c4cfd7d468e</guid><dc:creator>Dmitry Kr</dc:creator><description>&lt;p&gt;At the moment there is an easy temporary overcome for that is just adding of few compile options (just a copy from gcc commannd line call):&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;add_compile_options&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; -mfloat-abi=hard &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; -mcpu=cortex-m4 &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; -mthumb &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; -mabi=aapcs &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; -mfpu=fpv4-sp-d16 &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; -mfp16-format=ieee&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; )&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It&amp;#39;s not a solution because you can change some options in the future that could lead to some issues (e.g. change FP16 format) still it works on early development stage.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Dear Nordic, is there any normal way to implement in-project libraries?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>