<?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>Issue adding tha USB MSD to my project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103653/issue-adding-tha-usb-msd-to-my-project</link><description>I need to add the USB MSD feature to my custom BLE project. The board is provided with a MT25QU512 NOR memory connected to the nRF52840 via QSPI in the same way on the nRF52840 DK. Originally, the DT and the configuration of my custom board, that I created</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Sep 2023 09:26:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103653/issue-adding-tha-usb-msd-to-my-project" /><item><title>RE: Issue adding tha USB MSD to my project</title><link>https://devzone.nordicsemi.com/thread/446008?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 09:26:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b31dcdf-1b5c-4ba2-94dc-72e300959bbc</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;I found the problem: since I overwrite the &lt;em&gt;pinctrl&lt;/em&gt; node in the board device tree (I copied that from example) I need to&amp;nbsp;configure the&amp;nbsp;&lt;span&gt;CONFIG_PINCTRL to &lt;em&gt;&amp;#39;&lt;/em&gt;&lt;/span&gt;&lt;span&gt;&lt;em&gt;y&amp;#39;&lt;/em&gt; in my prj.conf.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue adding tha USB MSD to my project</title><link>https://devzone.nordicsemi.com/thread/445801?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 10:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:709218b0-83d5-4b03-907d-0c404f3f3e13</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;I created a new blank project with only the&amp;nbsp;USB MSD feature. I copied the nRF Connect example without code changes. The only things I added are the configurations generated in the example by the Kconfig file (in my project I don&amp;#39;t use the Kconfig, only prj.conf). But I get again the same error. If I configure a build with the&amp;nbsp;nrf52840dk_nrf52840 board with the relative sample overlay it compiles without error. Whats wrong with my custom board files?&lt;/p&gt;
&lt;p&gt;I loaded the project on giuthub &lt;a href="https://github.com/AndrewLivesChaos/msc_test.git"&gt;here&lt;/a&gt; if you want check it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue adding tha USB MSD to my project</title><link>https://devzone.nordicsemi.com/thread/445669?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 14:22:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d58f249d-16a6-4f04-8aba-dec9b9676972</guid><dc:creator>Andrea Verdecchia</dc:creator><description>[quote userid="108933" url="~/f/nordic-q-a/103653/issue-adding-tha-usb-msd-to-my-project/445612"]Can you try to move the&amp;nbsp;&lt;span&gt;MT25QU512&amp;nbsp;NOR memory part from&amp;nbsp;dts to separate&amp;nbsp;overlay file?&lt;/span&gt;[/quote]
&lt;p&gt;I rearranged the DTS and configuration files. Now the DTS of my custom board is&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
/dts-v1/;
#include &amp;lt;nordic/nrf52840_qiaa.dtsi&amp;gt;
#include &amp;quot;myboard-pinctrl.dtsi&amp;quot;

/ {
	model = &amp;quot;MyBoard&amp;quot;;
	compatible = &amp;quot;mycompany,myboard&amp;quot;;

	chosen {
		zephyr,sram = &amp;amp;sram0;
		zephyr,flash = &amp;amp;flash0;
		zephyr,code-partition = &amp;amp;slot0_partition;
	};

	leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;

		led_red: led_0 {
			gpios = &amp;lt; &amp;amp;gpio1 6 GPIO_ACTIVE_LOW &amp;gt;;
			label = &amp;quot;Led Red&amp;quot;;
		};

		led_green: led_1 {
			gpios = &amp;lt; &amp;amp;gpio1 4 GPIO_ACTIVE_LOW &amp;gt;;
			label = &amp;quot;Led Blue&amp;quot;;
		};

		led_blue: led_2 {
			gpios = &amp;lt; &amp;amp;gpio1 2 GPIO_ACTIVE_LOW &amp;gt;;
			label = &amp;quot;Led Green&amp;quot;;
		};
	};

	gpiocustom {
		compatible = &amp;quot;gpio-keys&amp;quot;;

		pwr_en_mcu: gpiocustom_0 {
			gpios = &amp;lt; &amp;amp;gpio1 8 GPIO_ACTIVE_HIGH &amp;gt;;
			label = &amp;quot;PWR_EN_MCU&amp;quot;;
		};

		chg_wls_mcu: gpiocustom_1 {
			gpios = &amp;lt; &amp;amp;gpio0 11 GPIO_ACTIVE_LOW &amp;gt;;
			label = &amp;quot;CHG_WLS_MCU&amp;quot;;
		};

		touch_mcu: gpiocustom_2 {
			gpios = &amp;lt; &amp;amp;gpio0 0 GPIO_ACTIVE_HIGH &amp;gt;;
			label = &amp;quot;TOUCH_MCU&amp;quot;;
		};

		pg_wls_mcu: gpiocustom_3 {
			gpios = &amp;lt; &amp;amp;gpio0 1 GPIO_ACTIVE_LOW &amp;gt;;
			label = &amp;quot;PG_WLS_MCU&amp;quot;;
		};

		chg_wrd_mcu: gpiocustom_4 {
			gpios = &amp;lt; &amp;amp;gpio0 8 GPIO_ACTIVE_LOW &amp;gt;;
			label = &amp;quot;CHG_WRD_MCU&amp;quot;;
		};

		pg_wrd_mcu: gpiocustom_5 {
			gpios = &amp;lt; &amp;amp;gpio1 9 GPIO_ACTIVE_LOW &amp;gt;;
			label = &amp;quot;PG_WRD_MCU&amp;quot;;
		};
	};
};

&amp;amp;gpio1 {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;gpio0 {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;spi0 {
	status = &amp;quot;okay&amp;quot;;
	max-frequency = &amp;lt; 0x6ACFC0 &amp;gt;;
};

&amp;amp;qspi {
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;qspi_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;qspi_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;

	mt25qu512: mt25qu512@0 {
		compatible = &amp;quot;nordic,qspi-nor&amp;quot;;
		reg = &amp;lt;0&amp;gt;;
		/* MX25R64 supports only pp and pp4io */
		writeoc = &amp;quot;pp4io&amp;quot;;
		/* MX25R64 supports all readoc options */
		readoc = &amp;quot;read4io&amp;quot;;
		sck-frequency = &amp;lt;8000000&amp;gt;;
		jedec-id = [c2 28 17];
		sfdp-bfp = [
			e5 20 f1 ff  ff ff ff 03  44 eb 08 6b  08 3b 04 bb
			ee ff ff ff  ff ff 00 ff  ff ff 00 ff  0c 20 0f 52
			10 d8 00 ff  23 72 f5 00  82 ed 04 cc  44 83 68 44
			30 b0 30 b0  f7 c4 d5 5c  00 be 29 ff  f0 d0 ff ff
		];
		size = &amp;lt;67108864&amp;gt;;
		has-dpd;
		t-enter-dpd = &amp;lt;10000&amp;gt;;
		t-exit-dpd = &amp;lt;35000&amp;gt;;
	};
};

&amp;amp;flash0 {
	partitions {
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;1&amp;gt;;

		boot_partition: partition@0 {
			label = &amp;quot;mcuboot&amp;quot;;
			reg = &amp;lt;0x0 0xc000&amp;gt;;
		};
		slot0_partition: partition@c000 {
			label = &amp;quot;image-0&amp;quot;;
			reg = &amp;lt;0xc000 0x72000&amp;gt;;
		};
		slot1_partition: partition@7e000 {
			label = &amp;quot;image-1&amp;quot;;
			reg = &amp;lt;0x7e000 0x72000&amp;gt;;
		};
		scratch_partition: partition@f0000 {
			label = &amp;quot;image-scratch&amp;quot;;
			reg = &amp;lt;0xf0000 0xa000&amp;gt;;
		};
		storage_partition: partition@fa000 {
			label = &amp;quot;storage&amp;quot;;
			reg = &amp;lt;0xfa000 0x6000&amp;gt;;
		};
	};
};

zephyr_udc0: &amp;amp;usbd {
	compatible = &amp;quot;nordic,nrf-usbd&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;where&amp;nbsp;&lt;em&gt;myboard-pinctrl.dtsi&lt;/em&gt; is&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
&amp;amp;pinctrl {
	qspi_default: qspi_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(QSPI_SCK, 0, 19)&amp;gt;,
				&amp;lt;NRF_PSEL(QSPI_IO0, 0, 20)&amp;gt;,
				&amp;lt;NRF_PSEL(QSPI_IO1, 0, 21)&amp;gt;,
				&amp;lt;NRF_PSEL(QSPI_IO2, 0, 22)&amp;gt;,
				&amp;lt;NRF_PSEL(QSPI_IO3, 0, 23)&amp;gt;,
				&amp;lt;NRF_PSEL(QSPI_CSN, 0, 17)&amp;gt;;
		};
	};

	qspi_sleep: qspi_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(QSPI_SCK, 0, 19)&amp;gt;,
				&amp;lt;NRF_PSEL(QSPI_IO0, 0, 20)&amp;gt;,
				&amp;lt;NRF_PSEL(QSPI_IO1, 0, 21)&amp;gt;,
				&amp;lt;NRF_PSEL(QSPI_IO2, 0, 22)&amp;gt;,
				&amp;lt;NRF_PSEL(QSPI_IO3, 0, 23)&amp;gt;;
			low-power-enable;
		};
		group2 {
			psels = &amp;lt;NRF_PSEL(QSPI_CSN, 0, 17)&amp;gt;;
			low-power-enable;
			bias-pull-up;
		};
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I added the &lt;span&gt;CONFIG_MAIN_STACK_SIZE in the&lt;/span&gt;&amp;nbsp;&lt;em&gt;prj.conf&lt;/em&gt;&amp;nbsp;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
CONFIG_GPIO=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n

# CONFIG_SPI=y
CONFIG_NRFX_SPIM0=y
# CONFIG_NRFX_SPIM=y
# CONFIG_NRFX_SPI0=y
# CONFIG_NRFX_TIMER=y
CONFIG_NRFX_TIMER1=y
CONFIG_NRFX_PPI=y

### BLE

CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME=&amp;quot;MyDevice&amp;quot;
# CONFIG_BT_SMP=y
CONFIG_BT_DEVICE_APPEARANCE=1345
CONFIG_BT_MAX_CONN=1
CONFIG_BT_LL_SOFTDEVICE=y
CONFIG_HEAP_MEM_POOL_SIZE=2048

CONFIG_BT_BUF_ACL_RX_SIZE=502
CONFIG_BT_ATT_PREPARE_COUNT=2
CONFIG_BT_L2CAP_TX_BUF_COUNT=10
CONFIG_BT_L2CAP_TX_MTU=498
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BT_CONN_TX_MAX=10
CONFIG_BT_BUF_ACL_TX_COUNT=10
CONFIG_BT_BUF_ACL_TX_SIZE=502

CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
CONFIG_BT_CTLR_PHY_2M=y
CONFIG_BT_CTLR_RX_BUFFERS=2
CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=4000000

### MEMORY
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_NVS=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y
CONFIG_REBOOT=y

### MSD
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT=&amp;quot;MyDevice MSD&amp;quot;
CONFIG_USB_DEVICE_PID=0x0008
CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
CONFIG_USB_MASS_STORAGE=y
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
CONFIG_USB_MASS_STORAGE_LOG_LEVEL_ERR=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n
CONFIG_MAIN_STACK_SIZE=1536&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then I created the overlay file as you advised me:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
&amp;amp;mt25qu512 {
	partitions {
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;1&amp;gt;;

		flash_storage_partition: partition@0 {
			label = &amp;quot;flash-storage&amp;quot;;
			reg = &amp;lt;0x00000000 0x00020000&amp;gt;;
		};
	};
};

/ {
	msc_disk0 {
		compatible = &amp;quot;zephyr,flash-disk&amp;quot;;
		partition = &amp;lt;&amp;amp;flash_storage_partition&amp;gt;;
		disk-name = &amp;quot;NAND&amp;quot;;
		cache-size = &amp;lt;4096&amp;gt;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But I get the same error. Note that in my case I don&amp;#39;t delete the &lt;em&gt;storage_partition&lt;/em&gt; node as&amp;nbsp;in the example because I use it for the NVS and&amp;nbsp; for my memory I create a new node called&amp;nbsp; &lt;em&gt;flash_storage_partition&lt;/em&gt;. The compilig output is the same:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- Configuring done
-- Generating done
-- Build files have been written to: C:/ncsapps/gravity/sdk_2_3_0/gravity5/build
-- west build: building application
[1/244] Generating include/generated/version.h
-- Zephyr version: 3.2.99 (C:/ncs/v2.3.0/zephyr), build: v3.2.99-ncs2
[2/244] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[3/244] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[4/244] Generating include/generated/driver-validation.h
[5/244] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[6/244] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[7/244] Generating include/generated/offsets.h
[8/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
[9/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[10/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/state.c.obj
[11/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_rtt.c.obj
[12/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[13/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[14/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/policy.c.obj
[15/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[16/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[17/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/disk/disk_access.c.obj
[18/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/pm.c.obj
[19/244] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.3.0/modules/crypto/tinycrypt/lib/source/aes_decrypt.c.obj
[20/244] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.3.0/modules/crypto/tinycrypt/lib/source/utils.c.obj
[21/244] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.3.0/modules/crypto/tinycrypt/lib/source/aes_encrypt.c.obj
[22/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_transfer.c.obj
[23/244] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.3.0/modules/crypto/tinycrypt/lib/source/cmac_mode.c.obj
[24/244] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.3.0/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_abort_zephyr.c.obj
[25/244] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[26/244] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[27/244] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.3.0/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_mutex_zephyr.c.obj
[28/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/nvs/nvs.c.obj
[29/244] Generating linker_zephyr_pre1.cmd
[30/244] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[31/244] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[32/244] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[33/244] Generating linker_zephyr_pre0.cmd
[34/244] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[35/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_descriptor.c.obj
[36/244] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[37/244] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[38/244] Building C object CMakeFiles/app.dir/src/system_dbg.c.obj
[39/244] Building C object CMakeFiles/app.dir/src/main.c.obj
[40/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[41/244] Linking C static library zephyr\arch\common\libisr_tables.a
[42/244] Building C object CMakeFiles/app.dir/src/app.c.obj
[43/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[44/244] Building C object CMakeFiles/app.dir/src/status_led.c.obj
../src/status_led.c: In function &amp;#39;Status_Led_Initialize&amp;#39;:
c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\status_led.c:168:89: warning: passing argument 4 of &amp;#39;k_thread_create&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
  168 |                                                                                         Status_Led_Thread,
      |                                                                                         ^~~~~~~~~~~~~~~~~
      |                                                                                         |
      |                                                                                         void (*)(void)
In file included from C:\ncs\v2.3.0\zephyr\include\zephyr\kernel.h:5890,
                 from c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\app.h:5,
                 from c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\status_led.h:5,
                 from c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\status_led.c:2:
c:\ncsapps\gravity\sdk_2_3_0\gravity5\build\zephyr\include\generated\syscalls\kernel.h:24:131: note: expected &amp;#39;k_thread_entry_t&amp;#39; {aka &amp;#39;void (*)(void *, void *, void *)&amp;#39;} but argument is of type &amp;#39;void (*)(void)&amp;#39;
   24 | static inline k_tid_t k_thread_create(struct k_thread * new_thread, k_thread_stack_t * stack, size_t stack_size, k_thread_entry_t entry, void * p1, void * p2, void * p3, int prio, uint32_t options, k_timeout_t delay)
      |                                                                                                                  ~~~~~~~~~~~~~~~~~^~~~~
[45/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_device.c.obj
[46/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[47/244] Building C object CMakeFiles/app.dir/src/icm20948.c.obj
[48/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[49/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[50/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/class/msc.c.obj
[51/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[52/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[53/244] Linking C static library zephyr\arch\common\libarch__common.a
[54/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[55/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[56/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
[57/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[58/244] Building C object CMakeFiles/app.dir/src/ble_connection.c.obj
../src/ble_connection.c: In function &amp;#39;Ble_Connection_Initialize&amp;#39;:
c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\ble_connection.c:1881:53: warning: passing argument 4 of &amp;#39;k_thread_create&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
 1881 |                                                     Ble_Connection_Communication_Tx_Thread,
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                     |
      |                                                     void (*)(void)
In file included from C:\ncs\v2.3.0\zephyr\include\zephyr\kernel.h:5890,
                 from c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\app.h:5,
                 from c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\ble_connection.h:5,
                 from c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\ble_connection.c:2:
c:\ncsapps\gravity\sdk_2_3_0\gravity5\build\zephyr\include\generated\syscalls\kernel.h:24:131: note: expected &amp;#39;k_thread_entry_t&amp;#39; {aka &amp;#39;void (*)(void *, void *, void *)&amp;#39;} but argument is of type &amp;#39;void (*)(void)&amp;#39;
   24 | static inline k_tid_t k_thread_create(struct k_thread * new_thread, k_thread_stack_t * stack, size_t stack_size, k_thread_entry_t entry, void * p1, void * p2, void * p3, int prio, uint32_t options, k_timeout_t delay)
      |                                                                                                                  ~~~~~~~~~~~~~~~~~^~~~~
c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\ble_connection.c:1902:53: warning: passing argument 4 of &amp;#39;k_thread_create&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
 1902 |                                                     Ble_Connection_Inertial_Data_Tx_Thread,
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                     |
      |                                                     void (*)(void)
c:\ncsapps\gravity\sdk_2_3_0\gravity5\build\zephyr\include\generated\syscalls\kernel.h:24:131: note: expected &amp;#39;k_thread_entry_t&amp;#39; {aka &amp;#39;void (*)(void *, void *, void *)&amp;#39;} but argument is of type &amp;#39;void (*)(void)&amp;#39;
   24 | static inline k_tid_t k_thread_create(struct k_thread * new_thread, k_thread_stack_t * stack, size_t stack_size, k_thread_entry_t entry, void * p1, void * p2, void * p3, int prio, uint32_t options, k_timeout_t delay)
      |                                                                                                                  ~~~~~~~~~~~~~~~~~^~~~~
c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\ble_connection.c:1922:45: warning: passing argument 4 of &amp;#39;k_thread_create&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
 1922 |                                             Ble_Connection_Communication_Rx_Thread,
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                             |
      |                                             void (*)(void)
c:\ncsapps\gravity\sdk_2_3_0\gravity5\build\zephyr\include\generated\syscalls\kernel.h:24:131: note: expected &amp;#39;k_thread_entry_t&amp;#39; {aka &amp;#39;void (*)(void *, void *, void *)&amp;#39;} but argument is of type &amp;#39;void (*)(void)&amp;#39;
   24 | static inline k_tid_t k_thread_create(struct k_thread * new_thread, k_thread_stack_t * stack, size_t stack_size, k_thread_entry_t entry, void * p1, void * p2, void * p3, int prio, uint32_t options, k_timeout_t delay)
      |                                                                                                                  ~~~~~~~~~~~~~~~~~^~~~~
../src/ble_connection.c: At top level:
c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\ble_connection.c:343:13: warning: &amp;#39;Ble_Connection_Security_Changed&amp;#39; defined but not used [-Wunused-function]
  343 | static void Ble_Connection_Security_Changed( struct bt_conn *conn, bt_security_t level, enum bt_security_err err )
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/ble_connection.c: In function &amp;#39;Ble_Connection_Communication_Tx_Thread&amp;#39;:
c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\ble_connection.c:563:17: warning: &amp;#39;attr&amp;#39; may be used uninitialized [-Wmaybe-uninitialized]
  563 |     params.attr = attr;
      |     ~~~~~~~~~~~~^~~~~~
c:\ncsapps\gravity\sdk_2_3_0\gravity5\src\ble_connection.c:551:32: note: &amp;#39;attr&amp;#39; was declared here
  551 |     const struct bt_gatt_attr *attr;
      |                                ^~~~
[59/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[60/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[61/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[62/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[63/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[64/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[65/244] Building C object CMakeFiles/app.dir/src/memory.c.obj
[66/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[67/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[68/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[69/244] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[70/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/debug/thread_info.c.obj
[71/244] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[72/244] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
[73/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[74/244] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[75/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[76/244] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[77/244] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[78/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[79/244] Linking C static library app\libapp.a
[80/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[81/244] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[82/244] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[83/244] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[84/244] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[85/244] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[86/244] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[87/244] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[88/244] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[89/244] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
[90/244] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[91/244] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[92/244] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[93/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/uuid.c.obj
[94/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/long_wq.c.obj
[95/244] Generating ../../../include/generated/libc/minimal/strerror_table.h
[96/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/addr.c.obj
[97/244] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
[98/244] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
[99/244] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/addr.c.obj
[100/244] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
[101/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[102/244] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
[103/244] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[104/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[105/244] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/dummy.c.obj
[106/244] Building C object zephyr/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/power.c.obj
[107/244] Building C object zephyr/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/soc.c.obj
[108/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[109/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[110/244] Linking C static library zephyr\libzephyr.a
[111/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[112/244] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/bt_str.c.obj
[113/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[114/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[115/244] Linking C static library zephyr\arch\arch\arm\core\aarch32\mpu\libarch__arm__core__aarch32__mpu.a
[116/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoll.c.obj
[117/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoull.c.obj
[118/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strerror.c.obj
[119/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[120/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/qsort.c.obj
[121/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[122/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[123/244] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[124/244] Linking C static library zephyr\subsys\bluetooth\common\libsubsys__bluetooth__common.a
[125/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrt.c.obj
[126/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[127/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrtf.c.obj
[128/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[129/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[130/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[131/244] Linking C static library zephyr\soc\arm\common\cortex_m\libsoc__arm__common__cortex_m.a
[132/244] Linking C static library zephyr\soc\arm\nordic_nrf\nrf52\libsoc__arm__nordic_nrf__nrf52.a
[133/244] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[134/244] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
[135/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_common.c.obj
[136/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/buf.c.obj
[137/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/smp_null.c.obj
[138/244] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_xoshiro128.c.obj
[139/244] Linking C static library zephyr\lib\libc\minimal\liblib__libc__minimal.a
[140/244] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_entropy_device.c.obj
[141/244] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/buf.c.obj
[142/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/adv.c.obj
[143/244] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
[144/244] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[145/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/id.c.obj
[146/244] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
[147/244] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_nrf.c.obj
[148/244] Linking C static library zephyr\subsys\random\libsubsys__random.a
[149/244] Linking C static library zephyr\subsys\net\libsubsys__net.a
[150/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/l2cap.c.obj
[151/244] Linking C static library zephyr\drivers\clock_control\libdrivers__clock_control.a
[152/244] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/jesd216.c.obj
[153/244] Linking C static library zephyr\drivers\gpio\libdrivers__gpio.a
[154/244] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
[155/244] Linking C static library zephyr\drivers\hwinfo\libdrivers__hwinfo.a
[156/244] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/soc_flash_nrf.c.obj
[157/244] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/C_/ncs/v2.3.0/nrf/drivers/entropy/entropy_cc3xx.c.obj
[158/244] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/entropy_nrf5.c.obj
[159/244] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/entropy_bt_hci.c.obj
[160/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/conn.c.obj
[161/244] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[162/244] Building C object modules/nrf/lib/multithreading_lock/CMakeFiles/..__nrf__lib__multithreading_lock.dir/multithreading_lock.c.obj
[163/244] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
[164/244] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
[165/244] Linking C static library zephyr\drivers\entropy\libdrivers__entropy.a
[166/244] Building C object modules/nrf/subsys/bluetooth/controller/CMakeFiles/..__nrf__subsys__bluetooth__controller.dir/hci_internal.c.obj
[167/244] 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\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=0 -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -IC:/ncs/v2.3.0/nrf/drivers/mpsl/clock_control -IC:/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -IC:/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf52 -IC:/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -IC:/ncs/v2.3.0/zephyr/subsys/bluetooth -IC:/ncs/v2.3.0/zephyr/subsys/usb/device -IC:/ncs/v2.3.0/nrf/include -IC:/ncs/v2.3.0/nrf/lib/multithreading_lock/. -IC:/ncs/v2.3.0/nrf/subsys/bluetooth/controller/. -IC:/ncs/v2.3.0/zephyr/drivers/flash -IC:/ncs/v2.3.0/nrf/tests/include -IC:/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.3.0/modules/hal/nordic/nrfx -IC:/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.3.0/modules/debug/segger/SEGGER -IC:/ncs/v2.3.0/modules/debug/segger/Config -IC:/ncs/v2.3.0/zephyr/modules/segger/. -IC:/ncs/v2.3.0/modules/crypto/tinycrypt/lib/include -IC:/ncs/v2.3.0/nrfxlib/mpsl/include -IC:/ncs/v2.3.0/nrfxlib/mpsl/include/protocol -IC:/ncs/v2.3.0/nrfxlib/softdevice_controller/include -isystem C:/ncs/v2.3.0/zephyr/lib/libc/minimal/include -isystem c:/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include -isystem c:/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include-fixed -isystem C:/ncs/v2.3.0/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Og -imacros C:/ncsapps/gravity/sdk_2_3_0/gravity5/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncsapps/gravity/sdk_2_3_0/gravity5=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -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.3.0/zephyr/drivers/flash/nrf_qspi_nor.c
In file included from C:\ncs\v2.3.0\zephyr\include\zephyr\device.h:12,
                 from C:\ncs\v2.3.0\zephyr\include\zephyr\drivers\flash.h:28,
                 from C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:10:
C:/ncs/v2.3.0/zephyr/drivers/flash/nrf_qspi_nor.c: In function &amp;#39;qspi_device_uninit&amp;#39;:
c:\ncsapps\gravity\sdk_2_3_0\gravity5\build\zephyr\include\generated\devicetree_generated.h:1179:54: error: &amp;#39;DT_N_S_soc_S_qspi_40029000_P_csn_pins_IDX_0&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_soc_S_qspi_40029000_P_reg_names_IDX_0&amp;#39;?
 1179 | #define DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS DT_N_S_soc_S_qspi_40029000
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3907:37: note: in definition of macro &amp;#39;DT_CAT5&amp;#39;
 3907 | #define DT_CAT5(a1, a2, a3, a4, a5) a1 ## a2 ## a3 ## a4 ## a5
      |                                     ^~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:144:33: note: in expansion of macro &amp;#39;DT_PROP_BY_IDX&amp;#39;
  144 | #define QSPI_PROP_AT(prop, idx) DT_PROP_BY_IDX(QSPI_NODE, prop, idx)
      |                                 ^~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3901:24: note: in expansion of macro &amp;#39;DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS&amp;#39;
 3901 | #define DT_CAT(a1, a2) a1 ## a2
      |                        ^~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:2990:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 2990 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\sys\util_internal.h:105:36: note: in expansion of macro &amp;#39;DT_N_INST_0_nordic_qspi_nor&amp;#39;
  105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
      |                                    ^
C:\ncs\v2.3.0\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.3.0\zephyr\include\zephyr\devicetree.h:326:31: note: in expansion of macro &amp;#39;UTIL_CAT&amp;#39;
  326 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                               ^~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3048:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3048 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:143:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  143 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:144:48: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
  144 | #define QSPI_PROP_AT(prop, idx) DT_PROP_BY_IDX(QSPI_NODE, prop, idx)
      |                                                ^~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:412:37: note: in expansion of macro &amp;#39;QSPI_PROP_AT&amp;#39;
  412 |                 nrf_gpio_cfg_output(QSPI_PROP_AT(csn_pins, 0));
      |                                     ^~~~~~~~~~~~
c:\ncsapps\gravity\sdk_2_3_0\gravity5\build\zephyr\include\generated\devicetree_generated.h:1179:54: note: each undeclared identifier is reported only once for each function it appears in
 1179 | #define DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS DT_N_S_soc_S_qspi_40029000
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3907:37: note: in definition of macro &amp;#39;DT_CAT5&amp;#39;
 3907 | #define DT_CAT5(a1, a2, a3, a4, a5) a1 ## a2 ## a3 ## a4 ## a5
      |                                     ^~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:144:33: note: in expansion of macro &amp;#39;DT_PROP_BY_IDX&amp;#39;
  144 | #define QSPI_PROP_AT(prop, idx) DT_PROP_BY_IDX(QSPI_NODE, prop, idx)
      |                                 ^~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3901:24: note: in expansion of macro &amp;#39;DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS&amp;#39;
 3901 | #define DT_CAT(a1, a2) a1 ## a2
      |                        ^~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:2990:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 2990 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\sys\util_internal.h:105:36: note: in expansion of macro &amp;#39;DT_N_INST_0_nordic_qspi_nor&amp;#39;
  105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
      |                                    ^
C:\ncs\v2.3.0\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.3.0\zephyr\include\zephyr\devicetree.h:326:31: note: in expansion of macro &amp;#39;UTIL_CAT&amp;#39;
  326 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                               ^~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3048:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3048 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:143:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  143 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:144:48: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
  144 | #define QSPI_PROP_AT(prop, idx) DT_PROP_BY_IDX(QSPI_NODE, prop, idx)
      |                                                ^~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:412:37: note: in expansion of macro &amp;#39;QSPI_PROP_AT&amp;#39;
  412 |                 nrf_gpio_cfg_output(QSPI_PROP_AT(csn_pins, 0));
      |                                     ^~~~~~~~~~~~
In file included from C:\ncs\v2.3.0\zephyr\include\zephyr\toolchain.h:50,
                 from C:\ncs\v2.3.0\zephyr\include\zephyr\sys\errno_private.h:10,
                 from C:\ncs\v2.3.0\zephyr\lib\libc\minimal\include\errno.h:32,
                 from C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:9:
C:/ncs/v2.3.0/zephyr/drivers/flash/nrf_qspi_nor.c: At top level:
c:\ncs\v2.3.0\zephyr\soc\arm\nordic_nrf\common\soc_nrf_common.h:218:9: error: static assertion failed: &amp;quot;/soc/qspi@40029000 defined without required pin configuration&amp;quot;
  218 |         BUILD_ASSERT((IS_ENABLED(CONFIG_PINCTRL) &amp;amp;&amp;amp;                     \
      |         ^~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:1414:1: note: in expansion of macro &amp;#39;NRF_DT_CHECK_PIN_ASSIGNMENTS&amp;#39;
 1414 | NRF_DT_CHECK_PIN_ASSIGNMENTS(QSPI_NODE, 1, sck_pin, csn_pins, io_pins);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.3.0\zephyr\soc\arm\nordic_nrf\common\soc_nrf_common.h:234:9: error: static assertion failed: &amp;quot;/soc/qspi@40029000 has pinctrl states defined although PINCTRL is not enabled&amp;quot;
  234 |         BUILD_ASSERT(IS_ENABLED(CONFIG_PINCTRL) ||                      \
      |         ^~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:1414:1: note: in expansion of macro &amp;#39;NRF_DT_CHECK_PIN_ASSIGNMENTS&amp;#39;
 1414 | NRF_DT_CHECK_PIN_ASSIGNMENTS(QSPI_NODE, 1, sck_pin, csn_pins, io_pins);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\ncsapps\gravity\sdk_2_3_0\gravity5\build\zephyr\include\generated\devicetree_generated.h:1179:54: error: &amp;#39;DT_N_S_soc_S_qspi_40029000_P_sck_pin&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_S_soc_S_qspi_40029000_P_status&amp;#39;?
 1179 | #define DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS DT_N_S_soc_S_qspi_40029000
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3903:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 3903 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:1425:28: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
 1425 |                 .sck_pin = DT_PROP(QSPI_NODE, sck_pin),
      |                            ^~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3901:24: note: in expansion of macro &amp;#39;DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS&amp;#39;
 3901 | #define DT_CAT(a1, a2) a1 ## a2
      |                        ^~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:2990:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 2990 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\sys\util_internal.h:105:36: note: in expansion of macro &amp;#39;DT_N_INST_0_nordic_qspi_nor&amp;#39;
  105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
      |                                    ^
C:\ncs\v2.3.0\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.3.0\zephyr\include\zephyr\devicetree.h:326:31: note: in expansion of macro &amp;#39;UTIL_CAT&amp;#39;
  326 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                               ^~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3048:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3048 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:143:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  143 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:1425:36: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
 1425 |                 .sck_pin = DT_PROP(QSPI_NODE, sck_pin),
      |                                    ^~~~~~~~~
c:\ncsapps\gravity\sdk_2_3_0\gravity5\build\zephyr\include\generated\devicetree_generated.h:1179:54: error: &amp;#39;DT_N_S_soc_S_qspi_40029000_P_csn_pins_IDX_0&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_S_soc_S_qspi_40029000_P_reg_names_IDX_0&amp;#39;?
 1179 | #define DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS DT_N_S_soc_S_qspi_40029000
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3907:37: note: in definition of macro &amp;#39;DT_CAT5&amp;#39;
 3907 | #define DT_CAT5(a1, a2, a3, a4, a5) a1 ## a2 ## a3 ## a4 ## a5
      |                                     ^~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:144:33: note: in expansion of macro &amp;#39;DT_PROP_BY_IDX&amp;#39;
  144 | #define QSPI_PROP_AT(prop, idx) DT_PROP_BY_IDX(QSPI_NODE, prop, idx)
      |                                 ^~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3901:24: note: in expansion of macro &amp;#39;DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS&amp;#39;
 3901 | #define DT_CAT(a1, a2) a1 ## a2
      |                        ^~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:2990:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 2990 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\sys\util_internal.h:105:36: note: in expansion of macro &amp;#39;DT_N_INST_0_nordic_qspi_nor&amp;#39;
  105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
      |                                    ^
C:\ncs\v2.3.0\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.3.0\zephyr\include\zephyr\devicetree.h:326:31: note: in expansion of macro &amp;#39;UTIL_CAT&amp;#39;
  326 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                               ^~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3048:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3048 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:143:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  143 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:144:48: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
  144 | #define QSPI_PROP_AT(prop, idx) DT_PROP_BY_IDX(QSPI_NODE, prop, idx)
      |                                                ^~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:1426:28: note: in expansion of macro &amp;#39;QSPI_PROP_AT&amp;#39;
 1426 |                 .csn_pin = QSPI_PROP_AT(csn_pins, 0),
      |                            ^~~~~~~~~~~~
c:\ncsapps\gravity\sdk_2_3_0\gravity5\build\zephyr\include\generated\devicetree_generated.h:1179:54: error: &amp;#39;DT_N_S_soc_S_qspi_40029000_P_io_pins_IDX_0&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_S_soc_S_qspi_40029000_P_compatible_IDX_0&amp;#39;?
 1179 | #define DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS DT_N_S_soc_S_qspi_40029000
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3907:37: note: in definition of macro &amp;#39;DT_CAT5&amp;#39;
 3907 | #define DT_CAT5(a1, a2, a3, a4, a5) a1 ## a2 ## a3 ## a4 ## a5
      |                                     ^~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:144:33: note: in expansion of macro &amp;#39;DT_PROP_BY_IDX&amp;#39;
  144 | #define QSPI_PROP_AT(prop, idx) DT_PROP_BY_IDX(QSPI_NODE, prop, idx)
      |                                 ^~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3901:24: note: in expansion of macro &amp;#39;DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS&amp;#39;
 3901 | #define DT_CAT(a1, a2) a1 ## a2
      |                        ^~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:2990:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 2990 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\sys\util_internal.h:105:36: note: in expansion of macro &amp;#39;DT_N_INST_0_nordic_qspi_nor&amp;#39;
  105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
      |                                    ^
C:\ncs\v2.3.0\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.3.0\zephyr\include\zephyr\devicetree.h:326:31: note: in expansion of macro &amp;#39;UTIL_CAT&amp;#39;
  326 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                               ^~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3048:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3048 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:143:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  143 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:144:48: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
  144 | #define QSPI_PROP_AT(prop, idx) DT_PROP_BY_IDX(QSPI_NODE, prop, idx)
      |                                                ^~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:1427:28: note: in expansion of macro &amp;#39;QSPI_PROP_AT&amp;#39;
 1427 |                 .io0_pin = QSPI_PROP_AT(io_pins, 0),
      |                            ^~~~~~~~~~~~
c:\ncsapps\gravity\sdk_2_3_0\gravity5\build\zephyr\include\generated\devicetree_generated.h:1179:54: error: &amp;#39;DT_N_S_soc_S_qspi_40029000_P_io_pins_IDX_1&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_S_soc_S_qspi_40029000_P_reg_IDX_1&amp;#39;?
 1179 | #define DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS DT_N_S_soc_S_qspi_40029000
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3907:37: note: in definition of macro &amp;#39;DT_CAT5&amp;#39;
 3907 | #define DT_CAT5(a1, a2, a3, a4, a5) a1 ## a2 ## a3 ## a4 ## a5
      |                                     ^~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:144:33: note: in expansion of macro &amp;#39;DT_PROP_BY_IDX&amp;#39;
  144 | #define QSPI_PROP_AT(prop, idx) DT_PROP_BY_IDX(QSPI_NODE, prop, idx)
      |                                 ^~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3901:24: note: in expansion of macro &amp;#39;DT_N_S_soc_S_qspi_40029000_S_mt25qu512_0_BUS&amp;#39;
 3901 | #define DT_CAT(a1, a2) a1 ## a2
      |                        ^~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:2990:25: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
 2990 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS)
      |                         ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:27: note: in expansion of macro &amp;#39;DT_BUS&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                           ^~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\sys\util_internal.h:105:36: note: in expansion of macro &amp;#39;DT_N_INST_0_nordic_qspi_nor&amp;#39;
  105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
      |                                    ^
C:\ncs\v2.3.0\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.3.0\zephyr\include\zephyr\devicetree.h:326:31: note: in expansion of macro &amp;#39;UTIL_CAT&amp;#39;
  326 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                               ^~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3048:27: note: in expansion of macro &amp;#39;DT_INST&amp;#39;
 3048 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
      |                           ^~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3566:34: note: in expansion of macro &amp;#39;DT_DRV_INST&amp;#39;
 3566 | #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
      |                                  ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:143:19: note: in expansion of macro &amp;#39;DT_INST_BUS&amp;#39;
  143 | #define QSPI_NODE DT_INST_BUS(0)
      |                   ^~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:144:48: note: in expansion of macro &amp;#39;QSPI_NODE&amp;#39;
  144 | #define QSPI_PROP_AT(prop, idx) DT_PROP_BY_IDX(QSPI_NODE, prop, idx)
      |                                                ^~~~~~~~~
C:\ncs\v2.3.0\zephyr\drivers\flash\nrf_qspi_nor.c:1428:28: note: in expansion of macro &amp;#39;QSPI_PROP_AT&amp;#39;
 1428 |                 .io1_pin = QSPI_PROP_AT(io_pins, 1),
      |                            ^~~~~~~~~~~~
[168/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/gatt.c.obj
[169/244] Building C object modules/nrf/subsys/bluetooth/controller/CMakeFiles/..__nrf__subsys__bluetooth__controller.dir/crypto.c.obj
[170/244] Linking C static library modules\nrf\lib\multithreading_lock\lib..__nrf__lib__multithreading_lock.a
[171/244] Linking C static library zephyr\drivers\timer\libdrivers__timer.a
[172/244] Building C object modules/nrf/subsys/mpsl/fem/CMakeFiles/..__nrf__subsys__mpsl__fem.dir/api_init/mpsl_fem_api_init.c.obj
[173/244] Building C object modules/nrf/subsys/bluetooth/controller/CMakeFiles/..__nrf__subsys__bluetooth__controller.dir/ecdh.c.obj
[174/244] Building C object modules/nrf/subsys/mpsl/init/CMakeFiles/..__nrf__subsys__mpsl__init.dir/mpsl_init.c.obj
[175/244] Linking C static library modules\nrf\lib\fatal_error\lib..__nrf__lib__fatal_error.a
[176/244] Building C object zephyr/drivers/usb/device/CMakeFiles/drivers__usb__device.dir/usb_dc_nrfx.c.obj
[177/244] Building C object modules/nrf/drivers/mpsl/clock_control/CMakeFiles/..__nrf__drivers__mpsl__clock_control.dir/nrfx_clock_mpsl.c.obj
[178/244] Building C object modules/nrf/subsys/bluetooth/controller/CMakeFiles/..__nrf__subsys__bluetooth__controller.dir/hci_driver.c.obj
[179/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/att.c.obj
[180/244] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_core.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\v2.3.0\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\ncsapps\gravity\sdk_2_3_0\gravity5\build&amp;#39;

 *  The terminal process terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It seems to be a QSPI interface definition (I think relative to the i/o pins) in the device tree generation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="108933" url="~/f/nordic-q-a/103653/issue-adding-tha-usb-msd-to-my-project/445612"]Do you have any config file for usbd like our sample has usbd_next_prj.conf file?[/quote]
&lt;p&gt;I don&amp;#39;t understant what you mean. Where is the &lt;em&gt;usbd_next.prj.conf&lt;/em&gt; file in your sample?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue adding tha USB MSD to my project</title><link>https://devzone.nordicsemi.com/thread/445612?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 11:18:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84b27163-2faa-4ee5-9c8e-d346f4ef6fbc</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you try to move the&amp;nbsp;&lt;span&gt;MT25QU512&amp;nbsp;NOR memory part from&amp;nbsp;dts to separate&amp;nbsp;overlay file?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You need to set&amp;nbsp;CONFIG_MAIN_STACK_SIZE in the kconfig. Do you have any config file for usbd like our sample has usbd_next_prj.conf file?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue adding tha USB MSD to my project</title><link>https://devzone.nordicsemi.com/thread/445529?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 07:18:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fba4134-db0b-4efc-b445-d86cdcab6591</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Andrea,&lt;/p&gt;
&lt;p&gt;I have started looking at your case. I will get back to you soon.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>