<?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>Help with GPIO and delay linking issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82426/help-with-gpio-and-delay-linking-issues</link><description>I realize that this question will be stupid simple. I can program AVR microcontrollers with no trouble. The setup in the Segger embedded studio seems far more cumbersome. I am trying to write a simple blinky program with an existing production board.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Dec 2021 14:05:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82426/help-with-gpio-and-delay-linking-issues" /><item><title>RE: Help with GPIO and delay linking issues</title><link>https://devzone.nordicsemi.com/thread/342106?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 14:05:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bc6072c-dd4c-407a-81ae-0ee7d1cc21a1</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In addition to including the header file in main.c, you must also add source and include files manually to the project in SEGGER Embedded Studio.&lt;/p&gt;
&lt;p&gt;To add source files, right click on one of the folders under the project in the Project Explorer that you want to add it to, select &amp;#39;Add Existing File&amp;#39; and find the source file to add.&lt;/p&gt;
&lt;p&gt;For the include files, right click on the project in Project Explorer and select Options. Make sure that the configuration is set to Common and not Debug or Release. Go to Preprocessor&amp;nbsp;-&amp;gt; User Include Directories.&amp;nbsp;Here you should add the path to the include file. This must be the correct path according to where the project file is, so if you for example want to add the file nrf_gpio.h (located in &amp;lt;SDK_ROOT&amp;gt;/modules/nrfx/hal) to ble_app_blinky the path is&amp;nbsp;&lt;strong&gt;../../../../../../modules/nrfx/hal&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>