<?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>nRF52 and gcc makefile</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17853/nrf52-and-gcc-makefile</link><description>Hi, 
 I am trying to develop firmware for the nRF52 platform using Visual Studio, as I prefer VS over Keil. I came across the VisualGDB plugin, but it seems their BSP is currently not compatible with current nRF52 examples, and I haven&amp;#39;t found a way</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 20 Nov 2016 15:30:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17853/nrf52-and-gcc-makefile" /><item><title>RE: nRF52 and gcc makefile</title><link>https://devzone.nordicsemi.com/thread/68797?ContentTypeID=1</link><pubDate>Sun, 20 Nov 2016 15:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42a4b8b9-4b3b-4025-8478-60c372d0bd32</guid><dc:creator>Fredrik</dc:creator><description>&lt;p&gt;I pointed JLink to the .out file created during make, and I am now able to debug and read the internal registers. Everything seems in order!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;For future reference, this is what I did:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Installed GnuWin32 so that the UNIX commands used by the Makefile would work&lt;/li&gt;
&lt;li&gt;Made an SDK_PATH variable pointing to the nRF52_SDK folder and replaced &amp;quot;abspath ../../../../../../&amp;quot; with $(SDK_PATH)/ in both the C_SOURCE_FILES and INC_PATHS list&lt;/li&gt;
&lt;li&gt;Set the VisualGDB Build Command (Project-&amp;gt;VisualGDB Project Properties-&amp;gt;Build Settings) to &amp;quot;cmd.exe /c make&amp;quot;. Also removed everything in &amp;quot;Additional Environments&amp;quot;.&lt;/li&gt;
&lt;li&gt;Added the relevant SDK paths to Intellisense Directories&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>