<?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>Does nRF51_SDK_8.0.0 work with gcc ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6091/does-nrf51_sdk_8-0-0-work-with-gcc</link><description>Hi, 
 I just updated to nRF51_SDK_8.0.0_5fc2c3a.zip and try to compile ble_app_hrs example (with S110 and DFU) with gcc 4.9. I have couple of problems, first is that some of the header files tries to find the headers from component folder and some from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Apr 2015 13:13:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6091/does-nrf51_sdk_8-0-0-work-with-gcc" /><item><title>RE: Does nRF51_SDK_8.0.0 work with gcc ?</title><link>https://devzone.nordicsemi.com/thread/21322?ContentTypeID=1</link><pubDate>Thu, 09 Apr 2015 13:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b756e721-f87c-4daf-91b0-516b2555e03d</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;If you are trying to set up Eclipse please have a look at this blog post: &lt;a href="https://devzone.nordicsemi.com/blogs/18/development-with-eclipse-and-gcc/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRF51_SDK_8.0.0 work with gcc ?</title><link>https://devzone.nordicsemi.com/thread/21321?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 20:12:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de95ea5c-f10e-4f67-b866-17e8906e4f83</guid><dc:creator>kouri</dc:creator><description>&lt;p&gt;Yes, Eclipse is including a wrong one:
On SDK 8 variable BLE_GATTS_SYS_ATTR_FLAG_SYS_SRVCS is defined on
sdk\components\softdevice\s110\headers\ble_gatts.h
But not on sdk\components\softdevice\s130\headers\ble_gatts.h
And for some reason compiles uses S130.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRF51_SDK_8.0.0 work with gcc ?</title><link>https://devzone.nordicsemi.com/thread/21320?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 11:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d29b674b-a700-427e-b9dd-34b5e9441776</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Yes that was rather important information to have left out - makes the question entirely different.&lt;/p&gt;
&lt;p&gt;Simplest and most obvious explanation is that your header include path is pointing at the wrong (old) SDK instead of the current one. e.g.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;BLE_GATTS_SYS_ATTR_FLAG_SYS_SRVCS
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;is only defined in ble_gatts.h in SDK 8 so I&amp;#39;m pretty sure you&amp;#39;re including the wrong one. Either you have some links wrong, or you haven&amp;#39;t copied the SDK into wherever you&amp;#39;re building from or you have some hard-coded paths in Eclipse.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRF51_SDK_8.0.0 work with gcc ?</title><link>https://devzone.nordicsemi.com/thread/21319?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 09:00:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae555a80-1282-40de-81b0-17f3e7e18715</guid><dc:creator>kouri</dc:creator><description>&lt;p&gt;I forgot to mention that I am using Windows 8.1 and Eclipse Luna. So the problem seems to be in my environment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRF51_SDK_8.0.0 work with gcc ?</title><link>https://devzone.nordicsemi.com/thread/21318?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 00:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba1a10e5-9afe-44d2-9d59-36def222b5fd</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;it works perfectly for me right out of the install by just typing make&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ pwd
/Users/rols/Code/nordic/nrf51/nRF51_SDK_8.0.0/examples/ble_peripheral/ble_app_hrs/pca10028/s110_with_dfu/armgcc
 $ make
rm -rf _build
echo  Makefile
Makefile 
mkdir _build
Compiling file: app_button.c
Compiling file: app_error.c

... long compile removed ...

Compiling file: softdevice_handler.c
Compiling file: gcc_startup_nrf51.s
Linking target: nrf51422_xxac_s110.out
Preparing: nrf51422_xxac_s110.bin
Preparing: nrf51422_xxac_s110.hex

text	   data	    bss	    dec	    hex	filename
26844	    120	   2376	  29340	   729c	_build/nrf51422_xxac_s110.out
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>