<?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>BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110393/ble-ota-dfu-using-external-flash</link><description>I&amp;#39;m using the NCS 2.5.2 sdk and nrf 5340 with 7002, and I want to do BLE OTA DFU using external flash. 
 I&amp;#39;ve found this guide Add DFU support to your application - Software - nRF Connect SDK guides - Nordic DevZone (nordicsemi.com) , and successfully</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Jul 2024 07:41:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110393/ble-ota-dfu-using-external-flash" /><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/496347?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 07:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fa47116-0c8e-4124-86f6-c6ab2c31fbaa</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you know which configurations you enabled?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sometimes I got nothing on the rtt viewer is because of there are some errors(may not be related to rtt) when running the application. RTT log works fine&amp;nbsp;after I&amp;nbsp;fix the errors.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/496158?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 09:11:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c2a6eb9-643e-4cdf-9390-55101ceab195</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Hi Allenyang&lt;br /&gt;I am using a module MS12SF1 (nrf5340 + nrf7002). I was also trying fota over ble using nrf7002dk_nrf5340_cpuapp_ns or&amp;nbsp;&lt;span&gt;nrf7002dk_nrf5340_cpuapp build configurations but as soon as I enabled the configurations related to dfu and flash the code I get nothing on the rtt viewer and also device stops advertising&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2548.peripheral_5F00_uart.zip"&gt;devzone.nordicsemi.com/.../2548.peripheral_5F00_uart.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is the code I was working on&lt;br /&gt;It would be great if u can help me on this&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/484814?ContentTypeID=1</link><pubDate>Fri, 17 May 2024 10:05:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c0bde91-8eb5-4c0e-bead-457cbcab0a55</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;quot;Do you ever give back that semaphore?&amp;quot;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Maybe not.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, I&amp;#39;ve resolved the partition problem, so n&lt;/span&gt;&lt;span&gt;ow&amp;nbsp;everything&amp;nbsp;works fine.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last time I only set the mcuboot secondary partition, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but the mcuboot primary also must be set to the pm_static.yml,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;because mcuboot primary and&amp;nbsp;mcuboot secondary must be partition to the same size.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for the help for a long time.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Allen&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/484675?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 12:06:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da13a570-fc23-40e8-ab72-0cbaedb96515</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="allenyang"]&lt;p&gt; the problem above is resolved when I commented out this line&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;quot;k_sem_take(&amp;amp;ble_init_ok, K_FOREVER);&amp;quot; in my application.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Do you ever give back that semaphore?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/484637?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 09:36:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f5ed616-a7ab-483e-8aca-e6fb30e041d9</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi, the problem above is resolved when I commented out this line&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;quot;k_sem_take(&amp;amp;ble_init_ok, K_FOREVER);&amp;quot; in my application.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I think the ota program is locked by semaphore.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;so it is be sure to ota successfully(it is dynamic partition, without pm_static.yml),&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;but when I add the pm_static.yml, the OTA&amp;nbsp; App&amp;nbsp;always states &amp;quot;There is no free slot to place the image.&amp;quot;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;and I&amp;#39;ve checked the partition.yml, it&amp;#39;s changed correctly what I added the pm_static.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I&amp;#39;m not sure whether the use of partition is correct.&lt;/div&gt;
&lt;div&gt;(external flash total size is 0x400000)&amp;nbsp;&lt;/div&gt;
&lt;div&gt;partition.yml&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;EMPTY_0:
  address: 0xfe000
  end_address: 0x100000
  placement:
    after:
    - settings_storage
  region: flash_primary
  size: 0x2000
app:
  address: 0x10200
  end_address: 0xfc000
  region: flash_primary
  size: 0xebe00
external_flash:
  address: 0x400000
  end_address: 0x400000
  region: external_flash
  size: 0x0
mcuboot:
  address: 0x0
  end_address: 0x10000
  placement:
    before:
    - mcuboot_primary
  region: flash_primary
  size: 0x10000
mcuboot_pad:
  address: 0x10000
  end_address: 0x10200
  placement:
    align:
      start: 0x4000
    before:
    - mcuboot_primary_app
  region: flash_primary
  size: 0x200
mcuboot_primary:
  address: 0x10000
  end_address: 0xfc000
  orig_span: &amp;amp;id001
  - mcuboot_pad
  - app
  region: flash_primary
  size: 0xec000
  span: *id001
mcuboot_primary_1:
  address: 0x0
  device: nordic_ram_flash_controller
  end_address: 0x40000
  region: ram_flash
  size: 0x40000
mcuboot_primary_app:
  address: 0x10200
  end_address: 0xfc000
  orig_span: &amp;amp;id002
  - app
  region: flash_primary
  size: 0xebe00
  span: *id002
mcuboot_secondary:
  address: 0x310000
  device: DT_CHOSEN(nordic_pm_ext_flash)
  end_address: 0x3c0000
  placement:
    align:
      start: 0x4
  region: external_flash
  share_size:
  - mcuboot_primary
  size: 0xb0000
mcuboot_secondary_1:
  address: 0x3c0000
  device: DT_CHOSEN(nordic_pm_ext_flash)
  end_address: 0x400000
  region: external_flash
  size: 0x40000
otp:
  address: 0xff8100
  end_address: 0xff83fc
  region: otp
  size: 0x2fc
pcd_sram:
  address: 0x20000000
  end_address: 0x20002000
  placement:
    after:
    - start
  region: sram_primary
  size: 0x2000
ram_flash:
  address: 0x40000
  end_address: 0x40000
  region: ram_flash
  size: 0x0
reserved_custom_partition:
  address: 0x0
  end_address: 0x310000
  region: external_flash
  size: 0x310000
rpmsg_nrf53_sram:
  address: 0x20070000
  end_address: 0x20080000
  placement:
    before:
    - end
  region: sram_primary
  size: 0x10000
settings_storage:
  address: 0xfc000
  end_address: 0xfe000
  placement:
    align:
      start: 0x4000
    before:
    - end
  region: flash_primary
  size: 0x2000
sram_primary:
  address: 0x20002000
  end_address: 0x20070000
  region: sram_primary
  size: 0x6e000
&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;and I&amp;#39;ve checked the Nrf Logger App when it&amp;nbsp;&lt;span&gt;states &amp;quot;There is no free slot to place the image&amp;quot; came out&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&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/unnamed-_2800_9_2900_.jpg" /&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/unnamed-_2800_8_2900_.jpg" /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/483450?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 09:44:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:274b0ac9-660c-43f1-be88-c47e1abd843d</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;I have new observations.&lt;/p&gt;
&lt;p&gt;After the application flash to the board, do the first build of the image and do ota to the board, it always run normally on Device Manager App and it states Upload Complete but it&amp;#39;s still a old app. And use the same file to OTA again,&amp;nbsp;&lt;span&gt;it still states Upload Complete but it still get nothing change.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;After that, when do the second or third ...build of the image, and do ota, it&amp;nbsp; will state &lt;span&gt;&amp;quot;There is no free slot to place the image.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seems it has something wrong when doing first OTA.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;If you enable advanced settings in the Device Manager App, you can use an &amp;quot;image list&amp;quot; command. What does that show when you still load the old app?&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/unnamed-_2800_7_2900_.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;Could you use the nRF Logger app to see what more logs come before this error?&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does it have an IOS version?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/483400?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 07:28:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94d74441-0f33-4e6e-8a08-e95f40b1becc</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="allenyang"]and sometimes the state said &amp;quot;There is no free slot to place the image.&amp;quot;[/quote]
&lt;p&gt;Could you use the nRF Logger app to see what more logs come before this error?&lt;/p&gt;
[quote user="allenyang"]&lt;span&gt;it sometimes uploaded completely but when I checked the log it&amp;#39;s still old application.&lt;/span&gt;[/quote]
&lt;p&gt;If you enable advanced settings in the Device Manager App, you can use an &amp;quot;image list&amp;quot; command. What does that show when you still load the old app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/483372?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 03:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b42e7c6-472c-4a23-b2a8-6b4e168bbc04</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;&amp;quot;&lt;span&gt;Can you test&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous"&gt;this sample&lt;/a&gt;&lt;span&gt;&amp;nbsp;for the nRF5340DK and see if that works?&lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Yes, it works and can see the change after ota.&lt;/p&gt;
&lt;p&gt;I think I know what&amp;#39;s the problem, last time I said it is failed and stuck in&amp;nbsp; &amp;quot;&lt;span&gt;sending the request failed&amp;quot;, the reason is I&amp;#39;m doing spi transmit simultaneously in&amp;nbsp;my application , so&amp;nbsp;&lt;/span&gt;&lt;span&gt;I commented out the line,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but after this, it has other problems, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;it sometimes uploaded completely but when I checked the log it&amp;#39;s still old application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and sometimes the state said &amp;quot;There is no free slot to place the image.&amp;quot;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/unnamed-_2800_6_2900_.jpg" /&gt;&amp;quot;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/483039?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 12:27:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caa79323-4d6f-4c45-863a-0de7688fd9f3</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hmm,&lt;/p&gt;
&lt;p&gt;Let us take a step back then:&lt;br /&gt;Can you test &lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous"&gt;this sample&lt;/a&gt; for the nRF5340DK and see if that works?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482961?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 08:28:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f62dd676-0f57-4b28-a736-7a544f812489</guid><dc:creator>allenyang</dc:creator><description>&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I&amp;#39;ve added this line in the code,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &amp;quot;&lt;/span&gt;&lt;span&gt;printk&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;build time: &amp;quot;&lt;/span&gt;&lt;span&gt; __DATE__ &lt;/span&gt;&lt;span&gt;&amp;quot; &amp;quot;&lt;/span&gt;&lt;span&gt; __TIME__ &lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;\n&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;)&amp;quot; to check the build time.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; and add&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;quot;printk(&amp;quot;test\n&amp;quot;)&amp;quot; to make the differences easy to see.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482945?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 07:45:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26559fa5-c379-484b-a1c2-bdbe681fcd7a</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;What were the differences in your app between the old and new firmware?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482748?ContentTypeID=1</link><pubDate>Fri, 10 May 2024 09:13:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed08231a-741f-4ccc-a9ab-43ce7cbf2742</guid><dc:creator>allenyang</dc:creator><description>&lt;p style="text-align:center;"&gt;No, the state always stuck in&amp;nbsp; &amp;ldquo;sending the request failed.&amp;rdquo; after &amp;ldquo;uploading&amp;rdquo; state.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;And after this, I,ve rebooted the board, and checked the log,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;but it&amp;rsquo;s still the old application, it didn&amp;rsquo;t Ota successfully.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482729?ContentTypeID=1</link><pubDate>Fri, 10 May 2024 07:44:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:084cb5ed-1e74-4940-a3bb-7d28ed24cec8</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;That error may not be as bad as it seems. The nRF5340 has a &amp;quot;simulated&amp;quot; netcore partition.&lt;br /&gt;In short, it may cause the &amp;quot;list&amp;quot; command to return an error, but it should not have other consequences.&lt;/p&gt;
&lt;p&gt;Does the rest of OTA work as expected, if you ignore this error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482619?ContentTypeID=1</link><pubDate>Thu, 09 May 2024 02:17:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfaeed5f-a920-4d80-ad32-ff73fd240b62</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi, thanks, when I set like this in pm_static.yml, it does change in partition.yaml,&lt;/p&gt;
&lt;p&gt;but it has another problem when doing ota&lt;/p&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/unnamed-_2800_4_2900_.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and it has the error message on rtt viewer,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;quot;&amp;lt;err&amp;gt; mcumgr_img_grp: Failed to open flash area ID 1: -2&amp;quot;&lt;/p&gt;
&lt;p&gt;It seems it can&amp;#39;t open external flash correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482439?ContentTypeID=1</link><pubDate>Wed, 08 May 2024 07:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10b25fa9-c2a4-4b32-8cee-0e59d773b805</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;In that case, you can create a pm_static.yml for only the partitions you want to touch.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;mcuboot_secondary:
  address: 0x0
  end_address: 0xf4000
  region: external_flash
  size: 0xf4000

reserved_custom_partition:
  address: 0xf4000
  end_address: 0x104000
  region: external_flash
  size: 0x10000
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482398?ContentTypeID=1</link><pubDate>Wed, 08 May 2024 02:02:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8b7fdad-ffe3-43dc-8be9-ed2da1bc59e5</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Yes, I mean I only want to set address for mcuboot secondary, but reserve the other space of external flash. To make sure the other file in external flash not affected by this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482241?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 10:38:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:369e5a08-f446-40fc-9d5c-c0cb74bab42b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="allenyang"]&lt;p&gt;so I need to create a pm_static.yml (copied from partition.yaml in the build folder) in the project(create outside the build folder), and set&amp;nbsp;&lt;span&gt;mcuboot_secondary start&amp;nbsp;&lt;/span&gt;&lt;span&gt;address to&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;0x310000?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and I don&amp;#39;t want other partitions of external flash, can I just delete it or just set size to 0?&lt;/p&gt;[/quote]
&lt;p&gt;Do you mean that you want to create a custom partition?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482223?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 09:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a572897f-1642-4557-9ee6-b7f73be21f7e</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;&amp;quot;&lt;span&gt;Instead of using CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU you should do set the configurations this config does instead.&lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;After doing that,&lt;/p&gt;
&lt;p&gt;it really build successfully this time.&lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And I want to ask some questions about partition manager,&lt;/p&gt;
&lt;p&gt;In our external flash, it has some image file&amp;nbsp;from 0x0 to 0x310000,&lt;/p&gt;
&lt;p&gt;so I need to create a pm_static.yml (copied from partition.yaml in the build folder) in the project(create outside the build folder), and set&amp;nbsp;&lt;span&gt;mcuboot_secondary start&amp;nbsp;&lt;/span&gt;&lt;span&gt;address to&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;0x310000?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and I don&amp;#39;t want other partitions of external flash, can I just delete it or just set size to 0?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;app:
  address: 0x10200
  end_address: 0x100000
  region: flash_primary
  size: 0xefe00
external_flash:
  address: 0x400000
  end_address: 0x400000
  region: external_flash
  size: 0x0
mcuboot:
  address: 0x0
  end_address: 0x10000
  placement:
    before:
    - mcuboot_primary
  region: flash_primary
  size: 0x10000
mcuboot_pad:
  address: 0x10000
  end_address: 0x10200
  placement:
    align:
      start: 0x4000
    before:
    - mcuboot_primary_app
  region: flash_primary
  size: 0x200
mcuboot_primary:
  address: 0x10000
  end_address: 0x100000
  orig_span: &amp;amp;id001
  - app
  - mcuboot_pad
  region: flash_primary
  size: 0xf0000
  span: *id001
mcuboot_primary_app:
  address: 0x10200
  end_address: 0x100000
  orig_span: &amp;amp;id002
  - app
  region: flash_primary
  size: 0xefe00
  span: *id002
mcuboot_secondary:
  address: 0x310000
  device: DT_CHOSEN(nordic_pm_ext_flash)
  end_address: 0x400000
  placement:
    align:
      start: 0x4
  region: external_flash
  share_size:
  - mcuboot_primary
  size: 0xf0000
otp:
  address: 0xff8100
  end_address: 0xff83fc
  region: otp
  size: 0x2fc
pcd_sram:
  address: 0x20000000
  end_address: 0x20002000
  placement:
    after:
    - start
  region: sram_primary
  size: 0x2000
rpmsg_nrf53_sram:
  address: 0x20070000
  end_address: 0x20080000
  placement:
    before:
    - end
  region: sram_primary
  size: 0x10000
sram_primary:
  address: 0x20002000
  end_address: 0x20070000
  region: sram_primary
  size: 0x6e000
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;pm_static.yml&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;app:
  address: 0x10200
  end_address: 0x100000
  region: flash_primary
  size: 0xefe00
external_flash:
  address: 0xf0000
  end_address: 0x400000
  region: external_flash
  size: 0x310000
mcuboot:
  address: 0x0
  end_address: 0x10000
  placement:
    before:
    - mcuboot_primary
  region: flash_primary
  size: 0x10000
mcuboot_pad:
  address: 0x10000
  end_address: 0x10200
  placement:
    align:
      start: 0x4000
    before:
    - mcuboot_primary_app
  region: flash_primary
  size: 0x200
mcuboot_primary:
  address: 0x10000
  end_address: 0x100000
  orig_span: &amp;amp;id001
  - app
  - mcuboot_pad
  region: flash_primary
  size: 0xf0000
  span: *id001
mcuboot_primary_app:
  address: 0x10200
  end_address: 0x100000
  orig_span: &amp;amp;id002
  - app
  region: flash_primary
  size: 0xefe00
  span: *id002
mcuboot_secondary:
  address: 0x0
  device: DT_CHOSEN(nordic_pm_ext_flash)
  end_address: 0xf0000
  placement:
    align:
      start: 0x4
  region: external_flash
  share_size:
  - mcuboot_primary
  size: 0xf0000
otp:
  address: 0xff8100
  end_address: 0xff83fc
  region: otp
  size: 0x2fc
pcd_sram:
  address: 0x20000000
  end_address: 0x20002000
  placement:
    after:
    - start
  region: sram_primary
  size: 0x2000
rpmsg_nrf53_sram:
  address: 0x20070000
  end_address: 0x20080000
  placement:
    before:
    - end
  region: sram_primary
  size: 0x10000
sram_primary:
  address: 0x20002000
  end_address: 0x20070000
  region: sram_primary
  size: 0x6e000
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;partitiom.yaml&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482210?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 08:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44cf8bcc-e12f-4d27-9bef-68f6350bc217</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Ah right, it is a &amp;quot;feature&amp;quot; we have with &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU"&gt;CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This assumes that you use QSPI, and forces that.&lt;/p&gt;
&lt;p&gt;Instead of using CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU you should do set the configurations this config does instead.&lt;/p&gt;
&lt;p&gt;Then after that, I suggest that you re-check &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/configuring_app/kconfig/index.html#override-kconfig-warnings"&gt;Kconfig override warnings&lt;/a&gt;, cause it looks like you will have some of those.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482204?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 08:29:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3418498a-23e7-407d-840c-8726fd558395</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;ve seen the article, so I had added the line &amp;quot;&lt;span&gt;CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK&amp;quot; to both prj.conf and mcuboot.conf,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; but it still has same error.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482197?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 08:09:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:005b61b2-64ea-4e2d-9287-7cdf513a5acf</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;It looks good to me.&lt;/p&gt;
&lt;p&gt;From &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#external-flash-memory-partitions"&gt;External flash memory partitions&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&amp;quot;f the external flash device is not using the QSPI NOR driver, you must enable CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK to override the Partition Manager’s external flash driver check, and the required driver must also be enabled for all applications that need it.&amp;quot;&lt;/p&gt;
&lt;p&gt;Try to set that configuration, I suspect that should do it.&lt;/p&gt;
&lt;p&gt;I realized this as your log was complaining about QSPI drivers were missing, and this would explain why it tried to access QSPI flash while you have SPI flash in the DTS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482192?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 08:04:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39834242-b4b0-4930-b259-cb91ff29a98d</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Yes, I had set it.&lt;/p&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/7587.Untitled4.png" /&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/Untitled5.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is it wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/482051?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 13:15:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45fdeeb7-8b59-4e39-93a4-7226149b7bd1</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="allenyang"]&lt;p&gt;&lt;span&gt;and config_spi_nor has some problem,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;is it the reason of the error?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Have you set up external flash in DTS?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/481960?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 09:46:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7288b2b4-d1d5-4485-841f-1bba20773533</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;now I know what&amp;#39;s the problem.&lt;/p&gt;
&lt;p&gt;when only add config_bt, it said missing dependencies config_bt_peripheral, so it didn&amp;#39;t add config_bt_ota then build success.&lt;/p&gt;
&lt;p&gt;but when add&amp;nbsp;&lt;span&gt;config_bt_ota successfully, then build error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;so why the errors occur?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;12/296] Generating include/generated/version.h
-- Zephyr version: 3.4.99 (C:/ncs/v2.5.2/zephyr), build: 4b5ef270413a
[84/296] Building C object CMakeFiles/app.dir/src/main.c.obj
../src/main.c:23:1: warning: multi-line comment [-Wcomment]
   23 | // #define advertising_parameter BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONNECTABLE | \
      | ^
[97/296] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/nrf_qspi_nor.c.obj
FAILED: zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/nrf_qspi_nor.c.obj 
C:\ncs\toolchains\c57af46cb7\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPICOLIBC_INTEGER_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -IC:/ncs/v2.5.2/zephyr/include -Izephyr/include/generated -IC:/ncs/v2.5.2/zephyr/soc/arm/nordic_nrf/nrf53 -IC:/ncs/v2.5.2/zephyr/soc/arm/nordic_nrf/common/. -IC:/ncs/v2.5.2/zephyr/subsys/mgmt/mcumgr/util/include -IC:/ncs/v2.5.2/bootloader/mcuboot/boot/bootutil/include -IC:/ncs/v2.5.2/zephyr/subsys/mgmt/mcumgr/transport/include -IC:/ncs/v2.5.2/bootloader/mcuboot/boot/zephyr/include -IC:/ncs/v2.5.2/zephyr/subsys/bluetooth -IC:/ncs/v2.5.2/nrf/include -IC:/ncs/v2.5.2/nrf/tests/include -IC:/ncs/v2.5.2/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.5.2/zephyr/modules/cmsis/. -IC:/ncs/v2.5.2/modules/hal/nordic/nrfx -IC:/ncs/v2.5.2/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.5.2/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.5.2/zephyr/modules/hal_nordic/nrfx/. -Imodules/libmetal/libmetal/lib/include -IC:/ncs/v2.5.2/modules/lib/open-amp/open-amp/lib/include -IC:/ncs/v2.5.2/modules/debug/segger/SEGGER -IC:/ncs/v2.5.2/modules/debug/segger/Config -IC:/ncs/v2.5.2/modules/crypto/tinycrypt/lib/include -IC:/ncs/v2.5.2/modules/lib/zcbor/include -IC:/ncs/v2.5.2/nrfxlib/softdevice_controller/include -isystem C:/ncs/v2.5.2/nrfxlib/crypto/nrf_cc312_platform/include -Wshadow -fno-strict-aliasing -Os -imacros C:/nordic20240328/hello_world_1/build_8/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/nordic20240328/hello_world_1=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.5.2/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.5.2=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/nrf_qspi_nor.c.obj -MF zephyr\drivers\flash\CMakeFiles\drivers__flash.dir\nrf_qspi_nor.c.obj.d -o zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/nrf_qspi_nor.c.obj -c C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c
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/devicetree.h:495:31: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  495 | #define DT_NODE_PATH(node_id) DT_CAT(node_id, _PATH)
      |                               ^~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:73:22: note: in expansion of macro &amp;#39;DT_NODE_PATH&amp;#39;
   73 |              &amp;quot;Node &amp;quot; DT_NODE_PATH(DT_DRV_INST(0)) &amp;quot; has both size and size-in-bytes &amp;quot;
      |                      ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:73:35: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
   73 |              &amp;quot;Node &amp;quot; DT_NODE_PATH(DT_DRV_INST(0)) &amp;quot; has both size and size-in-bytes &amp;quot;
      |                                   ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/gcc.h:81:50: note: to match this &amp;#39;(&amp;#39;
   81 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, &amp;quot;&amp;quot; MSG)
      |                                                  ^
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:72:1: note: in expansion of macro &amp;#39;BUILD_ASSERT&amp;#39;
   72 | BUILD_ASSERT(!(DT_INST_NODE_HAS_PROP(0, size_in_bytes) &amp;amp;&amp;amp; DT_INST_NODE_HAS_PROP(0, size)),
      | ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: &amp;#39;DT_N_INST_0_nordic_qspi_nor_P_sck_frequency&amp;#39; undeclared here (not in a function)
  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:51: 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/devicetree.h:614:32: note: in expansion of macro &amp;#39;DT_CAT3&amp;#39;
  614 | #define DT_PROP(node_id, prop) DT_CAT3(node_id, _P_, prop)
      |                                ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:34: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                  ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:42: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                          ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:77:30: note: in expansion of macro &amp;#39;DT_INST_PROP&amp;#39;
   77 | #define INST_0_SCK_FREQUENCY DT_INST_PROP(0, sck_frequency)
      |                              ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:82:14: note: in expansion of macro &amp;#39;INST_0_SCK_FREQUENCY&amp;#39;
   82 | BUILD_ASSERT(INST_0_SCK_FREQUENCY &amp;gt;= (NRF_QSPI_BASE_CLOCK_FREQ / 16),
      |              ^~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: expression in static assertion is not an integer
  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:51: 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/devicetree.h:614:32: note: in expansion of macro &amp;#39;DT_CAT3&amp;#39;
  614 | #define DT_PROP(node_id, prop) DT_CAT3(node_id, _P_, prop)
      |                                ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:34: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                  ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:42: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                          ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:77:30: note: in expansion of macro &amp;#39;DT_INST_PROP&amp;#39;
   77 | #define INST_0_SCK_FREQUENCY DT_INST_PROP(0, sck_frequency)
      |                              ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:82:14: note: in expansion of macro &amp;#39;INST_0_SCK_FREQUENCY&amp;#39;
   82 | BUILD_ASSERT(INST_0_SCK_FREQUENCY &amp;gt;= (NRF_QSPI_BASE_CLOCK_FREQ / 16),
      |              ^~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: &amp;#39;DT_N_INST_0_nordic_qspi_nor_P_cpol&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_INST_0_nordic_mbox_nrf_ipc&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:51: 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/devicetree.h:614:32: note: in expansion of macro &amp;#39;DT_CAT3&amp;#39;
  614 | #define DT_PROP(node_id, prop) DT_CAT3(node_id, _P_, prop)
      |                                ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:34: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                  ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:42: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                          ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:136:14: note: in expansion of macro &amp;#39;DT_INST_PROP&amp;#39;
  136 | BUILD_ASSERT(DT_INST_PROP(0, cpol) == DT_INST_PROP(0, cpha),
      |              ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: &amp;#39;DT_N_INST_0_nordic_qspi_nor_P_cpha&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_INST_0_nordic_mbox_nrf_ipc&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:51: 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/devicetree.h:614:32: note: in expansion of macro &amp;#39;DT_CAT3&amp;#39;
  614 | #define DT_PROP(node_id, prop) DT_CAT3(node_id, _P_, prop)
      |                                ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:34: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                  ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:42: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                          ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:136:39: note: in expansion of macro &amp;#39;DT_INST_PROP&amp;#39;
  136 | BUILD_ASSERT(DT_INST_PROP(0, cpol) == DT_INST_PROP(0, cpha),
      |                                       ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: expression in static assertion is not an integer
  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:51: 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/devicetree.h:614:32: note: in expansion of macro &amp;#39;DT_CAT3&amp;#39;
  614 | #define DT_PROP(node_id, prop) DT_CAT3(node_id, _P_, prop)
      |                                ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:34: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                  ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:42: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                          ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:136:14: note: in expansion of macro &amp;#39;DT_INST_PROP&amp;#39;
  136 | BUILD_ASSERT(DT_INST_PROP(0, cpol) == DT_INST_PROP(0, cpha),
      |              ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:144:28: error: &amp;#39;JESD216_DW15_QER_VAL_DT_N_INST_0_nordic_qspi_nor_P_quad_enable_requirements_STRING_TOKEN&amp;#39; undeclared here (not in a function)
  144 | #define INST_0_QER _CONCAT(JESD216_DW15_QER_VAL_, \
      |                            ^~~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/gcc.h:81:51: 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/drivers/flash/nrf_qspi_nor.c:160:15: note: in expansion of macro &amp;#39;IS_EQUAL&amp;#39;
  160 | BUILD_ASSERT((IS_EQUAL(INST_0_QER, JESD216_DW15_QER_VAL_NONE)
      |               ^~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/common.h:133:23: note: in expansion of macro &amp;#39;_DO_CONCAT&amp;#39;
  133 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
      |                       ^~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:144:20: note: in expansion of macro &amp;#39;_CONCAT&amp;#39;
  144 | #define INST_0_QER _CONCAT(JESD216_DW15_QER_VAL_, \
      |                    ^~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:160:24: note: in expansion of macro &amp;#39;INST_0_QER&amp;#39;
  160 | BUILD_ASSERT((IS_EQUAL(INST_0_QER, JESD216_DW15_QER_VAL_NONE)
      |                        ^~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:160:14: error: expression in static assertion is not an integer
  160 | BUILD_ASSERT((IS_EQUAL(INST_0_QER, JESD216_DW15_QER_VAL_NONE)
      |              ^
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/gcc.h:81:51: 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/drivers/flash/nrf_qspi_nor.c: In function &amp;#39;qspi_nor_init&amp;#39;:
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: &amp;#39;DT_N_INST_0_nordic_qspi_nor_BUS_IRQ_IDX_0_VAL_priority&amp;#39; undeclared (first use in this function)
  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:51: 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/arch/arm/aarch32/irq.h:128:9: note: in expansion of macro &amp;#39;_CHECK_PRIO&amp;#39;
  128 |         _CHECK_PRIO(priority_p, flags_p) \
      |         ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/irq.h:49:9: note: in expansion of macro &amp;#39;ARCH_IRQ_CONNECT&amp;#39;
   49 |         ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
      |         ^~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1242:9: note: in expansion of macro &amp;#39;IRQ_CONNECT&amp;#39;
 1242 |         IRQ_CONNECT(DT_IRQN(QSPI_NODE), DT_IRQ(QSPI_NODE, priority),
      |         ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:2383:9: note: in expansion of macro &amp;#39;DT_CAT5&amp;#39;
 2383 |         DT_CAT5(node_id, _IRQ_IDX_, idx, _VAL_, cell)
      |         ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:2410:31: note: in expansion of macro &amp;#39;DT_IRQ_BY_IDX&amp;#39;
 2410 | #define DT_IRQ(node_id, cell) DT_IRQ_BY_IDX(node_id, 0, cell)
      |                               ^~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1242:41: note: in expansion of macro &amp;#39;DT_IRQ&amp;#39;
 1242 |         IRQ_CONNECT(DT_IRQN(QSPI_NODE), DT_IRQ(QSPI_NODE, priority),
      |                                         ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3190:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 3190 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3836:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3836 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3836:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3836 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:140:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  140 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1242:48: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
 1242 |         IRQ_CONNECT(DT_IRQN(QSPI_NODE), DT_IRQ(QSPI_NODE, priority),
      |                                                ^~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: note: each undeclared identifier is reported only once for each function it appears in
  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:51: 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/arch/arm/aarch32/irq.h:128:9: note: in expansion of macro &amp;#39;_CHECK_PRIO&amp;#39;
  128 |         _CHECK_PRIO(priority_p, flags_p) \
      |         ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/irq.h:49:9: note: in expansion of macro &amp;#39;ARCH_IRQ_CONNECT&amp;#39;
   49 |         ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
      |         ^~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1242:9: note: in expansion of macro &amp;#39;IRQ_CONNECT&amp;#39;
 1242 |         IRQ_CONNECT(DT_IRQN(QSPI_NODE), DT_IRQ(QSPI_NODE, priority),
      |         ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:2383:9: note: in expansion of macro &amp;#39;DT_CAT5&amp;#39;
 2383 |         DT_CAT5(node_id, _IRQ_IDX_, idx, _VAL_, cell)
      |         ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:2410:31: note: in expansion of macro &amp;#39;DT_IRQ_BY_IDX&amp;#39;
 2410 | #define DT_IRQ(node_id, cell) DT_IRQ_BY_IDX(node_id, 0, cell)
      |                               ^~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1242:41: note: in expansion of macro &amp;#39;DT_IRQ&amp;#39;
 1242 |         IRQ_CONNECT(DT_IRQN(QSPI_NODE), DT_IRQ(QSPI_NODE, priority),
      |                                         ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3190:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 3190 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3836:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3836 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3836:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3836 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:140:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  140 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1242:48: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
 1242 |         IRQ_CONNECT(DT_IRQN(QSPI_NODE), DT_IRQ(QSPI_NODE, priority),
      |                                                ^~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/arch/arm/aarch32/irq.h:105:22: error: expression in static assertion is not an integer
  105 |         BUILD_ASSERT(((flags_p &amp;amp; IRQ_ZERO_LATENCY) &amp;amp;&amp;amp; \
      |                      ^
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/gcc.h:81:51: 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/arch/arm/aarch32/irq.h:128:9: note: in expansion of macro &amp;#39;_CHECK_PRIO&amp;#39;
  128 |         _CHECK_PRIO(priority_p, flags_p) \
      |         ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/irq.h:49:9: note: in expansion of macro &amp;#39;ARCH_IRQ_CONNECT&amp;#39;
   49 |         ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
      |         ^~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1242:9: note: in expansion of macro &amp;#39;IRQ_CONNECT&amp;#39;
 1242 |         IRQ_CONNECT(DT_IRQN(QSPI_NODE), DT_IRQ(QSPI_NODE, priority),
      |         ^~~~~~~~~~~
In file included from C:/ncs/v2.5.2/zephyr/include/zephyr/arch/arm/aarch32/irq.h:19,
                 from C:/ncs/v2.5.2/zephyr/include/zephyr/arch/arm/aarch32/arch.h:27,
                 from C:/ncs/v2.5.2/zephyr/include/zephyr/arch/cpu.h:19,
                 from C:/ncs/v2.5.2/zephyr/include/zephyr/kernel_includes.h:33,
                 from C:/ncs/v2.5.2/zephyr/include/zephyr/kernel.h:17,
                 from C:/ncs/v2.5.2/zephyr/include/zephyr/pm/device.h:11,
                 from C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:12:
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: &amp;#39;DT_N_INST_0_nordic_qspi_nor_BUS_IRQ_IDX_0_VAL_irq&amp;#39; undeclared (first use in this function)
  333 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                                        ^~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sw_isr_table.h:77:26: note: in definition of macro &amp;#39;Z_ISR_DECLARE&amp;#39;
   77 |                         {irq, flags, (void *)&amp;amp;func, (const void *)param}
      |                          ^~~
C:/ncs/v2.5.2/zephyr/include/zephyr/irq.h:49:9: note: in expansion of macro &amp;#39;ARCH_IRQ_CONNECT&amp;#39;
   49 |         ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
      |         ^~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1242:9: note: in expansion of macro &amp;#39;IRQ_CONNECT&amp;#39;
 1242 |         IRQ_CONNECT(DT_IRQN(QSPI_NODE), DT_IRQ(QSPI_NODE, priority),
      |         ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:2383:9: note: in expansion of macro &amp;#39;DT_CAT5&amp;#39;
 2383 |         DT_CAT5(node_id, _IRQ_IDX_, idx, _VAL_, cell)
      |         ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:2410:31: note: in expansion of macro &amp;#39;DT_IRQ_BY_IDX&amp;#39;
 2410 | #define DT_IRQ(node_id, cell) DT_IRQ_BY_IDX(node_id, 0, cell)
      |                               ^~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:2422:26: note: in expansion of macro &amp;#39;DT_IRQ&amp;#39;
 2422 | #define DT_IRQN(node_id) DT_IRQ(node_id, irq)
      |                          ^~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1242:21: note: in expansion of macro &amp;#39;DT_IRQN&amp;#39;
 1242 |         IRQ_CONNECT(DT_IRQN(QSPI_NODE), DT_IRQ(QSPI_NODE, priority),
      |                     ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3190:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 3190 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3836:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3836 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3836:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3836 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:140:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  140 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1242:29: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
 1242 |         IRQ_CONNECT(DT_IRQN(QSPI_NODE), DT_IRQ(QSPI_NODE, priority),
      |                             ^~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c: At top level:
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1262:29: error: &amp;#39;INST_0_BYTES&amp;#39; undeclared here (not in a function); did you mean &amp;#39;INST_0_QER&amp;#39;?
 1262 | #define LAYOUT_PAGES_COUNT (INST_0_BYTES / \
      |                             ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/gcc.h:81:51: 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/drivers/flash/nrf_qspi_nor.c:1266:15: note: in expansion of macro &amp;#39;LAYOUT_PAGES_COUNT&amp;#39;
 1266 |               LAYOUT_PAGES_COUNT)
      |               ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1265:14: error: expression in static assertion is not an integer
 1265 | BUILD_ASSERT((CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE *
      |              ^
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/gcc.h:81:51: 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/devicetree.h:333:40: error: expected &amp;#39;)&amp;#39; before &amp;#39;DT_N_INST_0_nordic_qspi_nor_BUS_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/devicetree.h:495:31: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  495 | #define DT_NODE_PATH(node_id) DT_CAT(node_id, _PATH)
      |                               ^~~~~~
c:\ncs\v2.5.2\zephyr\soc\arm\nordic_nrf\common\soc_nrf_common.h:191:22: note: in expansion of macro &amp;#39;DT_NODE_PATH&amp;#39;
  191 |                      DT_NODE_PATH(node_id) &amp;quot; defined without sleep state&amp;quot;)
      |                      ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1492:1: note: in expansion of macro &amp;#39;NRF_DT_CHECK_NODE_HAS_PINCTRL_SLEEP&amp;#39;
 1492 | NRF_DT_CHECK_NODE_HAS_PINCTRL_SLEEP(QSPI_NODE);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3190:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 3190 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3836:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3836 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3836:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3836 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:140:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  140 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1492:37: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
 1492 | NRF_DT_CHECK_NODE_HAS_PINCTRL_SLEEP(QSPI_NODE);
      |                                     ^~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/gcc.h:81:50: note: to match this &amp;#39;(&amp;#39;
   81 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, &amp;quot;&amp;quot; MSG)
      |                                                  ^
c:\ncs\v2.5.2\zephyr\soc\arm\nordic_nrf\common\soc_nrf_common.h:189:9: note: in expansion of macro &amp;#39;BUILD_ASSERT&amp;#39;
  189 |         BUILD_ASSERT(!IS_ENABLED(CONFIG_PM_DEVICE) ||                          \
      |         ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1492:1: note: in expansion of macro &amp;#39;NRF_DT_CHECK_NODE_HAS_PINCTRL_SLEEP&amp;#39;
 1492 | NRF_DT_CHECK_NODE_HAS_PINCTRL_SLEEP(QSPI_NODE);
FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\nordic20240328\hello_world_1\build_8&amp;#39;
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util.h:17:
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:241:51: error: expected &amp;#39;)&amp;#39; before &amp;#39;(&amp;#39; token
  241 |                      Z_PINCTRL_STATE_PINS_DEFINE, (;), node_id);               \
      |                                                   ^
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_macro.h:418:69: note: in definition of macro &amp;#39;LISTIFY&amp;#39;
  418 | #define LISTIFY(LEN, F, sep, ...) UTIL_CAT(Z_UTIL_LISTIFY_, LEN)(F, sep, __VA_ARGS__)
      |                                                                     ^~~
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);
      | ^~~~~~~~~~~~~~~~~
In file included from C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_macro.h:34:
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_macro.h:418:44: warning: implicit declaration of function &amp;#39;Z_UTIL_LISTIFY_DT_N_INST_0_nordic_qspi_nor_BUS_PINCTRL_NUM&amp;#39; [-Wimplicit-function-declaration]
  418 | #define LISTIFY(LEN, F, sep, ...) UTIL_CAT(Z_UTIL_LISTIFY_, LEN)(F, sep, __VA_ARGS__)
      |                                            ^~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:105:36: note: in definition of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
      |                                    ^
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_macro.h:418:35: note: in expansion of macro &amp;#39;UTIL_CAT&amp;#39;
  418 | #define LISTIFY(LEN, F, sep, ...) UTIL_CAT(Z_UTIL_LISTIFY_, LEN)(F, sep, __VA_ARGS__)
      |                                   ^~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:172:17: note: in expansion of macro &amp;#39;LISTIFY&amp;#39;
  172 |                 LISTIFY(DT_NUM_PINCTRL_STATES(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);
      | ^~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:173:30: error: &amp;#39;Z_PINCTRL_STATE_INIT&amp;#39; undeclared here (not in a function)
  173 |                              Z_PINCTRL_STATE_INIT, (,), node_id)               \
      |                              ^~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_macro.h:418:66: note: in definition of macro &amp;#39;LISTIFY&amp;#39;
  418 | #define LISTIFY(LEN, F, sep, ...) UTIL_CAT(Z_UTIL_LISTIFY_, LEN)(F, sep, __VA_ARGS__)
      |                                                                  ^
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);
      | ^~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:173:53: error: expected expression before &amp;#39;,&amp;#39; token
  173 |                              Z_PINCTRL_STATE_INIT, (,), node_id)               \
      |                                                     ^
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_macro.h:418:69: note: in definition of macro &amp;#39;LISTIFY&amp;#39;
  418 | #define LISTIFY(LEN, F, sep, ...) UTIL_CAT(Z_UTIL_LISTIFY_, LEN)(F, sep, __VA_ARGS__)
      |                                                                     ^~~
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);
      | ^~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:173:53: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  173 |                              Z_PINCTRL_STATE_INIT, (,), node_id)               \
      |                                                     ^
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_macro.h:418:69: note: in definition of macro &amp;#39;LISTIFY&amp;#39;
  418 | #define LISTIFY(LEN, F, sep, ...) UTIL_CAT(Z_UTIL_LISTIFY_, LEN)(F, sep, __VA_ARGS__)
      |                                                                     ^~~
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);
      | ^~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: &amp;#39;DT_N_INST_0_nordic_qspi_nor_BUS&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_INST_0_nordic_mbox_nrf_ipc&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/sys/util_macro.h:418:74: note: in definition of macro &amp;#39;LISTIFY&amp;#39;
  418 | #define LISTIFY(LEN, F, sep, ...) UTIL_CAT(Z_UTIL_LISTIFY_, LEN)(F, sep, __VA_ARGS__)
      |                                                                          ^~~~~~~~~~~
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);
      | ^~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3190:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 3190 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3836:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3836 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3836:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3836 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:140:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  140 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1494:19: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
 1494 | PINCTRL_DT_DEFINE(QSPI_NODE);
      |                   ^~~~~~~~~
In file included from C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/gcc.h:92:
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:101:17: error: &amp;#39;__pinctrl_dev_config__device_dts_ord_DT_N_INST_0_nordic_qspi_nor_BUS_ORD&amp;#39; undeclared here (not in a function); did you mean &amp;#39;__pinctrl_states__device_dts_ord_DT_N_INST_0_nordic_qspi_nor_BUS_ORD&amp;#39;?
  101 |         _CONCAT(__pinctrl_dev_config, DEVICE_DT_NAME_GET(node_id))
      |                 ^~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/common.h:132:26: note: in definition of macro &amp;#39;_DO_CONCAT&amp;#39;
  132 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:101:9: note: in expansion of macro &amp;#39;_CONCAT&amp;#39;
  101 |         _CONCAT(__pinctrl_dev_config, DEVICE_DT_NAME_GET(node_id))
      |         ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:262:45: note: in expansion of macro &amp;#39;Z_PINCTRL_DEV_CONFIG_NAME&amp;#39;
  262 | #define PINCTRL_DT_DEV_CONFIG_GET(node_id) &amp;amp;Z_PINCTRL_DEV_CONFIG_NAME(node_id)
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1499:17: note: in expansion of macro &amp;#39;PINCTRL_DT_DEV_CONFIG_GET&amp;#39;
 1499 |         .pcfg = PINCTRL_DT_DEV_CONFIG_GET(QSPI_NODE),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: &amp;#39;DT_N_INST_0_nordic_qspi_nor_P_address_size_32&amp;#39; undeclared here (not in a function)
  333 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                                        ^~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:4231:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4231 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:34: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                  ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:42: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                          ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1511:29: note: in expansion of macro &amp;#39;DT_INST_PROP&amp;#39;
 1511 |                 .addrmode = DT_INST_PROP(0, address_size_32)
      |                             ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: &amp;#39;DT_N_INST_0_nordic_qspi_nor_P_sck_delay&amp;#39; undeclared here (not in a function)
  333 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                                        ^~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:4231:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4231 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:34: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                  ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:42: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                          ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1517:30: note: in expansion of macro &amp;#39;DT_INST_PROP&amp;#39;
 1517 |                 .sck_delay = DT_INST_PROP(0, sck_delay),
      |                              ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: &amp;#39;DT_N_INST_0_nordic_qspi_nor_P_jedec_id&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_INST_0_nordic_nrf_qdec&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/devicetree.h:4231:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4231 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:34: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                  ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:3450:42: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3450 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
      |                                          ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1522:15: note: in expansion of macro &amp;#39;DT_INST_PROP&amp;#39;
 1522 |         .id = DT_INST_PROP(0, jedec_id),
      |               ^~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:40: error: &amp;#39;DT_N_INST_0_nordic_qspi_nor_FULL_NAME&amp;#39; undeclared here (not in a function)
  333 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                                        ^~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/device.h:892:25: note: in definition of macro &amp;#39;Z_DEVICE_INIT&amp;#39;
  892 |                 .name = name_,                                                 \
      |                         ^~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/device.h:981:9: note: in expansion of macro &amp;#39;Z_DEVICE_BASE_DEFINE&amp;#39;
  981 |         Z_DEVICE_BASE_DEFINE(node_id, dev_id, name, pm, data, config, level,   \
      |         ^~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/device.h:180:9: note: in expansion of macro &amp;#39;Z_DEVICE_DEFINE&amp;#39;
  180 |         Z_DEVICE_DEFINE(node_id, Z_DEVICE_DT_DEV_ID(node_id),                  \
      |         ^~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:69:53: note: in expansion of macro &amp;#39;__DEBRACKET&amp;#39;
   69 | #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val
      |                                                     ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro &amp;#39;__GET_ARG2_DEBRACKET&amp;#39;
   64 |         __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
      |         ^~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro &amp;#39;__COND_CODE&amp;#39;
   59 |         __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro &amp;#39;Z_COND_CODE_1&amp;#39;
  180 |         Z_COND_CODE_1(_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:777:9: note: in expansion of macro &amp;#39;COND_CODE_1&amp;#39;
  777 |         COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
      |         ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/device.h:146:9: note: in expansion of macro &amp;#39;DT_PROP_OR&amp;#39;
  146 |         DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id))
      |         ^~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:521:36: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  521 | #define DT_NODE_FULL_NAME(node_id) DT_CAT(node_id, _FULL_NAME)
      |                                    ^~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/device.h:146:36: note: in expansion of macro &amp;#39;DT_NODE_FULL_NAME&amp;#39;
  146 |         DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id))
      |                                    ^~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/device.h:181:25: note: in expansion of macro &amp;#39;DEVICE_DT_NAME&amp;#39;
  181 |                         DEVICE_DT_NAME(node_id), init_fn, pm, data, config,    \
      |                         ^~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/device.h:195:9: note: in expansion of macro &amp;#39;DEVICE_DT_DEFINE&amp;#39;
  195 |         DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__)
      |         ^~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro &amp;#39;UTIL_PRIMITIVE_CAT&amp;#39;
  104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
      |                          ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro &amp;#39;UTIL_CAT&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/devicetree.h:3248:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3248 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/device.h:195:26: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
  195 |         DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__)
      |                          ^~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/drivers/flash/nrf_qspi_nor.c:1527:1: note: in expansion of macro &amp;#39;DEVICE_DT_INST_DEFINE&amp;#39;
 1527 | DEVICE_DT_INST_DEFINE(0, qspi_nor_init, PM_DEVICE_DT_INST_GET(0),
      | ^~~~~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:110:17: warning: &amp;#39;__pinctrl_states__device_dts_ord_DT_N_INST_0_nordic_qspi_nor_BUS_ORD&amp;#39; defined but not used [-Wunused-const-variable=]
  110 |         _CONCAT(__pinctrl_states, DEVICE_DT_NAME_GET(node_id))
      |                 ^~~~~~~~~~~~~~~~
C:/ncs/v2.5.2/zephyr/include/zephyr/toolchain/common.h:132:26: note: in definition of macro &amp;#39;_DO_CONCAT&amp;#39;
  132 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
C:/ncs/v2.5.2/zephyr/include/zephyr/drivers/pinctrl.h:110:9: note: in expansion of macro &amp;#39;_CONCAT&amp;#39;
  110 |         _CONCAT(__pinctrl_states, DEVICE_DT_NAME_GET(node_id))
      |         ^~~~~~~
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);
      | ^~~~~~~~~~~~~~~~~&lt;/pre&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and config_spi_nor has some problem,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;is it the reason of the error?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/2134.Untitled3.png" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE OTA DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/481940?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 08:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e96c184-161f-4d6d-b00d-4adcfd2d2ef6</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Ah, you should look at your build log, and specifically &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/configuring_app/kconfig/index.html#override-kconfig-warnings"&gt;Kconfig override warnings&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>