<?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>Build example project with Cmake</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128301/build-example-project-with-cmake</link><description>Hi, 
 
 I have a PCA10040 and use nRF5_SDK_17.1.0_ddde560. 
 I build this example project in Segger Embedded Etudio and it works fine and I can load elf file and debug etc: C:\nordic_semi\nRF5_SDK_17.1.0_ddde560\examples\peripheral\blinky\pca10040\s132</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Jun 2026 12:51:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128301/build-example-project-with-cmake" /><item><title>RE: Build example project with Cmake</title><link>https://devzone.nordicsemi.com/thread/567209?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2026 12:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:903d05cf-61d8-4960-b8d4-8d6544592ada</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nRF5 sdk supports gcc + makefiles:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/index_1.html"&gt;https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/index_1.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You will need make + gcc (arm-none-eabi) installed.&lt;/p&gt;
&lt;p&gt;In path,&amp;nbsp;&lt;span&gt;nRF5_SDK_17.1.0_ddde560/components/toolchain/gcc/, y&lt;/span&gt;ou need to edit either Makefile.posix (macos/linux) or Makefile.windows to reflect where you have installed your gcc toolchain for arm.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build example project with Cmake</title><link>https://devzone.nordicsemi.com/thread/567175?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2026 08:17:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9c5fc53-5465-4ed9-97b0-9c4ad6535ee4</guid><dc:creator>Jonas0</dc:creator><description>&lt;p&gt;Ok I will try NCS.&lt;/p&gt;
&lt;p&gt;Do you know if I can build the nRF5 SDK example projects from command line? So I don&amp;#39;t have to do it from Segger Embedded Studio?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build example project with Cmake</title><link>https://devzone.nordicsemi.com/thread/567169?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2026 07:34:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cccb6c5d-eefd-418c-9f19-e42dffbaa620</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nRF5 SDK does not have&amp;nbsp;CMake support.&lt;/p&gt;
&lt;p&gt;As mentioned on our website:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-software/nRF5-SDK/GetStarted"&gt;https://www.nordicsemi.com/Products/Development-software/nRF5-SDK/GetStarted&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;nRF5 SDK is not recommended to new designs. If you want CMake support, I would recommend that you look into NCS, which is linked in the above link.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>