<?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>Transferring BMI160 sample example to nRF9160 samples</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48331/transferring-bmi160-sample-example-to-nrf9160-samples</link><description>I am working on transferring BMI160 sample given in zephyr samples (\ncs\zephyr\samples\sensor\bmi160) to nrf sample (\ncs\nrf\samples\nrf9160\bmi160). 
 Below is the changed bits: 
 nrf9160_pca10090ns.overlay file 
 
 prj.conf file 
 
 Main.c and CMake</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Jun 2019 15:04:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48331/transferring-bmi160-sample-example-to-nrf9160-samples" /><item><title>RE: Transferring BMI160 sample example to nRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/192756?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 15:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e447b12-d962-4926-83c2-2c8a5f9097c7</guid><dc:creator>Aakash_Soni</dc:creator><description>&lt;p&gt;Thank you for your answer. It compiled successfully.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring BMI160 sample example to nRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/192679?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 12:17:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d301ec00-b4e4-4e42-af5c-fb13176afca4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is definitely some better way to solve this... but one option is to add the defines in &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/soc/arm/nordic_nrf/nrf91/dts_fixup.h"&gt;dts_fixup.h&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#&lt;/span&gt;&lt;span class="pl-k"&gt;define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="pl-en x x-first x-last"&gt;DT_BOSCH_BMI160_0_INT_GPIOS_CONTROLLER&amp;nbsp;&lt;span&gt;DT_GPIO_P0_DEV_NAME&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="pl-en x x-first x-last"&gt;#define&amp;nbsp;&lt;span&gt;DT_BOSCH_BMI160_0_INT_GPIOS_PIN 30 // Some pin number&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>