<?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>Can&amp;#39;t find #define for NRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15167/can-t-find-define-for-nrf52</link><description>I&amp;#39;m trying to understand the general structure of .h files. 
 nrf.h contains an #ifdef for NRF52. 
 I cannot find a #define NRF52 anywhere. 
 Any help appreciated. 
 Thanks,Tom</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Jul 2016 19:28:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15167/can-t-find-define-for-nrf52" /><item><title>RE: Can't find #define for NRF52</title><link>https://devzone.nordicsemi.com/thread/57905?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 19:28:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc34b743-2be4-42d0-96dd-f6bb14458906</guid><dc:creator>Tom P</dc:creator><description>&lt;p&gt;Jorge .. Thanks but I&amp;#39;m using gcc .. Trying to break away from Keil.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't find #define for NRF52</title><link>https://devzone.nordicsemi.com/thread/57904?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 08:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3777c04-29b5-419e-a66d-267be3883817</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;If you use Keil you can go on &amp;quot;Target Options&amp;quot; and then &amp;quot;C/C++&amp;quot; tab and it should be on the Preprocessor Symbols-&amp;gt; Define. It should be one NRF51 or NRF52.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't find #define for NRF52</title><link>https://devzone.nordicsemi.com/thread/57903?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 07:51:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bc3ff35-a56c-4c10-832d-bcd4ae913221</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You&amp;#39;ll not find it defined any of the .c or .h files, NRF52 is a conditional, i.e. you&amp;#39;ll find it under CFLAGS in the Makefile.&lt;/p&gt;
&lt;p&gt;-Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>