<?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>nRF51 SDK makefile path-related problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6676/nrf51-sdk-makefile-path-related-problems</link><description>I&amp;#39;m trying to compile nRF51 SDK 8.0.0 under Windows.
So for that purpose I&amp;#39;m going to components/toolchain/gcc and running &amp;#39;make&amp;#39; there. 
 No targets specified and no makefile found. Stop. 
 Okay, I try running &amp;#39;make -f Makefile.common&amp;#39; 
 Makefile</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jun 2016 14:01:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6676/nrf51-sdk-makefile-path-related-problems" /><item><title>RE: nRF51 SDK makefile path-related problems</title><link>https://devzone.nordicsemi.com/thread/23425?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2016 14:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0381057-e621-4453-967b-e433ebf99910</guid><dc:creator>shirish47</dc:creator><description>&lt;p&gt;I changed this&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TEMPLATE_PATH = C:\Users\ASUS-PC\Documents\NRF51822_dev\nrf51\components\toolchain\gcc&lt;/strong&gt;
ifeq ($(OS),Windows_NT)
include $(TEMPLATE_PATH)/Makefile.windows
else
include $(TEMPLATE_PATH)/Makefile.posix
endif&lt;/p&gt;
&lt;p&gt;now it compiles ..but when I make it for debug such as when I set Build (Incremental Build) as Debug I get ,....&lt;/p&gt;
&lt;p&gt;make -f &amp;quot;C:\Users\ASUS-PC\Documents\NRF51822_dev\nrf51\examples\ble_central_and_peripheral\experimental\ble_app_hrs_rscs_relay\pca10028\s130\armgcc\Makefile&amp;quot; Debug
&lt;strong&gt;make: *** No rule to make target `Debug&amp;#39;.  Stop.&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 SDK makefile path-related problems</title><link>https://devzone.nordicsemi.com/thread/23424?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2016 13:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29478742-cf0d-4e8c-a378-bf38dbca9bff</guid><dc:creator>shirish47</dc:creator><description>&lt;p&gt;Hi I am trying to setup this in windows Eclipse and for the blinky example it does not seem to work.. but when I try to compile other examples with cmd it get compiled ....&lt;/p&gt;
&lt;p&gt;here is the error ...&lt;/p&gt;
&lt;p&gt;18:29:56 **** Incremental Build of configuration Default for project blink test setup ****
make -f &amp;quot;C:\Users\ASUS-PC\Documents\NRF51822_dev\nrf51\examples\peripheral\blinky\pca10028\s130\armgcc\Makefile&amp;quot; Debug
C:\Users\ASUS-PC\Documents\NRF51822_dev\nrf51\examples\peripheral\blinky\pca10028\s130\armgcc\Makefile:11: ../../../../../../components/toolchain/gcc/Makefile.windows: No such file or directory
make: *** No rule to make target `../../../../../../components/toolchain/gcc/Makefile.windows&amp;#39;.  Stop.&lt;/p&gt;
&lt;p&gt;18:29:56 Build Finished (took 135ms)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 SDK makefile path-related problems</title><link>https://devzone.nordicsemi.com/thread/23423?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2015 07:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5260b8c-1c28-4d22-9cb2-4b880ff58e81</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I think it is better to compile the source files for each example. The reason for that is that some source files are compiled differently depending on pre-processor definitions and configuration files such as pstorage_platform.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 SDK makefile path-related problems</title><link>https://devzone.nordicsemi.com/thread/23422?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2015 14:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5d92015-357b-423c-9717-308268300ce0</guid><dc:creator>ImQ009</dc:creator><description>&lt;p&gt;Oh, I see. Thank you!
I have another question. In this case can I create a makefile to compile the whole SDK into a library, which I&amp;#39;d use with my projects?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 SDK makefile path-related problems</title><link>https://devzone.nordicsemi.com/thread/23421?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2015 13:57:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf2804e3-33d5-4c1a-985a-1a22d59d4ebf</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, the makefiles are located in the example project folders, for instance ..\nRF51_SDK_8.0.0\examples\peripheral\blinky\pca10028\blank\armgcc for the blinky example. The project makefiles are standalone and does not depend on makefile.common anymore. However, before doing this you have to make sure that you have set the correct toolchain path for your system in &amp;quot;\components\toolchain\gcc\Makefile.windows&amp;quot;.&lt;/p&gt;
&lt;p&gt;Just go to the ARMGCC of folder in any of the examples and type &amp;#39;make&amp;#39; in the command line to start building.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>