<?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>Building y project using make file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90435/building-y-project-using-make-file</link><description>I had this error while building my project and compiling my lsm9ds1.c driver, the nrf_drv_twi.h file couldn&amp;#39;t be compiled! 
 integration/nrfx/legacy/nrf_drv_twi.h:120:37: error: &amp;#39;NRF_DRV_TWI_INSTANCE_1&amp;#39; undeclared here (not in a function); did you mean</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jul 2022 11:53:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90435/building-y-project-using-make-file" /><item><title>RE: Building y project using make file</title><link>https://devzone.nordicsemi.com/thread/379111?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 11:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea908086-eb0b-4f57-addd-b7ed8b29de8d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What did you pass as the argument to&amp;nbsp;&lt;span&gt;NRF_DRV_TWI_INSTANCE()? If you are passing a define, make sure you remember to define it in your code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also make sure you set &amp;quot;TWI1_ENABLED&amp;quot; to 1 in your sdk_config.h file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>