<?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>How do I solve error &amp;quot;Device family must be defined. See nrf.h.&amp;quot;?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9287/how-do-i-solve-error-device-family-must-be-defined-see-nrf-h</link><description>When creating my own project in Keil for the NRF51. I get this error when including files that include nrf.h. I do not have this problem in the example projects with the NRF51. When I try to find where the device is defined in these example projects I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Feb 2021 01:47:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9287/how-do-i-solve-error-device-family-must-be-defined-see-nrf-h" /><item><title>RE: How do I solve error "Device family must be defined. See nrf.h."?</title><link>https://devzone.nordicsemi.com/thread/296403?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 01:47:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23a02057-3d08-46a7-b5f0-cd4a735f565d</guid><dc:creator>Henry_Chou</dc:creator><description>&lt;p&gt;Project configuration. Not file option.&lt;/p&gt;
&lt;p&gt;There are many definitions there. The include file directory , definition option,memory mapping or so on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I solve error "Device family must be defined. See nrf.h."?</title><link>https://devzone.nordicsemi.com/thread/296176?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2021 09:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d05226e0-d4f0-4f22-8d90-0d8bb1bda600</guid><dc:creator>SHALANES</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1614245306287v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1614245325881v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Still can&amp;#39;t find it in options , is that a code or file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I solve error "Device family must be defined. See nrf.h."?</title><link>https://devzone.nordicsemi.com/thread/296173?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2021 09:20:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab8ab2e8-120e-4552-ad80-9ae04f3d51a0</guid><dc:creator>Henry_Chou</dc:creator><description>&lt;p&gt;emproject&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;c_preprocessor_definitions&lt;/p&gt;
&lt;p&gt;You may check your&amp;nbsp;configuration in emproject.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I solve error "Device family must be defined. See nrf.h."?</title><link>https://devzone.nordicsemi.com/thread/296157?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2021 08:12:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eb6c50b-f82b-4cfa-ac14-bc26710af726</guid><dc:creator>SHALANES</dc:creator><description>&lt;p&gt;May I know how to set it up in SES?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I solve error "Device family must be defined. See nrf.h."?</title><link>https://devzone.nordicsemi.com/thread/34266?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2015 08:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23274d72-89f9-47a8-812d-dbd63b7203d3</guid><dc:creator>LuGr</dc:creator><description>&lt;p&gt;This worked, thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I solve error "Device family must be defined. See nrf.h."?</title><link>https://devzone.nordicsemi.com/thread/34265?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2015 08:51:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7412ede9-51d8-4ad0-9b34-4a3741b16039</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;In keil:
Options for target -&amp;gt; C/C++ -&amp;gt; Preprocessor symbols - Define -&amp;gt; Add &amp;quot;NRF51&amp;quot; there&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>