<?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>FOTA over Bluetooth Low Energy build error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112125/fota-over-bluetooth-low-energy-build-error</link><description>Hi 
 I use nRF7002-DK and sdk version as v2.5.2,download lesson8 exercise 3 solution and build was error as below log, which parts am I miss? 
 
 build config as below 
 
 Below error without include ovelay config 
 C:/ncs/v2.5.2/zephyr/drivers/flash</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Jun 2024 13:08:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112125/fota-over-bluetooth-low-energy-build-error" /><item><title>RE: FOTA over Bluetooth Low Energy build error</title><link>https://devzone.nordicsemi.com/thread/489762?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2024 13:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01b80e4b-a2ec-42d3-bdd8-654c7ae0d98f</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;External SPI/QSPI flash is typically required to provide enough intermediate storage for the FW update image. This is already included on the nRF7002-DK.&lt;br /&gt;&lt;/span&gt;I&amp;#39;m not entirely sure about BLE FOTA with the nRF7002DK, as I haven&amp;#39;t tested it yet. I can test it, but I&amp;#39;ll need some more time to do so.&lt;/p&gt;
[quote user="yithwe"]we remove the external flash chip form nrf7002-DK, isn&amp;#39;t need to add below flash config on child-image\mcuboot.overlay?[/quote]
&lt;p&gt;Could you please create a &amp;quot;boards&amp;quot; folder inside &amp;quot;child-image\mcuboot&amp;quot;? &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.6-branch/samples/matter/light_bulb/child_image/mcuboot/boards/nrf7002dk_nrf5340_cpuapp.overlay"&gt;Something like this&lt;/a&gt;. I suggest referring to the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.99-dev3/nrf/samples/matter/light_bulb/README.html#device-firmware-upgrade-support"&gt;Matter light bulb sample&lt;/a&gt; for enabling BLE FOTA on the nRF7002DK. You can examine the configurations used there and apply them to a non-Matter sample. I plan to provide a working sample for the nRF7002DK next week, as I&amp;#39;m currently occupied.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA over Bluetooth Low Energy build error</title><link>https://devzone.nordicsemi.com/thread/489492?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 11:28:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fd30c50-1d1f-451b-952d-766abb4d7001</guid><dc:creator>yithwe</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Abhijith&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I add the below config in proj.config file, also build error.I have another problem for nrf7002-DK, we remove the external flash chip form nrf7002-DK, isn&amp;#39;t need to add below flash config on child-image\mcuboot.overlay?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
	chosen {
		nordic,pm-ext-flash = &amp;amp;mx25r64;
	};
};&lt;/pre&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&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/pastedimage1718796161129v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:69:2: error: #error &amp;quot;No size specified. &amp;#39;size&amp;#39; or &amp;#39;size-in-bytes&amp;#39; must be set&amp;quot;
   69 | #error &amp;quot;No size specified. &amp;#39;size&amp;#39; or &amp;#39;size-in-bytes&amp;#39; must be set&amp;quot;
      |  ^~~~~
In file included from C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain.h:50,
                 from C:/ncs/v2.5.2/zephyr/include/zephyr/sys/time_units.h:10,
                 from C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util.h:615,
                 from C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:25,
                 from C:/ncs/v2.5.2/zephyr/include/zephyr/device.h:12,
                 from C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/flash.h:28,
                 from C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:10:
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: expected &amp;#39;)&amp;#39; before &amp;#39;DT_N_INST_0_nordic_qspi_nor_PATH&amp;#39;
  333 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                                        ^~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/gcc.h:81:60: note: in definition of macro &amp;#39;BUILD_ASSERT&amp;#39;
   81 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, &amp;quot;&amp;quot; MSG)
   C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:171:9: note: in expansion of macro &amp;#39;Z_PINCTRL_STATES_NAME&amp;#39;
  171 |         Z_PINCTRL_STATES_NAME(node_id)[] = {                                   \
      |         ^~~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:242:9: note: in expansion of macro &amp;#39;Z_PINCTRL_STATES_DEFINE&amp;#39;
  242 |         Z_PINCTRL_STATES_DEFINE(node_id)                                       \
      |         ^~~~~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1494:1: note: in expansion of macro &amp;#39;PINCTRL_DT_DEFINE&amp;#39;
 1494 | PINCTRL_DT_DEFINE(QSPI_NODE);
      | ^~~~~~~~~~~~~~~~~
[103/304] Linking C static library zephyr\libzephyr.a
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\ncs\ncs-inter\FOTA_BLE\build_1&amp;#39;
   &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Tina&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA over Bluetooth Low Energy build error</title><link>https://devzone.nordicsemi.com/thread/489459?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 09:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4316d015-4e8f-4838-8a24-f449c306a8c4</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Apologies for the delayed response. I reviewed the developer academy sample and noticed that it needs modification for the nRF7002dk.&lt;/p&gt;
&lt;p&gt;Please refer to the sample shared by my colleague &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/108203/issues-with-building-mcuboot-for-nrf7002dk-using-ncs-v2-5-2"&gt;in this thread&lt;/a&gt;, which is specifically made for the nRF7002dk. You can use this sample as a reference for enabling BLE OTA DFU.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA over Bluetooth Low Energy build error</title><link>https://devzone.nordicsemi.com/thread/489068?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 11:13:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f011e962-1489-4b01-92c3-88fca755eae5</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I wanted to let you know that I have been assigned to this case and have started looking into it.&lt;/p&gt;
&lt;p&gt;I will get back to you soon.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>