<?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>link fail on a sample code compile on SES on Mac.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45462/link-fail-on-a-sample-code-compile-on-ses-on-mac</link><description>I try to build and test my first time SES setup on Mac for further development on an existing nRF51 project and future nRF52 project. 
 I use SES for Nordic V4.14 and SDK 12.3.0 
 I try to compile the the following sample, and got the following error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Mar 2019 11:47:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45462/link-fail-on-a-sample-code-compile-on-ses-on-mac" /><item><title>RE: link fail on a sample code compile on SES on Mac.</title><link>https://devzone.nordicsemi.com/thread/179208?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 11:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8607ad59-842c-4627-9583-5cd17de0f9ed</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Please take a look at Jan Tore Guggedal&amp;#39;s comment from over 2 years ago in &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/segger-embedded-studio-a-cross-platform-ide"&gt;this devzone blog post&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;I have now tried SEGGER Embedded Studio (3.10f) on&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;macOS&lt;/strong&gt;, and I experience the same issue as @syntroniks when I import an example project from the SDK (12.1.0). It seems SES for some reason is not able to find the nRF52832_xxAA as target processor and because of that wrong files and settings are added to the project. There&amp;#39;s an underlying problem with project imports on macOs in there somewhere causing this, so if someone has figured out what it is and how to fix it, please comment.&lt;/p&gt;
&lt;p&gt;Here is what I did to get the examples working after the unsuccessful import,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;in addition&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to what is described in this tutorial:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Install the nRF CPU Support Package (along with the already installed CMSIS-CORE support package) Tools -&amp;gt; Package manager -&amp;gt; Install nRF CPU Support Package&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Import the project. Remove crt0.s and ARM_Startup.s from Internal files folder in project explorer.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add &amp;lt;your SES folder&amp;gt;/source/thumb_crt0.s to Internal files.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to Project -&amp;gt; Edit options... -&amp;gt; (General tab) Build -&amp;gt; Property Groups File and add the path $(PackagesDir)/nRF/XML/property_groups.xml&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click Ok for the previous step to take effect&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to Project -&amp;gt; Edit options... -&amp;gt; (General tab) Build -&amp;gt; Target Processor and select nRF52832_xxAA as target&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to Project -&amp;gt; Edit options... -&amp;gt; (Linker tab) Linker -&amp;gt; Section Placement File and add $(StudioDir)/targets/Cortex_M/flash_placement.xml&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The project should now build. To flash it to the DevKit, confirm the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Project -&amp;gt; Edit options... -&amp;gt; (Debugging tab) J-Link -&amp;gt; Target Interface Type should be set to SWD&amp;quot;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: link fail on a sample code compile on SES on Mac.</title><link>https://devzone.nordicsemi.com/thread/179093?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 03:42:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c10f818-b1cb-4095-93ef-688c3cbdaedd</guid><dc:creator>roger2000</dc:creator><description>&lt;p&gt;Okay, I followed all the steps again, and down to step #7. &amp;nbsp;where I can&amp;#39;t find a way to fill-in the section memory file and macro. &amp;nbsp;Thus the linking error as shown in the image.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1200x1062/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_03_2D00_29-at-11.36.18-AM.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1200x1076/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_03_2D00_29-at-11.34.30-AM.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: link fail on a sample code compile on SES on Mac.</title><link>https://devzone.nordicsemi.com/thread/178911?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 12:05:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:796b46b4-b29f-4fdb-a982-c88943259bfd</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;It seems that it should be defined in the linker file:&amp;nbsp;&lt;span&gt;ble_app_eddystone_pca10028_s130.ld. Did you take a look at&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.gs.ses%2Fdita%2Fgs%2Fdeveloping%2Fimport_ses.html"&gt; the documentation&lt;/a&gt; for importing a Keil project into Segger Embedded Studio? Don&amp;#39;t worry that it says the documentation is outdated. ;) If not, I would take a look at that documentation to see that you have done the steps correctly.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>