<?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>Zephyr WS2812 Driver undefined reference to `__device_dts_ord_68&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89208/zephyr-ws2812-driver-undefined-reference-to-__device_dts_ord_68</link><description>I am trying to implement the Ws2812 driver on the NRF5340 based on the driver example. 
 The specific error I am getting is: 
 c:/sysgcc/arm-eabi/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/drivers/spi/libdrivers__spi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Sep 2023 07:43:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89208/zephyr-ws2812-driver-undefined-reference-to-__device_dts_ord_68" /><item><title>RE: Zephyr WS2812 Driver undefined reference to `__device_dts_ord_68'</title><link>https://devzone.nordicsemi.com/thread/447191?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 07:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67c98f80-c842-413a-bcfa-2fac27dfd3e8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You are posting in a ~1 year old case. If the below does not help, I would recommend that you open up a new thread.&amp;nbsp;&lt;/p&gt;
[quote user="blue_dew"][00:00:02.977,630] &amp;lt;err&amp;gt; spi_nrfx_spim: Timeout waiting for transfer complete&lt;br /&gt;[00:00:02.977,935] &amp;lt;err&amp;gt; app: couldn&amp;#39;t update strip: -116[/quote]
&lt;p&gt;The default timeout for a SPI transaction is 200 ms. This is set via. CONFIG_SPI_COMPLETION_TIMEOUT_TOLERANCE.&lt;/p&gt;
&lt;p&gt;If you send a large amount of data over SPIM, you might need to relax this delay (to for instance 1000 ms).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr WS2812 Driver undefined reference to `__device_dts_ord_68'</title><link>https://devzone.nordicsemi.com/thread/446975?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2023 05:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81132442-3a67-4689-8ff9-b94ddf933e35</guid><dc:creator>blue_dew</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I am trying to use the same LED and below is my overlay:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi0 
{
        status = &amp;quot;okay&amp;quot;;
        compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
        pinctrl-0 = &amp;lt;&amp;amp;spi2_default&amp;gt;;
        pinctrl-1 = &amp;lt;&amp;amp;spi2_sleep&amp;gt;;
        pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
        led_strip: ws2812@0 {
                compatible = &amp;quot;worldsemi,ws2812-spi&amp;quot;;
                /* SPI */
                reg = &amp;lt;0&amp;gt;; /* ignored, but necessary for SPI bindings */
                spi-max-frequency = &amp;lt; SPI_FREQ &amp;gt;;
                /* WS2812 */
                chain-length = &amp;lt;1&amp;gt;; /* arbitrary; change at will */
                color-mapping = &amp;lt;LED_COLOR_ID_GREEN
                                 LED_COLOR_ID_RED
                                 LED_COLOR_ID_BLUE&amp;gt;;
                spi-one-frame = &amp;lt;ONE_FRAME&amp;gt;;
                spi-zero-frame = &amp;lt;ZERO_FRAME&amp;gt;;
        };
};&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;where pin controls are defined as this:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;        spi2_default: spi2_default {
                group1 { psels = &amp;lt;NRF_PSEL(SPIM_SCK, 1, 10)&amp;gt;,
                        &amp;lt;NRF_PSEL(SPIM_MOSI, 1, 00)&amp;gt;,
                        &amp;lt;NRF_PSEL_DISCONNECTED(SPIM_MISO)&amp;gt;;
                };
        };

        spi2_sleep: spi2_sleep {
                group1 { psels = &amp;lt;NRF_PSEL(SPIM_SCK, 1, 10)&amp;gt;,
                        &amp;lt;NRF_PSEL(SPIM_MOSI, 1, 00)&amp;gt;,
                        &amp;lt;NRF_PSEL_DISCONNECTED(SPIM_MISO)&amp;gt;;
                        low-power-enable;
                };
        };
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This works but when I try to use &amp;quot;NRF_PSEL_DISCONNECTED(SPIM_SCK)&amp;quot; the MOSI line does not send any data. The following message is given:&lt;br /&gt;&lt;br /&gt;```&lt;br /&gt;[00:00:02.977,630] &amp;lt;err&amp;gt; spi_nrfx_spim: Timeout waiting for transfer complete&lt;br /&gt;[00:00:02.977,935] &amp;lt;err&amp;gt; app: couldn&amp;#39;t update strip: -116&lt;br /&gt;```&lt;br /&gt;&lt;br /&gt;My understanding of the LED driver is that it only needs the MOSI pins and I would like to be able to utilize the other GPIO pins. Thank you for your help!&lt;br /&gt;&lt;br /&gt;- Brady&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr WS2812 Driver undefined reference to `__device_dts_ord_68'</title><link>https://devzone.nordicsemi.com/thread/373873?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 09:04:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1378947a-aacb-4d23-b2f8-d13155ec73dc</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It searches for led-strip in the DT, so you&amp;#39;ll need to alias your status_leds to this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;led-strip = &amp;amp;status_leds;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this and see if it works?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PS: your mosi/miso pins are still set to P0.00.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr WS2812 Driver undefined reference to `__device_dts_ord_68'</title><link>https://devzone.nordicsemi.com/thread/373744?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 14:24:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4e3babe-9eb4-47f6-ac79-832e17d617ae</guid><dc:creator>nick_haman</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/dts-v1/;

/ {
	#address-cells = &amp;lt; 0x1 &amp;gt;;
	#size-cells = &amp;lt; 0x1 &amp;gt;;
	model = &amp;quot;Nordic NRF5340 DK NRF5340 Application&amp;quot;;
	compatible = &amp;quot;nordic,nrf5340-dk-nrf5340-cpuapp&amp;quot;;
	chosen {
		zephyr,entropy = &amp;amp;cryptocell;
		zephyr,flash-controller = &amp;amp;flash_controller;
		zephyr,console = &amp;amp;uart0;
		zephyr,shell-uart = &amp;amp;uart0;
		zephyr,uart-mcumgr = &amp;amp;uart0;
		zephyr,bt-mon-uart = &amp;amp;uart0;
		zephyr,bt-c2h-uart = &amp;amp;uart0;
		zephyr,ipc_shm = &amp;amp;sram0_shared;
		zephyr,sram = &amp;amp;sram0_image;
		zephyr,flash = &amp;amp;flash0;
		zephyr,code-partition = &amp;amp;slot0_partition;
		zephyr,sram-secure-partition = &amp;amp;sram0_s;
		zephyr,sram-non-secure-partition = &amp;amp;sram0_ns;
	};
	aliases {
		led0 = &amp;amp;led0;
		led1 = &amp;amp;led1;
		led2 = &amp;amp;led2;
		led3 = &amp;amp;led3;
		pwm-led0 = &amp;amp;pwm_led0;
		sw0 = &amp;amp;button0;
		sw1 = &amp;amp;button1;
		sw2 = &amp;amp;button2;
		sw3 = &amp;amp;button3;
		bootloader-led0 = &amp;amp;led0;
		status-leds = &amp;amp;status_leds;
	};
	soc {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x1 &amp;gt;;
		compatible = &amp;quot;nordic,nRF5340-CPUAPP-QKAA&amp;quot;, &amp;quot;nordic,nRF5340-CPUAPP&amp;quot;, &amp;quot;nordic,nRF53&amp;quot;, &amp;quot;simple-bus&amp;quot;;
		interrupt-parent = &amp;lt; &amp;amp;nvic &amp;gt;;
		ranges;
		nvic: interrupt-controller@e000e100 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			compatible = &amp;quot;arm,v8m-nvic&amp;quot;;
			reg = &amp;lt; 0xe000e100 0xc00 &amp;gt;;
			interrupt-controller;
			#interrupt-cells = &amp;lt; 0x2 &amp;gt;;
			arm,num-irq-priority-bits = &amp;lt; 0x3 &amp;gt;;
			phandle = &amp;lt; 0x1 &amp;gt;;
		};
		systick: timer@e000e010 {
			compatible = &amp;quot;arm,armv8m-systick&amp;quot;;
			reg = &amp;lt; 0xe000e010 0x10 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
		};
		ficr: ficr@ff0000 {
			compatible = &amp;quot;nordic,nrf-ficr&amp;quot;;
			reg = &amp;lt; 0xff0000 0x1000 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		uicr: uicr@ff8000 {
			compatible = &amp;quot;nordic,nrf-uicr&amp;quot;;
			reg = &amp;lt; 0xff8000 0x1000 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		sram0: memory@20000000 {
			compatible = &amp;quot;mmio-sram&amp;quot;;
			reg = &amp;lt; 0x20000000 0x80000 &amp;gt;;
		};
		peripheral@50000000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x1 &amp;gt;;
			ranges = &amp;lt; 0x0 0x50000000 0x10000000 &amp;gt;;
			regulators: regulator@4000 {
				compatible = &amp;quot;nordic,nrf-regulators&amp;quot;;
				reg = &amp;lt; 0x4000 0x1000 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			clock: clock@5000 {
				compatible = &amp;quot;nordic,nrf-clock&amp;quot;;
				reg = &amp;lt; 0x5000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x5 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;CLOCK&amp;quot;;
			};
			power: power@5000 {
				compatible = &amp;quot;nordic,nrf-power&amp;quot;;
				reg = &amp;lt; 0x5000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x5 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			i2c0: i2c@8000 {
				compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x8000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;I2C_0&amp;quot;;
			};
			spi0: spi@8000 {
				compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x8000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;SPI_0&amp;quot;;
			};
			uart0: uart@8000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0x8000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;UART_0&amp;quot;;
				current-speed = &amp;lt; 0x1c200 &amp;gt;;
				tx-pin = &amp;lt; 0x14 &amp;gt;;
				rx-pin = &amp;lt; 0x16 &amp;gt;;
				rx-pull-up;
				rts-pin = &amp;lt; 0x13 &amp;gt;;
				cts-pin = &amp;lt; 0x15 &amp;gt;;
				cts-pull-up;
			};
			i2c1: arduino_i2c: i2c@9000 {
				compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x9000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;I2C_1&amp;quot;;
				sda-pin = &amp;lt; 0x22 &amp;gt;;
				scl-pin = &amp;lt; 0x23 &amp;gt;;
			};
			spi1: spi@9000 {
				compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x9000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;SPI_1&amp;quot;;
			};
			uart1: arduino_serial: uart@9000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0x9000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;UART_1&amp;quot;;
				current-speed = &amp;lt; 0x1c200 &amp;gt;;
				tx-pin = &amp;lt; 0x21 &amp;gt;;
				rx-pin = &amp;lt; 0x20 &amp;gt;;
				rx-pull-up;
			};
			spi4: arduino_spi: spi@a000 {
				compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xa000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xa 0x1 &amp;gt;;
				status = &amp;quot;ok&amp;quot;;
				label = &amp;quot;SPI_4&amp;quot;;
				sck-pin = &amp;lt; 0x24 &amp;gt;;
				miso-pin = &amp;lt; 0x19 &amp;gt;;
				mosi-pin = &amp;lt; 0x29 &amp;gt;;
				cs-gpios = &amp;lt; &amp;amp;arduino_header 0x10 0x1 &amp;gt;;
			};
			i2c2: i2c@b000 {
				compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xb000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;I2C_2&amp;quot;;
			};
			spi2: spi@b000 {
				compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xb000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;SPI_2&amp;quot;;
				sck-pin = &amp;lt; 0x0 &amp;gt;;
				miso-pin = &amp;lt; 0x0 &amp;gt;;
				mosi-pin = &amp;lt; 0x10 &amp;gt;;
				status_leds: ws2812@0 {
					compatible = &amp;quot;worldsemi,ws2812-spi&amp;quot;;
					label = &amp;quot;WS2812&amp;quot;;
					reg = &amp;lt; 0x0 &amp;gt;;
					spi-max-frequency = &amp;lt; 0x3d0900 &amp;gt;;
					chain-length = &amp;lt; 0x1 &amp;gt;;
					color-mapping = &amp;lt; 0x2 0x1 0x3 &amp;gt;;
					spi-one-frame = &amp;lt; 0x70 &amp;gt;;
					spi-zero-frame = &amp;lt; 0x40 &amp;gt;;
				};
			};
			uart2: uart@b000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0xb000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;UART_2&amp;quot;;
			};
			i2c3: i2c@c000 {
				compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xc000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0xc 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;I2C_3&amp;quot;;
			};
			spi3: spi@c000 {
				compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xc000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xc 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;SPI_3&amp;quot;;
			};
			uart3: uart@c000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0xc000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xc 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;UART_3&amp;quot;;
			};
			adc: adc@e000 {
				compatible = &amp;quot;nordic,nrf-saadc&amp;quot;;
				reg = &amp;lt; 0xe000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xe 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;ADC_0&amp;quot;;
				#io-channel-cells = &amp;lt; 0x1 &amp;gt;;
				phandle = &amp;lt; 0x6 &amp;gt;;
			};
			timer0: timer@f000 {
				compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				reg = &amp;lt; 0xf000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x6 &amp;gt;;
				interrupts = &amp;lt; 0xf 0x1 &amp;gt;;
				prescaler = &amp;lt; 0x0 &amp;gt;;
				label = &amp;quot;TIMER_0&amp;quot;;
			};
			timer1: timer@10000 {
				compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				reg = &amp;lt; 0x10000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x6 &amp;gt;;
				interrupts = &amp;lt; 0x10 0x1 &amp;gt;;
				prescaler = &amp;lt; 0x0 &amp;gt;;
				label = &amp;quot;TIMER_1&amp;quot;;
			};
			timer2: timer@11000 {
				compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				reg = &amp;lt; 0x11000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x6 &amp;gt;;
				interrupts = &amp;lt; 0x11 0x1 &amp;gt;;
				prescaler = &amp;lt; 0x0 &amp;gt;;
				label = &amp;quot;TIMER_2&amp;quot;;
			};
			rtc0: rtc@14000 {
				compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
				reg = &amp;lt; 0x14000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x4 &amp;gt;;
				interrupts = &amp;lt; 0x14 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				clock-frequency = &amp;lt; 0x8000 &amp;gt;;
				prescaler = &amp;lt; 0x1 &amp;gt;;
				label = &amp;quot;RTC_0&amp;quot;;
			};
			rtc1: rtc@15000 {
				compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
				reg = &amp;lt; 0x15000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x4 &amp;gt;;
				interrupts = &amp;lt; 0x15 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				clock-frequency = &amp;lt; 0x8000 &amp;gt;;
				prescaler = &amp;lt; 0x1 &amp;gt;;
				label = &amp;quot;RTC_1&amp;quot;;
			};
			dppic: dppic@17000 {
				compatible = &amp;quot;nordic,nrf-dppic&amp;quot;;
				reg = &amp;lt; 0x17000 0x1000 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;DPPIC&amp;quot;;
			};
			wdt: wdt0: watchdog@18000 {
				compatible = &amp;quot;nordic,nrf-watchdog&amp;quot;;
				reg = &amp;lt; 0x18000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x18 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;WDT&amp;quot;;
			};
			wdt1: watchdog@19000 {
				compatible = &amp;quot;nordic,nrf-watchdog&amp;quot;;
				reg = &amp;lt; 0x19000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x19 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;WDT_1&amp;quot;;
			};
			egu0: egu@1b000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1b000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1b 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu1: egu@1c000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1c000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1c 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu2: egu@1d000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1d000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1d 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu3: egu@1e000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1e000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1e 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu4: egu@1f000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1f000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1f 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu5: egu@20000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x20000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x20 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			pwm0: pwm@21000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x21000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x21 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;PWM_0&amp;quot;;
				#pwm-cells = &amp;lt; 0x1 &amp;gt;;
				ch0-pin = &amp;lt; 0x1c &amp;gt;;
				phandle = &amp;lt; 0x4 &amp;gt;;
			};
			pwm1: pwm@22000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x22000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x22 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;PWM_1&amp;quot;;
				#pwm-cells = &amp;lt; 0x1 &amp;gt;;
			};
			pwm2: pwm@23000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x23000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x23 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;PWM_2&amp;quot;;
				#pwm-cells = &amp;lt; 0x1 &amp;gt;;
			};
			pwm3: pwm@24000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x24000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x24 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;PWM_3&amp;quot;;
				#pwm-cells = &amp;lt; 0x1 &amp;gt;;
			};
			pdm0: pdm@26000 {
				compatible = &amp;quot;nordic,nrf-pdm&amp;quot;;
				reg = &amp;lt; 0x26000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x26 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;PDM_0&amp;quot;;
			};
			i2s0: i2s@28000 {
				compatible = &amp;quot;nordic,nrf-i2s&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x28000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x28 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;I2S_0&amp;quot;;
			};
			ipc: ipc@2a000 {
				compatible = &amp;quot;nordic,nrf-ipc&amp;quot;;
				reg = &amp;lt; 0x2a000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x2a 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;IPC&amp;quot;;
			};
			qspi: qspi@2b000 {
				compatible = &amp;quot;nordic,nrf-qspi&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x2b000 0x1000 &amp;gt;, &amp;lt; 0x10000000 0x10000000 &amp;gt;;
				reg-names = &amp;quot;qspi&amp;quot;, &amp;quot;qspi_mm&amp;quot;;
				interrupts = &amp;lt; 0x2b 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;QSPI&amp;quot;;
				sck-pin = &amp;lt; 0x11 &amp;gt;;
				io-pins = &amp;lt; 0xd &amp;gt;, &amp;lt; 0xe &amp;gt;, &amp;lt; 0xf &amp;gt;, &amp;lt; 0x10 &amp;gt;;
				csn-pins = &amp;lt; 0x12 &amp;gt;;
				mx25r64: mx25r6435f@0 {
					compatible = &amp;quot;nordic,qspi-nor&amp;quot;;
					reg = &amp;lt; 0x0 &amp;gt;;
					writeoc = &amp;quot;pp4io&amp;quot;;
					readoc = &amp;quot;read4io&amp;quot;;
					sck-frequency = &amp;lt; 0x7a1200 &amp;gt;;
					label = &amp;quot;MX25R64&amp;quot;;
					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; 0x4000000 &amp;gt;;
					has-dpd;
					t-enter-dpd = &amp;lt; 0x2710 &amp;gt;;
					t-exit-dpd = &amp;lt; 0x88b8 &amp;gt;;
				};
			};
			qdec0: qdec@33000 {
				compatible = &amp;quot;nordic,nrf-qdec&amp;quot;;
				reg = &amp;lt; 0x33000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x33 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;QDEC_0&amp;quot;;
			};
			qdec1: qdec@34000 {
				compatible = &amp;quot;nordic,nrf-qdec&amp;quot;;
				reg = &amp;lt; 0x34000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x34 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;QDEC_1&amp;quot;;
			};
			usbd: zephyr_udc0: usbd@36000 {
				compatible = &amp;quot;nordic,nrf-usbd&amp;quot;;
				reg = &amp;lt; 0x36000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x36 0x1 &amp;gt;;
				num-bidir-endpoints = &amp;lt; 0x1 &amp;gt;;
				num-in-endpoints = &amp;lt; 0x7 &amp;gt;;
				num-out-endpoints = &amp;lt; 0x7 &amp;gt;;
				num-isoin-endpoints = &amp;lt; 0x1 &amp;gt;;
				num-isoout-endpoints = &amp;lt; 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;USBD&amp;quot;;
				cdc_acm_uart0 {
					compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
					label = &amp;quot;CDC_ACM_0&amp;quot;;
				};
			};
			flash_controller: flash-controller@39000 {
				compatible = &amp;quot;nordic,nrf53-flash-controller&amp;quot;;
				reg = &amp;lt; 0x39000 0x1000 &amp;gt;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x1 &amp;gt;;
				label = &amp;quot;NRF_FLASH_DRV_NAME&amp;quot;;
				flash0: flash@0 {
					compatible = &amp;quot;soc-nv-flash&amp;quot;;
					label = &amp;quot;NRF_FLASH&amp;quot;;
					erase-block-size = &amp;lt; 0x1000 &amp;gt;;
					write-block-size = &amp;lt; 0x4 &amp;gt;;
					reg = &amp;lt; 0x0 0x100000 &amp;gt;;
					partitions {
						compatible = &amp;quot;fixed-partitions&amp;quot;;
						#address-cells = &amp;lt; 0x1 &amp;gt;;
						#size-cells = &amp;lt; 0x1 &amp;gt;;
						boot_partition: partition@0 {
							label = &amp;quot;mcuboot&amp;quot;;
							reg = &amp;lt; 0x0 0x10000 &amp;gt;;
						};
						slot0_partition: partition@10000 {
							label = &amp;quot;image-0&amp;quot;;
							reg = &amp;lt; 0x10000 0x40000 &amp;gt;;
						};
						slot0_ns_partition: partition@50000 {
							label = &amp;quot;image-0-nonsecure&amp;quot;;
							reg = &amp;lt; 0x50000 0x30000 &amp;gt;;
						};
						slot1_partition: partition@80000 {
							label = &amp;quot;image-1&amp;quot;;
							reg = &amp;lt; 0x80000 0x40000 &amp;gt;;
						};
						slot1_ns_partition: partition@c0000 {
							label = &amp;quot;image-1-nonsecure&amp;quot;;
							reg = &amp;lt; 0xc0000 0x30000 &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;;
						};
					};
				};
			};
			kmu: kmu@39000 {
				compatible = &amp;quot;nordic,nrf-kmu&amp;quot;;
				reg = &amp;lt; 0x39000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x39 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			vmc: vmc@81000 {
				compatible = &amp;quot;nordic,nrf-vmc&amp;quot;;
				reg = &amp;lt; 0x81000 0x1000 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			gpio0: gpio@842500 {
				compatible = &amp;quot;nordic,nrf-gpio&amp;quot;;
				gpio-controller;
				reg = &amp;lt; 0x842500 0x300 &amp;gt;;
				#gpio-cells = &amp;lt; 0x2 &amp;gt;;
				label = &amp;quot;GPIO_0&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				port = &amp;lt; 0x0 &amp;gt;;
				phandle = &amp;lt; 0x3 &amp;gt;;
			};
			gpio1: gpio@842800 {
				compatible = &amp;quot;nordic,nrf-gpio&amp;quot;;
				gpio-controller;
				reg = &amp;lt; 0x842800 0x300 &amp;gt;;
				#gpio-cells = &amp;lt; 0x2 &amp;gt;;
				ngpios = &amp;lt; 0x10 &amp;gt;;
				label = &amp;quot;GPIO_1&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				port = &amp;lt; 0x1 &amp;gt;;
				phandle = &amp;lt; 0x5 &amp;gt;;
			};
		};
		spu: spu@50003000 {
			compatible = &amp;quot;nordic,nrf-spu&amp;quot;;
			reg = &amp;lt; 0x50003000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x3 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		gpiote: gpiote0: gpiote@5000d000 {
			compatible = &amp;quot;nordic,nrf-gpiote&amp;quot;;
			reg = &amp;lt; 0x5000d000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0xd 0x5 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;GPIOTE_0&amp;quot;;
		};
		cryptocell: crypto@50844000 {
			compatible = &amp;quot;nordic,nrf-cc312&amp;quot;;
			reg = &amp;lt; 0x50844000 0x1000 &amp;gt;;
			label = &amp;quot;CRYPTOCELL&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x1 &amp;gt;;
			cryptocell312: crypto@50845000 {
				compatible = &amp;quot;arm,cryptocell-312&amp;quot;;
				reg = &amp;lt; 0x50845000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x44 0x1 &amp;gt;;
				label = &amp;quot;CRYPTOCELL312&amp;quot;;
			};
		};
		gpiote1: gpiote@4002f000 {
			compatible = &amp;quot;nordic,nrf-gpiote&amp;quot;;
			reg = &amp;lt; 0x4002f000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x2f 0x5 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;GPIOTE_1&amp;quot;;
		};
	};
	pinctrl: pin-controller {
		compatible = &amp;quot;nordic,nrf-pinctrl&amp;quot;;
	};
	cpus {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x0 &amp;gt;;
		cpu@0 {
			device_type = &amp;quot;cpu&amp;quot;;
			compatible = &amp;quot;arm,cortex-m33f&amp;quot;;
			reg = &amp;lt; 0x0 &amp;gt;;
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x1 &amp;gt;;
			swo-ref-frequency = &amp;lt; 0x3d09000 &amp;gt;;
			mpu: mpu@e000ed90 {
				compatible = &amp;quot;arm,armv8m-mpu&amp;quot;;
				reg = &amp;lt; 0xe000ed90 0x40 &amp;gt;;
				arm,num-mpu-regions = &amp;lt; 0x8 &amp;gt;;
			};
		};
	};
	leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;
		led0: led_0 {
			gpios = &amp;lt; &amp;amp;gpio0 0x1c 0x1 &amp;gt;;
			label = &amp;quot;Green LED 0&amp;quot;;
		};
		led1: led_1 {
			gpios = &amp;lt; &amp;amp;gpio0 0x1d 0x1 &amp;gt;;
			label = &amp;quot;Green LED 1&amp;quot;;
		};
		led2: led_2 {
			gpios = &amp;lt; &amp;amp;gpio0 0x1e 0x1 &amp;gt;;
			label = &amp;quot;Green LED 2&amp;quot;;
		};
		led3: led_3 {
			gpios = &amp;lt; &amp;amp;gpio0 0x1f 0x1 &amp;gt;;
			label = &amp;quot;Green LED 3&amp;quot;;
		};
	};
	pwmleds {
		compatible = &amp;quot;pwm-leds&amp;quot;;
		pwm_led0: pwm_led_0 {
			pwms = &amp;lt; &amp;amp;pwm0 0x1c &amp;gt;;
		};
	};
	buttons {
		compatible = &amp;quot;gpio-keys&amp;quot;;
		button0: button_0 {
			gpios = &amp;lt; &amp;amp;gpio0 0x17 0x11 &amp;gt;;
			label = &amp;quot;Push button 1&amp;quot;;
		};
		button1: button_1 {
			gpios = &amp;lt; &amp;amp;gpio0 0x18 0x11 &amp;gt;;
			label = &amp;quot;Push button 2&amp;quot;;
		};
		button2: button_2 {
			gpios = &amp;lt; &amp;amp;gpio0 0x8 0x11 &amp;gt;;
			label = &amp;quot;Push button 3&amp;quot;;
		};
		button3: button_3 {
			gpios = &amp;lt; &amp;amp;gpio0 0x9 0x11 &amp;gt;;
			label = &amp;quot;Push button 4&amp;quot;;
		};
	};
	arduino_header: connector {
		compatible = &amp;quot;arduino-header-r3&amp;quot;;
		#gpio-cells = &amp;lt; 0x2 &amp;gt;;
		gpio-map-mask = &amp;lt; 0xffffffff 0xffffffc0 &amp;gt;;
		gpio-map-pass-thru = &amp;lt; 0x0 0x3f &amp;gt;;
		gpio-map = &amp;lt; 0x0 0x0 &amp;amp;gpio0 0x4 0x0 &amp;gt;, &amp;lt; 0x1 0x0 &amp;amp;gpio0 0x5 0x0 &amp;gt;, &amp;lt; 0x2 0x0 &amp;amp;gpio0 0x6 0x0 &amp;gt;, &amp;lt; 0x3 0x0 &amp;amp;gpio0 0x7 0x0 &amp;gt;, &amp;lt; 0x4 0x0 &amp;amp;gpio0 0x19 0x0 &amp;gt;, &amp;lt; 0x5 0x0 &amp;amp;gpio0 0x1a 0x0 &amp;gt;, &amp;lt; 0x6 0x0 &amp;amp;gpio1 0x0 0x0 &amp;gt;, &amp;lt; 0x7 0x0 &amp;amp;gpio1 0x1 0x0 &amp;gt;, &amp;lt; 0x8 0x0 &amp;amp;gpio1 0x4 0x0 &amp;gt;, &amp;lt; 0x9 0x0 &amp;amp;gpio1 0x5 0x0 &amp;gt;, &amp;lt; 0xa 0x0 &amp;amp;gpio1 0x6 0x0 &amp;gt;, &amp;lt; 0xb 0x0 &amp;amp;gpio1 0x7 0x0 &amp;gt;, &amp;lt; 0xc 0x0 &amp;amp;gpio1 0x8 0x0 &amp;gt;, &amp;lt; 0xd 0x0 &amp;amp;gpio1 0x9 0x0 &amp;gt;, &amp;lt; 0xe 0x0 &amp;amp;gpio1 0xa 0x0 &amp;gt;, &amp;lt; 0xf 0x0 &amp;amp;gpio1 0xb 0x0 &amp;gt;, &amp;lt; 0x10 0x0 &amp;amp;gpio1 0xc 0x0 &amp;gt;, &amp;lt; 0x11 0x0 &amp;amp;gpio1 0xd 0x0 &amp;gt;, &amp;lt; 0x12 0x0 &amp;amp;gpio1 0xe 0x0 &amp;gt;, &amp;lt; 0x13 0x0 &amp;amp;gpio1 0xf 0x0 &amp;gt;, &amp;lt; 0x14 0x0 &amp;amp;gpio1 0x2 0x0 &amp;gt;, &amp;lt; 0x15 0x0 &amp;amp;gpio1 0x3 0x0 &amp;gt;;
		phandle = &amp;lt; 0x2 &amp;gt;;
	};
	arduino_adc: analog-connector {
		compatible = &amp;quot;arduino,uno-adc&amp;quot;;
		#io-channel-cells = &amp;lt; 0x1 &amp;gt;;
		io-channel-map = &amp;lt; 0x0 &amp;amp;adc 0x0 &amp;gt;, &amp;lt; 0x1 &amp;amp;adc 0x1 &amp;gt;, &amp;lt; 0x2 &amp;amp;adc 0x2 &amp;gt;, &amp;lt; 0x3 &amp;amp;adc 0x3 &amp;gt;, &amp;lt; 0x4 &amp;amp;adc 0x4 &amp;gt;, &amp;lt; 0x5 &amp;amp;adc 0x5 &amp;gt;;
	};
	reserved-memory {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x1 &amp;gt;;
		ranges;
		sram0_image: image@20000000 {
			reg = &amp;lt; 0x20000000 0x70000 &amp;gt;;
		};
		sram0_s: image_s@20000000 {
			reg = &amp;lt; 0x20000000 0x40000 &amp;gt;;
		};
		sram0_ns: image_ns@20040000 {
			reg = &amp;lt; 0x20040000 0x30000 &amp;gt;;
		};
		sram0_shared: memory@20070000 {
			reg = &amp;lt; 0x20070000 0x10000 &amp;gt;;
		};
	};
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr WS2812 Driver undefined reference to `__device_dts_ord_68'</title><link>https://devzone.nordicsemi.com/thread/373727?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 13:47:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:857c0baa-0328-45b5-b2dc-529c66fc1072</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Can you please share your full overlay file?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr WS2812 Driver undefined reference to `__device_dts_ord_68'</title><link>https://devzone.nordicsemi.com/thread/373723?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 13:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:470501c3-794b-47f5-9915-9b575bf77b53</guid><dc:creator>nick_haman</dc:creator><description>&lt;p&gt;Thank you for the tip regarding unused pin numbers.&lt;/p&gt;
&lt;p&gt;I am trying to integrate the WS2812 driver into an existing project on a custom board.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After deleting the build directory, I noticed the following warning from CMAKE:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CMake Warning at D:/nrf_connect/v1.9.1/zephyr/CMakeLists.txt:764 (message):
  No SOURCES given to Zephyr library: drivers__led_strip

  Excluding target from build.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How do I resolve this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr WS2812 Driver undefined reference to `__device_dts_ord_68'</title><link>https://devzone.nordicsemi.com/thread/373680?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 12:23:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c64ec7e-9373-4ce5-9f5e-67a923b78f52</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unused pins should be set to 0xFF (define&amp;nbsp;NRFX_SPIM_PIN_NOT_USED). When you set them to 0, it implies P0.00.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried the example in path/to/ncs/zephyr/samples/drivers/led_ws2812&lt;/p&gt;
&lt;p&gt;With the addition of these two files in the led_ws2812/boards/ catalog:&lt;/p&gt;
&lt;p&gt;nrf5340dk_nrf5340_cpuapp.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SPI=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;nrf5340dk_nrf5340_cpuapp.overlay:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2019, Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include &amp;lt;dt-bindings/led/led.h&amp;gt;

#include &amp;quot;../nrf52-bindings.h&amp;quot;

&amp;amp;spi2 {
	compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	/* Note that this pin is not routed to the gpio header on nRF5340-DK, it routed directly to the external flash */
	mosi-pin = &amp;lt;16&amp;gt;;
	led_strip: ws2812@0 {
		compatible = &amp;quot;worldsemi,ws2812-spi&amp;quot;;
		label = &amp;quot;WS2812&amp;quot;;

		/* SPI */
		reg = &amp;lt;0&amp;gt;; /* ignored, but necessary for SPI bindings */
		spi-max-frequency = &amp;lt;SPI_FREQ&amp;gt;;

		/* WS2812 */
		chain-length = &amp;lt;16&amp;gt;; /* arbitrary; change at will */
		color-mapping = &amp;lt;LED_COLOR_ID_GREEN
				 LED_COLOR_ID_RED
				 LED_COLOR_ID_BLUE&amp;gt;;
		spi-one-frame = &amp;lt;ONE_FRAME&amp;gt;;
		spi-zero-frame = &amp;lt;ZERO_FRAME&amp;gt;;
	};
};

/ {
	aliases {
		led-strip = &amp;amp;led_strip;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This compiled fine at my end, but please note that P0.16 is directly connected to the external flash on the nRF5340-DK!&lt;/p&gt;
&lt;p&gt;You should select another GPIO if using the DK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr WS2812 Driver undefined reference to `__device_dts_ord_68'</title><link>https://devzone.nordicsemi.com/thread/373545?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2022 21:53:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55d3e434-3404-44c5-b4fe-ae631a645715</guid><dc:creator>nick_haman</dc:creator><description>&lt;p&gt;zephyr.dts&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;spi2: spi@b000 {
				compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xb000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;SPI_2&amp;quot;;
				sck-pin = &amp;lt; 0x0 &amp;gt;;
				miso-pin = &amp;lt; 0x0 &amp;gt;;
				mosi-pin = &amp;lt; 0x10 &amp;gt;;
				led_strip: ws2812@0 {
					compatible = &amp;quot;worldsemi,ws2812-spi&amp;quot;;
					label = &amp;quot;WS2812&amp;quot;;
					reg = &amp;lt; 0x0 &amp;gt;;
					spi-max-frequency = &amp;lt; 0x3d0900 &amp;gt;;
					chain-length = &amp;lt; 0x1 &amp;gt;;
					color-mapping = &amp;lt; 0x2 0x1 0x3 &amp;gt;;
					spi-one-frame = &amp;lt; 0x70 &amp;gt;;
					spi-zero-frame = &amp;lt; 0x40 &amp;gt;;
				};
			};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr WS2812 Driver undefined reference to `__device_dts_ord_68'</title><link>https://devzone.nordicsemi.com/thread/373543?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2022 21:41:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d0eacb8-29fc-4a48-ba97-492cbec2d031</guid><dc:creator>nick_haman</dc:creator><description>&lt;p&gt;The code file:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr.h&amp;gt;
#include &amp;lt;device.h&amp;gt;
#include &amp;lt;hal/nrf_gpio.h&amp;gt;
#include &amp;quot;leds.h&amp;quot;
#include &amp;quot;qf_settings.h&amp;quot;

#include &amp;lt;logging/log.h&amp;gt;
LOG_MODULE_REGISTER(Leds, LOG_LEVEL_DBG);

#define RESET_BITS                      6                                                  /**&amp;lt; Reset bits. */
#define I2S_BUFFER_SIZE                 ((3 * QfSettings::Leds::LED_COUNT) + RESET_BITS)   /**&amp;lt; i2s buffer size for driving the neopixel. */

#define IRQ_PRI                         1

Leds leds;


#define STRIP_NODE		    DT_ALIAS(led_strip)
#define STRIP_NUM_PIXELS	DT_PROP(DT_ALIAS(led_strip), chain_length)

static const struct device *strip = DEVICE_DT_GET(STRIP_NODE);

void Leds::init()
{

    //	Configure 5V enable as output
	nrf_gpio_pin_dir_set(QfSettings::Pins::Digital::LED_EN, NRF_GPIO_PIN_DIR_OUTPUT);
  enable_leds();
  
  
  if (device_is_ready(strip)) 
  {
    LOG_INF(&amp;quot;Found LED strip device %s&amp;quot;, strip-&amp;gt;name);
  }
  else {
    LOG_ERR(&amp;quot;LED strip device %s is not ready&amp;quot;, strip-&amp;gt;name);
    return;
  }
  
  
  while (1) k_sleep(K_MSEC(1000));
  
}

void Leds::enable_leds()
{
  nrf_gpio_pin_set(QfSettings::Pins::Digital::LED_EN);
}

void Leds::disable_leds()
{
  nrf_gpio_pin_clear(QfSettings::Pins::Digital::LED_EN);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>