<?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>How to create a new target of a project by makefile(nRF52810)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38921/how-to-create-a-new-target-of-a-project-by-makefile-nrf52810</link><description>Hi, I would like to create a new target,but nRF52810 only can be compiled with makefile and I don&amp;#39;t know makefile too much. 
 I try to edit the makefile with my own target name: 
 PROJECT_NAME := Smart_Remote_3_nRF52_Firmware_nRF52810 
 Before: TARGETS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Oct 2018 07:55:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38921/how-to-create-a-new-target-of-a-project-by-makefile-nrf52810" /><item><title>RE: How to create a new target of a project by makefile(nRF52810)?</title><link>https://devzone.nordicsemi.com/thread/152608?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 07:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a4155ab-89b7-462e-978a-df58c1e659ed</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, it does.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-2c479e4af7764473a17646fc1562bd19/pastedimage1539330920152v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a new target of a project by makefile(nRF52810)?</title><link>https://devzone.nordicsemi.com/thread/152581?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 06:34:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92d1f4d4-7326-4977-a30f-3d204b34c21f</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Alright, does Segger embedded studio also have the function as Keil?&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/user.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a new target of a project by makefile(nRF52810)?</title><link>https://devzone.nordicsemi.com/thread/152167?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 08:45:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c6309df-32f1-46f4-85a3-605128a2d7e9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes you can use Eclipse, but I would not recommend now that we have Segger embedded studio. Is there a particular reason for wanting to use Eclipse instead of Segger? It is not trivial to set up.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a new target of a project by makefile(nRF52810)?</title><link>https://devzone.nordicsemi.com/thread/152165?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 08:41:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abb6c4ee-e712-41b7-9c71-f9d541763425</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi, if just some normal editings of makefile is fine to me, &lt;span&gt;can&amp;nbsp;&lt;/span&gt;I still use eclipse to do my project?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a new target of a project by makefile(nRF52810)?</title><link>https://devzone.nordicsemi.com/thread/152032?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 11:48:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e68d1c8-c25e-4154-89ad-24986cfc19e7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would recommend you to use Segger embedded studio. The Eclipse setup described in the blog post still requires editing of the makefile when you need to add a new source files, etc. Starting from SDK version 14 we included Segger embedded Studio projects for all examples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately, the smart remote examples do not include SES support yet. What you can do is to copy one of the the examples from SDK 14,&amp;nbsp;\ble_app_hrs\pca10040e\s112\ses for instance, open the *emproject file in a text editor, then edit it according to to the Makefile (eg., add/remove necessary source files).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a new target of a project by makefile(nRF52810)?</title><link>https://devzone.nordicsemi.com/thread/151745?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 02:07:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0f35d2a-fa4c-441b-9e82-a8bc74da7c70</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi, Vidar Berg&lt;/p&gt;
&lt;p&gt;I have already included my own custom board header with&amp;nbsp; my own&amp;nbsp;&lt;span&gt;CONFIG_BOARD_xxx defines, which can be compiled and runs on the board, but still in the same Target&amp;nbsp;&amp;nbsp;PCA20031-SR3_nRF52810_Product_Example. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The problem is If I change the TARGETS to my own custom name(ABCDEFG) in makefile, gcc will just show&amp;nbsp; my CONFIG_BOARD_xxx is not defined even I have.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BTW,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I want to use Eclipse to compile costume target instead of manually modify the makefile, because I find your blog of&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;quot;development with GCC and Eclipse&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;My environment:&lt;/p&gt;
&lt;p&gt;GNU MCU Eclipse IDE for C/C++ Developers: 4.4.2&lt;/p&gt;
&lt;p&gt;GNU Tools ARM Embedded: 4.9 2015q3&lt;/p&gt;
&lt;p&gt;GNU MCU Eclipse build tool 2.11&lt;/p&gt;
&lt;p&gt;nRF5x SDK v14.2.0-SR3&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And I encounter some problems by follow your tutorial:&lt;/p&gt;
&lt;p&gt;1.my Eclipse IDE&amp;#39;s&amp;nbsp;&lt;span&gt;&amp;quot;C/C++-&amp;gt;Build-&amp;gt;Global Tools path&amp;quot; is missing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I check around and find another locations have similar things in Preferences &amp;quot;MCU-&amp;gt;Global Build Tools Path/Global ARM Toolchains Path&amp;quot;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can I use this MCU location instead of C/C++ location?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2.RUN/Debug also cant find SGGER J-Link but does in MUC-&amp;gt;Workspace SGGER Jlink Path.&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. My nRF SDK14.2 doesn&amp;#39;t have .project and .cproject&amp;nbsp; file,Can I use the file in your attachments(SDK12)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a new target of a project by makefile(nRF52810)?</title><link>https://devzone.nordicsemi.com/thread/150624?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 08:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d645ca25-25d9-4def-927e-7e9cf1d6df6a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;CONFIG_BOARD_xxx symbol defines which board header file to include in the project, see sr3_config.h line 89. You can edit this file if you want to use a custom board header.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>