<?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>New Driver nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97348/new-driver-nrf52840</link><description>I have a driver for the sensor tcs34725 and I wish to build a zephyr project from it when creating a project on nrf52840 how can I insert this driver file into my main.c ( currently I have added the sensor driver to the following directory nrf/drivers</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Mar 2023 11:34:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97348/new-driver-nrf52840" /><item><title>RE: New Driver nrf52840</title><link>https://devzone.nordicsemi.com/thread/414877?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2023 11:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:667979c0-2c19-4789-9064-f109ba1c9b1f</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I see.&lt;/p&gt;
&lt;p&gt;I think it would be best to try to follow the steps outlined in the post I linked to first, otherwise you might get path issues. Ie. try placing the driver in the zephyr folder.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New Driver nrf52840</title><link>https://devzone.nordicsemi.com/thread/414593?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2023 11:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c4c9b3d-7d06-4276-b0ad-20949c46294b</guid><dc:creator>Gayani</dc:creator><description>&lt;p&gt;I have downloaded the v2.2.0 to this directory C:\v2.2.0, and I have a separate driver for a sensor file on this directory C:\drivers, I can run the blinky sample and its working correctly, but when I change the cmd directory to C:\drivers and tried to build sensor driver file, it shows the above error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New Driver nrf52840</title><link>https://devzone.nordicsemi.com/thread/414577?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2023 10:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fe81dff-5ab8-4eaf-a3d9-4f97fe275e27</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;And just to make sure, you are not getting these errors without modifying these driver files?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New Driver nrf52840</title><link>https://devzone.nordicsemi.com/thread/414540?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2023 08:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:827585fe-6cc6-4c16-92ef-9fce0d9ff83c</guid><dc:creator>Gayani</dc:creator><description>&lt;p&gt;thank you, I have modified te diver file and a zephyr driver, but now I&amp;#39;m getting following error&lt;pre class="ui-code" data-mode="text"&gt;[variant] Loaded new set of variants
[kit] Successfully loaded 1 kits from C:\Users\ACER\AppData\Local\CMakeTools\cmake-tools-kits.json
[proc] Executing command: &amp;quot;C:\Program Files\CMake\bin\cmake.EXE&amp;quot; --version
[proc] Executing command: C:\MinGW\bin\gcc.exe -v
[proc] The command: C:\MinGW\bin\gcc.exe -v failed with error: Error: spawn C:\MinGW\bin\gcc.exe ENOENT
[proc] The command: mingw32-make --version failed with error: Error: spawn mingw32-make ENOENT
[cmakefileapi-driver] Removing c:/drivers/build/CMakeCache.txt
[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.
[main] Configuring project: drivers 
[proc] Executing command: C:\MinGW\bin\gcc.exe -v
[proc] The command: C:\MinGW\bin\gcc.exe -v failed with error: Error: spawn C:\MinGW\bin\gcc.exe ENOENT
[proc] The command: mingw32-make --version failed with error: Error: spawn mingw32-make ENOENT
[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.
[proc] Executing command: C:\MinGW\bin\gcc.exe -v
[proc] The command: C:\MinGW\bin\gcc.exe -v failed with error: Error: spawn C:\MinGW\bin\gcc.exe ENOENT
[proc] The command: mingw32-make --version failed with error: Error: spawn mingw32-make ENOENT
[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.
[proc] Executing command: C:\MinGW\bin\gcc.exe -v
[proc] The command: C:\MinGW\bin\gcc.exe -v failed with error: Error: spawn C:\MinGW\bin\gcc.exe ENOENT
[proc] The command: mingw32-make --version failed with error: Error: spawn mingw32-make ENOENT
[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.
[proc] Executing command: C:\MinGW\bin\gcc.exe -v
[proc] The command: C:\MinGW\bin\gcc.exe -v failed with error: Error: spawn C:\MinGW\bin\gcc.exe ENOENT
[proc] The command: mingw32-make --version failed with error: Error: spawn mingw32-make ENOENT
[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New Driver nrf52840</title><link>https://devzone.nordicsemi.com/thread/414036?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 09:02:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ced29f6-3970-4f34-a7f0-b8bda00afe9f</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello, and sorry about the delay.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/66230/how-to-add-new-i2c-based-sensor-device-to-ncs-v1-3-0-zephyr-drivers-sensor/271109"&gt;Please take a look at this previous response by a colleague of mine.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>