<?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>device must be defined. see nrf.h.segger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47549/device-must-be-defined-see-nrf-h-segger</link><description>Hello, 
 I am trying to create a new project after add source files and header files . While compiling I got error like &amp;quot;device must be defined. see nrf.h.segger&amp;quot; 
 
 
 Kindly provide solution 
 Thank you in advance</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 May 2019 09:16:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47549/device-must-be-defined-see-nrf-h-segger" /><item><title>RE: device must be defined. see nrf.h.segger</title><link>https://devzone.nordicsemi.com/thread/189251?ContentTypeID=1</link><pubDate>Mon, 27 May 2019 09:16:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8a89d13-9592-42ea-aad0-427c62cc32ca</guid><dc:creator>gain</dc:creator><description>&lt;p&gt;Thank you its working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: device must be defined. see nrf.h.segger</title><link>https://devzone.nordicsemi.com/thread/188223?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 11:41:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c6e1394-7b16-4e93-980f-6b0813c69873</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend that you use one of the existing SDK examples as a starting point instead. This will ensure that you have the correct linker settings, compiler flags, etc. Anyway, to fix the compile error you need to add your device type (e..g, NRF52832_XXAA) to the list of preprocessor definitions like shown below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-ad99ae339266475cb0c8945321c6441b/pastedimage1558438872101v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: device must be defined. see nrf.h.segger</title><link>https://devzone.nordicsemi.com/thread/188056?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 03:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d94199c9-36de-4bf6-be07-75b39c9b9db7</guid><dc:creator>gain</dc:creator><description>&lt;p&gt;This is the error &amp;quot;device must be defined. see nrf.h&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>