<?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>SDK 7.1 MakeFiles</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4652/sdk-7-1-makefiles</link><description>I&amp;#39;ve been working with SDK 7.1 and I am struggling to understand how to get the makefile working with an NRF51822-QFAA device rather than a nRF51422-QFAC. I have samples of XLR3 nRF51822-QFAA which should be compatable with SDK 7.1 SD 7.1. However, I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Dec 2014 06:58:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4652/sdk-7-1-makefiles" /><item><title>RE: SDK 7.1 MakeFiles</title><link>https://devzone.nordicsemi.com/thread/16512?ContentTypeID=1</link><pubDate>Mon, 01 Dec 2014 06:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62ef47a1-4468-4ca7-bf0f-dbd59a271ce2</guid><dc:creator>Przemek</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I guess you should change only linker script. Please locate line similar to line pasted below and change the linker script (You can also change target name but it is not necessary).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;nrf51422_xxac_s110: LINKER_SCRIPT=../../../../../../components/toolchain/gcc/&lt;strong&gt;gcc_nrf51_s110_xxac.ld&lt;/strong&gt;&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How to find the correct Linker File?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Linker GCC scripts are located in &lt;em&gt;&amp;quot;components/toolchain/gcc&amp;quot;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Linker script name contain:
&amp;quot;gcc_&lt;em&gt;[mcu_family]&lt;/em&gt;&lt;em&gt;&lt;em&gt;[softdevice]&lt;/em&gt;&lt;/em&gt;&lt;em&gt;[mcu_type]&lt;/em&gt;.ld&amp;quot;&lt;/p&gt;
&lt;p&gt;For example for SoftDevice S110 and nRF51 XLR3 XXAA you should use file: &lt;em&gt;&amp;quot;gcc_nrf51_s110_xxaa.ld&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In result your line should looks like:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;nrf51422_xxac_s110: LINKER_SCRIPT=../../../../../../components/toolchain/gcc/&lt;strong&gt;gcc_nrf51_s110_xxaa.ld&lt;/strong&gt;&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Przemek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 7.1 MakeFiles</title><link>https://devzone.nordicsemi.com/thread/16511?ContentTypeID=1</link><pubDate>Mon, 01 Dec 2014 02:06:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54eb87b2-5559-440c-89ef-529e18eb7d0d</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Perhaps, it would be easier to just create Eclipse based project instead.  There are instructions on this blog for Pure Eclipse based project (no makefile) with nRF51.  &lt;a href="http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html"&gt;embeddedsoftdev.blogspot.ca/.../ehal-nrf51.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>