<?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>Adding my application specific files to the nrf9160aws_fota project.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55708/adding-my-application-specific-files-to-the-nrf9160aws_fota-project</link><description>I need to add new files to the aws fota example for the nrf9160 project in order to implement compatibility with the 
 AWS OTA update agent, I have read other posts in the Dev Zone about this issue but no one has made a simple 
 clear explanation. I know</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Jan 2020 13:59:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55708/adding-my-application-specific-files-to-the-nrf9160aws_fota-project" /><item><title>RE: Adding my application specific files to the nrf9160aws_fota project.</title><link>https://devzone.nordicsemi.com/thread/227260?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2020 13:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39c0a627-f7eb-4dd3-9f04-e295d0ba0da0</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Did you re-open and re-build the project after making the changes to the CMakeLists.txt file?&lt;/p&gt;
&lt;p&gt;That worked for me, when adding a new file to the asset_tracker application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding my application specific files to the nrf9160aws_fota project.</title><link>https://devzone.nordicsemi.com/thread/227028?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2019 05:37:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1130780-57ec-42f2-80b1-5fe4b0a009f2</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;Thank you that did allow the build to work. However the dependencies (include files) don&amp;#39;t show up like they do for main.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding my application specific files to the nrf9160aws_fota project.</title><link>https://devzone.nordicsemi.com/thread/226548?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 12:04:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:511f0f78-f312-4c9b-89cb-a1d0a3bc26d3</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;You should be able to add additional include directories by adding the following function call to your CMakeLists.txt (which was taken from the asset_tracker):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Include application events and configuration headers
zephyr_library_include_directories(
  src/orientation_detector
  src/ui
  src/cloud_codec
  src/env_sensors
  src/light_sensor
  )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Remember that you have to load the project into SES again after doing changes to the CMakeLists.txt file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding my application specific files to the nrf9160aws_fota project.</title><link>https://devzone.nordicsemi.com/thread/226464?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 04:11:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe318283-6729-46b9-982e-9a9845ae8271</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I am using Segger Embedded Studio (SES)&lt;/p&gt;
&lt;p&gt;I am trying to add my own source and header files to the Project &amp;#39;app/libapp/a&amp;#39;&lt;/p&gt;
&lt;p&gt;I am able to add &amp;#39;c&amp;#39; files&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1576814973157v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I have also added include folders&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1576815009211v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But the project can&amp;#39;t find the header files included in those folders.&lt;/p&gt;
&lt;p&gt;You will see that there are no triangles next to aws_iot_ota_agent.c&lt;/p&gt;
&lt;p&gt;in the first screen capture above indicating that the header files were&lt;/p&gt;
&lt;p&gt;not found&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding my application specific files to the nrf9160aws_fota project.</title><link>https://devzone.nordicsemi.com/thread/225936?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2019 14:41:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d91e18f7-b979-487a-ab8b-9d766e4c5c31</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Do you use SES or something else?&lt;/p&gt;
&lt;p&gt;Do you try to add your own files, or use a part of the SDK?&lt;/p&gt;
&lt;p&gt;If you try to add a library that is part of the nRF Connect SDK, you usually need to enable some configuration options. To know what options you should set, you can either use menuconfig to search for options, or you can read the Kconfig and CMakeLists files directly.&lt;/p&gt;
&lt;p&gt;E.g., in ncs/nrf/subsys/net/lib/CMakeLists.txt we find the line&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;add_subdirectory_ifdef(CONFIG_AWS_FOTA aws_fota)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This tells us that to use the AWS FOTA library, we need to add CONFIG_AWS_FOTA=y to our prj.conf.&lt;/p&gt;
&lt;p&gt;Do you have any specific error messages you can share so that I can give more concrete examples?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>