<?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 TO ADD DRIVER FILES IN SEGGER EMBEDDED STUDIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96786/how-to-add-driver-files-in-segger-embedded-studio</link><description>Hi, Can anyone please tell me how to add driver files in segger embedded studio. 
 I want to add nrfx_gpiote.c file into my fatfs example project. I tried adding existing file into the driver folder of fatfs example and also, I copied the config file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Feb 2023 09:31:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96786/how-to-add-driver-files-in-segger-embedded-studio" /><item><title>RE: HOW TO ADD DRIVER FILES IN SEGGER EMBEDDED STUDIO</title><link>https://devzone.nordicsemi.com/thread/410565?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 09:31:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c82afb29-5bda-41ef-9bb8-020846d1a0bb</guid><dc:creator>Shariff</dc:creator><description>&lt;p&gt;Thanks for your early reply :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO ADD DRIVER FILES IN SEGGER EMBEDDED STUDIO</title><link>https://devzone.nordicsemi.com/thread/410562?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 09:27:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca1908f8-977b-4545-94aa-40ebc0aa19f2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Generally you need to do the following when adding any additional code to a Segger Embedded Studio project:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add the C file(s) to the project. Typically by right-clicking a &amp;quot;folder&amp;quot; and selecting &amp;quot;Add Edisting File...&amp;quot;.&lt;/li&gt;
&lt;li&gt;Add the folder(s) with the header files to the include path if not already there. Go to project options, select &amp;quot;Common&amp;quot; so that you do the change for all build configurations, and under Preprocessor find the User Include Directories, and add the directories(s) there:&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2678.ses.png" /&gt;&lt;/li&gt;
&lt;li&gt;Lastly, for SDK modules you often ened to enable a config in sdk_config.h, as they typically use macros to only include content that is enabled in sdk_config.h.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is generally the same regardless of which IDE or toolchain you use, but the exact procedure differs a bit. A key is still that the compiler will not find C files that are not added, and not find header files that are not in the include path.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>