<?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>GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27018/gcc-build-w-sdk9-no-rule-to-make-target</link><description>Hi there! 
 I&amp;#39;ve followed the guide to Eclipse GCC (using OSX) from here: devzone.nordicsemi.com/.../ 
 I had to add some stuff to main.c to have it built (e.g. BSP_LED_APP_TIMERS_NUMBER). 
 Apart from that it seems like everything goes well, until</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Nov 2017 12:10:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27018/gcc-build-w-sdk9-no-rule-to-make-target" /><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106033?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 12:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74efc727-b51b-4f56-8f3b-dec732864019</guid><dc:creator>Haaris</dc:creator><description>&lt;p&gt;PLEASE DO IT !!!!!!!! IM DESPERATE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106032?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2015 16:24:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10b74630-efcf-4879-8746-1632e69e7fff</guid><dc:creator>Henrik M.</dc:creator><description>&lt;p&gt;I may write a guide when I&amp;#39;ve made it work for both nRF51 and nRF52 more than once, if someone is interested.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106031?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2015 16:23:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c0a7004-24cd-4c3c-8c20-3621af4b9f80</guid><dc:creator>Henrik M.</dc:creator><description>&lt;p&gt;Somehow I managed to get it working by meticulously copying all relevant options from the Makefile into a new, empty C project in Eclipse.&lt;/p&gt;
&lt;p&gt;Now it can build fine. And I can run the sample code on nRF51x.&lt;/p&gt;
&lt;p&gt;Now I have issues with nRF52 Preview DK. Not with building the examples, but with running them on the hardware using JLink. I&amp;#39;ll post a new question.. ;)&lt;/p&gt;
&lt;p&gt;Thanks for your suggestions all of you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106030?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2015 09:48:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45af1776-7bca-4634-b36d-6b2444192e5b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, it looks like it has trouble resolving paths with whitespaces. Please try to change the path to /Users/me/&lt;strong&gt;NordicSemiconductor&lt;/strong&gt;/nRF51_SDK_9.0.0_2e23562/examples/ble_central_and_peripheral/ble_connectivity/pca10028/ser_s130_spi/armgcc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106029?ContentTypeID=1</link><pubDate>Thu, 15 Oct 2015 17:16:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4635d3a9-3876-4d77-a5d3-104fe6282bcf</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;I&amp;#39;m also seeing similar problems building from the command line in OSX with an out of the box example from directory:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/Users/me/Nordic Semiconductor/nRF51_SDK_9.0.0_2e23562/examples/ble_central_and_peripheral/ble_connectivity/pca10028/ser_s130_spi/armgcc
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I&amp;#39;m seeing:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ make
rm -rf _build
echo  Makefile
Makefile
mkdir _build
make: *** No rule to make target `_build/Nordic&amp;#39;, needed by `nrf51422_xxac_s130&amp;#39;.  Stop.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Also, I&amp;#39;ve updated MakeFile.posix with correct paths&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106018?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2015 08:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:107750f2-df0f-4360-b99d-ebc385ba25ef</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The SDK makefiles have been tested and should not give any build warnings. However, from Eclipse it will appear to be errors since it is not able to resolve include paths and symbols unless added by the CDT parser, or that you have added them manually in your project settings. I would suggest to download SDK 8.0.0., add the hrs example project from the tutorial, then follow the instructions in the &amp;#39;Enable auto discovery of symbols, include paths and compiler settings&amp;#39;  section. Should be not red crosses in Eclipse if done correctly. I think it is better to have a working template, and then you can compare the configurations with your current project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106017?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2015 08:06:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8159ce57-f05f-4396-9c7f-d979902b1f88</guid><dc:creator>Henrik M.</dc:creator><description>&lt;p&gt;Well, I don&amp;#39;t remember (don&amp;#39;t have the unmodified version in my workspace anymore, but could of course recreate it). I had a gazillion red crosses in the source editor, which I removed one by one, by including extra files via virtual folders, and finally adding constants such as the BSP_LED_APP_TIMERS_NUMBER. And also true and false, by the way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106016?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2015 08:13:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccbf3c79-9e54-453a-b3e2-9d6bd1c5fc79</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;But your are not seeing any errors in the build output (CDT Build console) when building the unmodified project? Actual build errors will be shown there as build is happening outside of Eclipse environment using GNU make and the ARM toolchain. In order for Eclipse to be able to resolve defines, and index header files you will need to have the CDT parser configured correctly as described in the &amp;quot;Enable auto discovery of symbols, include paths and compiler settings&amp;quot; section of the tutorial, and also apply the following changes to your makefile:
Search for the $(NO_ECHO)$(CC) $(CFLAGS) $(INC_PATHS) -c -o $@ $&amp;lt; line in the makefile.
Add @echo arm-none-eabi-gcc $(CFLAGS) $(INC_PATHS) -c -o $@ $&amp;lt; on the line above to echo the symbols and include paths used when compiling the source files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106024?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 16:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2bcdf42-16c3-4bee-b94a-71e477c56625</guid><dc:creator>Henrik M.</dc:creator><description>&lt;p&gt;Makes sense @hnhoan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106015?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 16:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e1af0ff-b758-4e5c-b863-28a713d8f366</guid><dc:creator>Henrik M.</dc:creator><description>&lt;p&gt;With the unmodified version I got more errors. E.g. the BSP_LED_APP_TIMERS_NUMBER that was unresolved. I haven&amp;#39;t tested the &amp;quot;import project from existing Makefile&amp;quot; because I couldn&amp;#39;t get that to work at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106014?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 12:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc2e5241-3ba3-4adb-a9c8-5880150006db</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, please check if you get the same error if building an unmodified version of the ble_app_hrs example if you have not tried so already.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106023?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 12:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8d61b74-52c0-47dc-84ba-834b73f31d52</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;That is because there are major changes from 6 to 7 to 8.  From 8 to 9 there are no apparent changes except some configuration defines.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106022?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 11:59:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25afdd0d-75f8-48ef-b964-adf52be89959</guid><dc:creator>Henrik M.</dc:creator><description>&lt;p&gt;OK, perhaps I just got confused about the headline &amp;quot;Migrating to SDK 8&amp;quot;. The blog mentions SDK 6, 7 and 8 ;) Thanks again, I&amp;#39;ll try it out, looks promising!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106021?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 11:56:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bf3304d-f90d-4659-96fd-6637bc4b249d</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;It is sdk9.  The blog is not just sdk9 but general for any ARM based embedded software development with Eclipse GCC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106028?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 11:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d5dc1b5-4780-4d5e-8569-29403854ace0</guid><dc:creator>Henrik M.</dc:creator><description>&lt;p&gt;Hi Martin,
Yes, and if I change the all target to the following, it correctly prints out the confirmed path to my compiler:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;all:
   @echo $(GNU_INSTALL_ROOT)/bin/$(GNU_PREFIX)-gcc
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106026?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 11:39:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6f69b8f-423a-4fe8-98a7-ec0bc18388e2</guid><dc:creator>Henrik M.</dc:creator><description>&lt;p&gt;Thanks, the first 3 things checked out fine.
I&amp;#39;ll look into the tutorial you refer to, even though it seems a bit old. As a newbie with ARM GCC I&amp;#39;m a bit &amp;quot;scared off&amp;quot; by too many differences between what I need and the tutorial. The one I followed initially only had 1 difference: SDK8 (instead of SDK9). And I still couldn&amp;#39;t get it to work ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106020?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 11:30:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:739e9809-8785-496e-91f8-7154092c3f02</guid><dc:creator>Henrik M.</dc:creator><description>&lt;p&gt;Thanks, I&amp;#39;ll look into it. But that&amp;#39;s (also) not for SDK 9.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106027?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 09:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9207d3f6-ab26-4a3d-b9a5-7bacad7c1221</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;In your makefile, are you using the correct path to the GCC toolchain pointing to &amp;quot;&lt;em&gt;your_SDK_folder\components\toolchain\gcc&lt;/em&gt;&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106025?ContentTypeID=1</link><pubDate>Sun, 27 Sep 2015 13:39:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c96954c5-e642-4dd6-b2ea-b57a16cc06eb</guid><dc:creator>Michael Dietz</dc:creator><description>&lt;p&gt;Some things to check off the top of my head:&lt;/p&gt;
&lt;p&gt;First open a command prompt and type: arm-none-eabi-gcc -v
It should print a bunch of info &amp;amp; version number. This will tell you the compiler is installed correctly and in your path variables.&lt;/p&gt;
&lt;p&gt;Also I had to modify the makefile a bit to get it to work. Namely: GNU_INSTALL_ROOT := /usr/arm-none-eabi and all of the toolchain commands: CC := &amp;#39;$(GNU_PREFIX)-gcc&amp;#39;
So double check your paths and make sure they are correctly defined in the Makefile.&lt;/p&gt;
&lt;p&gt;Last make sure your make target is set as nrf52832_xxaa_s132 or one of the valid targets.&lt;/p&gt;
&lt;p&gt;If none of that works this tutorial should get you there: &lt;a href="http://www.hertaville.com/gcc-arm-toolchain-stm32f0discovery.html"&gt;www.hertaville.com/gcc-arm-toolchain-stm32f0discovery.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC Build w/sdk9 (no rule to make target)</title><link>https://devzone.nordicsemi.com/thread/106019?ContentTypeID=1</link><pubDate>Sun, 27 Sep 2015 01:31:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b4866f3-846d-453f-be39-a36ac1d496e0</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Try Eclipse GCC from this &lt;a href="http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html"&gt;blog&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>