<?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>Moving project from Keil to Eclipse : Make fails</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21212/moving-project-from-keil-to-eclipse-make-fails</link><description>Hey there! 
 I am trying to switch from Keil to Eclipse. 
 I have followed several tutorials on this website ( like this one ) and I can easily create new eclipse project, import SDK examples, then build, flash &amp;amp; debug... 
 That was easy because &amp;quot;examples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Apr 2017 15:21:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21212/moving-project-from-keil-to-eclipse-make-fails" /><item><title>RE: Moving project from Keil to Eclipse : Make fails</title><link>https://devzone.nordicsemi.com/thread/82997?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2017 15:21:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e294e62-f0e8-4158-b86f-8ee9ec472ca4</guid><dc:creator>F0cks</dc:creator><description>&lt;p&gt;I have not found what was wrong. However, I have followed your advice and used last SDK 12 release. I have done exactly the same thing for this make file and this time it works!
Maybe my SDK was outdated ...
Thanks a lot for your help !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moving project from Keil to Eclipse : Make fails</title><link>https://devzone.nordicsemi.com/thread/82996?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 13:42:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d658f1d-e63b-496b-8d56-aacba7168cda</guid><dc:creator>jcormier</dc:creator><description>&lt;p&gt;Hmm I have SDK 12_2 but it doesn&amp;#39;t have a seperate ASM files section, they are all under SRC_FILES.  My guess is whatever example Makefile you are using is from an older SDK before they changed things.&lt;/p&gt;
&lt;p&gt;What I did was copied the ble_app_hrs Makefile into my project, got it to build. Then added whatever extra source files needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moving project from Keil to Eclipse : Make fails</title><link>https://devzone.nordicsemi.com/thread/82999?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 07:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f220ffed-519c-4457-8fe9-81a57c6a75ca</guid><dc:creator>F0cks</dc:creator><description>&lt;p&gt;Hey thanks for you answer! That solves partially my problem:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Assembly file: gcc_startup_nrf51.s
Linking target: nrf51422_xxac_s130.out
_build/gcc_startup_nrf51.o: In function `Reset_Handler&amp;#39;:
(.text+0x38): undefined reference to `__START&amp;#39;
collect2.exe: error: ld returned 1 exit status
Makefile:226: recipe for target &amp;#39;nrf51422_xxac_s130&amp;#39; failed
make: *** [nrf51422_xxac_s130] Error 1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I have forgotten to add files that are in &amp;quot;device&amp;quot; (in Keil). The second is &amp;quot;amr_startup_nrf51.s&amp;quot;. However, I am getting errors when I try to add it in C_SOURCE_FILES :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Compiling file: system_nrf51.c
make: *** No rule to make target &amp;#39;_build/arm_startup_nrf51.s&amp;#39;, needed by &amp;#39;nrf51422_xxac_s130&amp;#39;.  Stop.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Or in ASM_SOURCE_FILES :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Makefile:245: recipe for target &amp;#39;_build/arm_startup_nrf51.o&amp;#39; failed
make: *** [_build/arm_startup_nrf51.o] Error 1
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moving project from Keil to Eclipse : Make fails</title><link>https://devzone.nordicsemi.com/thread/82998?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 15:09:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0205958e-ec8a-4f79-9f50-9e6020f4e12d</guid><dc:creator>jcormier</dc:creator><description>&lt;p&gt;It appears that the SystemInit function is in the system_nrf51.c file.  Is this file missing from your Makefile?&lt;/p&gt;
&lt;p&gt;$(SDK_ROOT)/components/toolchain/system_nrf51.c \&lt;/p&gt;
&lt;p&gt;Note that in your blink example, &amp;quot;Compiling file: system_nrf51.c&amp;quot; is shown, is this missing from your main build?&lt;/p&gt;
&lt;p&gt;[Edit] Missed that you were building for nRF51 device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>