<?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>Compiling the rest fota examples give me errors</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98653/compiling-the-rest-fota-examples-give-me-errors</link><description>Hey, 
 I was trying to compile the nordic example nrf_cloud_rest_fota with Debug optons enabled. It gives me the error that the &amp;quot;TF-M non-secure address start is not aligned on SPU region size&amp;quot;: 
 
 
 However, If I disable the Debug option it compiles</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Apr 2023 09:28:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98653/compiling-the-rest-fota-examples-give-me-errors" /><item><title>RE: Compiling the rest fota examples give me errors</title><link>https://devzone.nordicsemi.com/thread/422231?ContentTypeID=1</link><pubDate>Tue, 25 Apr 2023 09:28:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a86ddc5a-914b-4535-83fb-86ffab987b3f</guid><dc:creator>J0sh1101</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I followed the instructions on this website: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started/installing.html"&gt;developer.nordicsemi.com/.../installing.html&lt;/a&gt; which is basically the same as the one you showed in your snippet images. It does install the SDK, but I didn&amp;#39;t know how to install the toolchain. I then uninstalled it and reinstalled it using the toolchain manager and it worked.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;At the moment I have a compiled version that I can test and look at a bit.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks a lot for the help and wish you a nice day&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling the rest fota examples give me errors</title><link>https://devzone.nordicsemi.com/thread/421283?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 13:57:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81599e00-731a-46e7-8357-d9d6504c6792</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="J0sh1101"]I am using the SDK 3.0.0[/quote]
&lt;p&gt;I think it&amp;#39;s a typo. The latest version currently is v2.3.0. The bug exists in v2.3.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To install the latest &lt;span&gt;development&amp;nbsp;&lt;/span&gt;version, you have to install it manually.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3125.pastedimage1681910395214v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;After installing the main version, y&lt;span&gt;our directory structure now looks similar to this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ncs&lt;br /&gt;&amp;nbsp; | &lt;br /&gt;&amp;nbsp; main&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |___ .west&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ bootloader&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ modules&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ nrf&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ nrfxlib&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ zephyr&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ ... &lt;br /&gt;&amp;nbsp; v2.3.0&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ .west&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ bootloader&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ modules&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ nrf&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ nrfxlib&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ zephyr&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|___ ...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The toolchain manager would look like this&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5344.pastedimage1681912640927v2.png" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling the rest fota examples give me errors</title><link>https://devzone.nordicsemi.com/thread/421239?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 11:26:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a5a11c1-1097-466f-bf70-8c169d518288</guid><dc:creator>J0sh1101</dc:creator><description>&lt;p&gt;Hi, I am using the SDK 3.0.0 and in this SDK version I go the error mesage &amp;quot;&lt;span&gt;TF-M non-secure address start is not aligned on SPU region size&lt;/span&gt;&amp;quot; as posted in the first message. Do I need to downgrade my SDK or use the 2.2.9?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling the rest fota examples give me errors</title><link>https://devzone.nordicsemi.com/thread/421093?ContentTypeID=1</link><pubDate>Tue, 18 Apr 2023 15:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d85ead1-575a-4726-aca5-d1c9655d359a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The PR is merged. You can &lt;span&gt;the latest state of development&lt;/span&gt;. See&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started/installing.html#id11"&gt;Get the nRF Connect SDK code&lt;/a&gt;&amp;nbsp;to install the main version. Then, set the SDK to main version in the VS Code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1681912686486v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling the rest fota examples give me errors</title><link>https://devzone.nordicsemi.com/thread/420840?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 15:29:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0cb2673-cd3b-444c-b398-10b107b350ab</guid><dc:creator>J0sh1101</dc:creator><description>&lt;p&gt;How do I pull the fix from the repo from the VS Studio perspective? I don&amp;#39;t see any GIT interfaces where I can &amp;quot;patch&amp;quot; it. In the toolchain manager, I have the latest version of the nRF Connect SDK v2.3.0. I created the example not too long ago. I assume that I have the latest version, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling the rest fota examples give me errors</title><link>https://devzone.nordicsemi.com/thread/420800?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 13:45:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0ccd8e5-69aa-4c1f-8f81-c2d9c7db366f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is fixed by&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/10757" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/pull/10757&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling the rest fota examples give me errors</title><link>https://devzone.nordicsemi.com/thread/420792?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 13:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:660ceecc-b086-433a-8a55-a06d34e12441</guid><dc:creator>J0sh1101</dc:creator><description>&lt;p&gt;Hey, I am also receiving an Error to work with other FOTA applications. I tried to build full_modem_update, and the application_update. This is my build output:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Building full_modem_update
west build --build-dir c:\ncs_workspace\full_modem_update\build c:\ncs_workspace\full_modem_update --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION:STRING=&amp;quot;NONE&amp;quot; -DBOARD_ROOT:STRING=&amp;quot;c:/ncs_workspace/bme680;c:/ncs_workspace/mqtt_publisher;c:/ncs_workspace/SATELVL53L4CDA;c:/ncs_workspace/asset_tracker_v2;c:/ncs_workspace/mqtt;c:/ncs_workspace/blefund_less1_exer1;c:/ncs_workspace/blefund_less2_exer1;c:/ncs_workspace/blefund_less3_exer1;c:/ncs_workspace/blefund_less4_exer1;c:/ncs_workspace/blefund_less4_exer1_solution;c:/ncs_workspace/nrf_cloud_rest_fota;c:/ncs_workspace/blefund_less4_exer3;c:/ncs_workspace/full_modem_update&amp;quot;

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs_workspace/full_modem_update
-- Found Python3: C:/toolchains/v2.3.0/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/v2.3.0/zephyr/.cache
-- Zephyr version: 3.2.99 (C:/v2.3.0/zephyr)
-- Found west (found suitable version &amp;quot;0.14.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
-- Found host-tools: zephyr 0.15.2 (C:/toolchains/v2.3.0/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.15.2 (C:/toolchains/v2.3.0/opt/zephyr-sdk)
-- Found Dtc: C:/toolchains/v2.3.0/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: C:/v2.3.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
-- Found devicetree overlay: C:/ncs_workspace/full_modem_update/boards/nrf9160dk_nrf9160_ns.overlay
-- Generated zephyr.dts: C:/ncs_workspace/full_modem_update/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/ncs_workspace/full_modem_update/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/ncs_workspace/full_modem_update/build/zephyr/dts.cmake
Parsing C:/ncs_workspace/full_modem_update/Kconfig
Loaded configuration &amp;#39;C:/v2.3.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig&amp;#39;
Merged configuration &amp;#39;C:/ncs_workspace/full_modem_update/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs_workspace/full_modem_update/boards/nrf9160dk_nrf9160_ns.conf&amp;#39;
Configuration saved to &amp;#39;C:/ncs_workspace/full_modem_update/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/ncs_workspace/full_modem_update/build/zephyr/include/generated/autoconf.h&amp;#39;
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
CMake Warning at C:/v2.3.0/zephyr/CMakeLists.txt:1838 (message):
  __ASSERT() statements are globally ENABLED


Dropping partition &amp;#39;nrf_modem_lib_trace&amp;#39; since its size is 0.
Dropping partition &amp;#39;nonsecure_storage&amp;#39; since it is empty.
-- Configuring done
CMake Error at C:/v2.3.0/zephyr/cmake/modules/extensions.cmake:418 (add_library):
  Cannot find source file:

    ../common/src/update.c
Call Stack (most recent call first):
  C:/v2.3.0/zephyr/cmake/modules/kernel.cmake:209 (zephyr_library_named)
  C:/v2.3.0/zephyr/cmake/modules/zephyr_default.cmake:117 (include)
  C:/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:9 (find_package)


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
FATAL ERROR: command exited with status 1: &amp;#39;c:\toolchains\v2.3.0\opt\bin\cmake.EXE&amp;#39; &amp;#39;-DWEST_PYTHON=c:\toolchains\v2.3.0\opt\bin\python.exe&amp;#39; &amp;#39;-Bc:\ncs_workspace\full_modem_update\build&amp;#39; -GNinja -DBOARD=nrf9160dk_nrf9160_ns -DNCS_TOOLCHAIN_VERSION:STRING=NONE &amp;#39;-DBOARD_ROOT:STRING=c:/ncs_workspace/bme680;c:/ncs_workspace/mqtt_publisher;c:/ncs_workspace/SATELVL53L4CDA;c:/ncs_workspace/asset_tracker_v2;c:/ncs_workspace/mqtt;c:/ncs_workspace/blefund_less1_exer1;c:/ncs_workspace/blefund_less2_exer1;c:/ncs_workspace/blefund_less3_exer1;c:/ncs_workspace/blefund_less4_exer1;c:/ncs_workspace/blefund_less4_exer1_solution;c:/ncs_workspace/nrf_cloud_rest_fota;c:/ncs_workspace/blefund_less4_exer3;c:/ncs_workspace/full_modem_update&amp;#39; &amp;#39;-Sc:\ncs_workspace\full_modem_update&amp;#39;

 *  Der Terminalprozess wurde mit folgendem Exitcode beendet: 1. 
 *  Das Terminal wird von Aufgaben wiederverwendet, dr&amp;#252;cken Sie zum Schlie&amp;#223;en eine beliebige Taste. &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Did I forget to configure something?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Amanda, Thanks for the help!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling the rest fota examples give me errors</title><link>https://devzone.nordicsemi.com/thread/420053?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2023 20:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db322844-e1d1-4a2a-ad2e-baa71e342b4d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can reproduce the issue and have reported it to the team. I would be back if I get more information.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>