<?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>Using nrfxlib in cmake project.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68540/using-nrfxlib-in-cmake-project</link><description>Hi, 
 I was try to import modul nrfxlib in extising cmake project. My IDE is Eclipse CDT. Version of Zephyr is 2.4.0. Reason to do that, was testing SoftDevice BLE functionality. 
 I was import library as ZEPHYR_MODULE and select SoftDevice with CONFIG_BT_LL_SOFTDEVICE_DEFAULT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Nov 2020 10:41:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68540/using-nrfxlib-in-cmake-project" /><item><title>RE: Using nrfxlib in cmake project.</title><link>https://devzone.nordicsemi.com/thread/281289?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 10:41:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6e326e0-8488-4a93-8850-b8a108e1b245</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;NCS uses the same build system as Zephyr, so all of our samples come with a CMakelist.txt file. Whether you use West or cmake commands to build projects is up to you.&lt;/p&gt;
&lt;p&gt;In case you want to use west West, note that the &amp;quot;west build&amp;quot; does allow you to specify additional Cmake arguments. See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/application/index.html#generate-and-import-an-eclipse-project"&gt;&amp;quot;Generate and Import an Eclipse Project&amp;quot;&lt;/a&gt; for how you can use these to generate Eclipse projects.&lt;/p&gt;
[quote user="robertfirma"]Why we could not use cc31X HW in Zephyr apps?[/quote]
&lt;p&gt;You could, but to do so, you would need to integrate mbedtls with the propriatery cc310 backend as we have done it in NCS. And please keep in mind that NCS doesn&amp;#39;t prevent you from selecting the SW based crypto libraries from Zephyr, it&amp;#39;s merely giving your more options to choose from.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrfxlib in cmake project.</title><link>https://devzone.nordicsemi.com/thread/280958?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 15:59:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b8d99fb-bdb3-44c7-b36a-597ff0b9f62d</guid><dc:creator>robertfirma</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you have any link to NCS sample app that using only cmake (not west) to build app?&lt;/p&gt;
&lt;p&gt;I mean, that CMakeList.txt file include which ZEPHYR_MODULES is in project and not west build.&lt;/p&gt;
&lt;p&gt;Why we could not use cc31X HW in Zephyr apps?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Robert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrfxlib in cmake project.</title><link>https://devzone.nordicsemi.com/thread/280953?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 15:45:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0d1a205-a6af-47cd-8c31-161cd7cf676a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Robert,&lt;/p&gt;
&lt;p&gt;NCS uses the same build system as Zephyr, so it should really be no different. It&amp;#39;s optional to use west as the build command.&lt;/p&gt;
[quote user="robertfirma"]It will be nice and more transparent that Zephyr moduls is used&amp;nbsp;for nrfxlib.[/quote]
&lt;p&gt;&amp;nbsp;Yes, but then you won&amp;#39;t be able to utitilize the cc310 for HW accelerated crypto on the nRF52840.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrfxlib in cmake project.</title><link>https://devzone.nordicsemi.com/thread/280948?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 15:16:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26fd4a35-d617-4ee7-891a-33f78876f543</guid><dc:creator>robertfirma</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using cmake for build system. And as I know NCS use west in front of cmake. West is not compatible with Eclipse CDT.&lt;/p&gt;
&lt;p&gt;I could try to do, but I&amp;#39;m prepare with your help to import nrfxlib into clasic Zephyr project. I think most of users will like that.&lt;/p&gt;
&lt;p&gt;I can send you prj.conf file and CMakeList.txt file.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m also discover that&amp;nbsp;CONFIG_NORDIC_SECURITY_BACKEND must be enabled. But then MbedTLS module must be included. And here is another problem. Nrfxlib could not find mbedtls modul. It will be nice and more transparent that Zephyr moduls is used&amp;nbsp;for nrfxlib.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Robert&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrfxlib in cmake project.</title><link>https://devzone.nordicsemi.com/thread/280941?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 14:51:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa5db52d-e744-40cc-9671-d13f62c1af2a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you try to build your project against &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;NCS v1.4.0&lt;/a&gt; and see if you get the same result? I&amp;#39;m not sure if you will be able to easily integrate the Softdevice link layer with Zephyr.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>