<?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>Use SPI from DTS in MCUBOOT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126027/use-spi-from-dts-in-mcuboot</link><description>Hello, 
 in my application I use SPI communication to control my display. For that I have configured the pins for spi4 in the dts and all works fine. 
 
 Now I would like to access the display already from wihtin the mcuboot. Basically to display a potential</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Dec 2025 13:15:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126027/use-spi-from-dts-in-mcuboot" /><item><title>RE: Use SPI from DTS in MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/556685?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 13:15:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbf9aea5-21a3-4bf9-b17c-689a0e35c3e5</guid><dc:creator>Tom H.</dc:creator><description>&lt;p&gt;Thats it, thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use SPI from DTS in MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/556675?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 12:42:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ffe3032-6bfb-46e6-bf7d-515ee6c0709a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Tom,&lt;/p&gt;
&lt;p&gt;The warning isn&amp;#39;t particularly helpful in this case. But the problem is the spi driver fails to be included in the build due a missing dependency on CONFIG_MULTITHREADING being enabled. This requirement has since been removed:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/commit/df65918cfa51d355095571b607e1f23cfb794e23"&gt;https://github.com/zephyrproject-rtos/zephyr/commit/df65918cfa51d355095571b607e1f23cfb794e23&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Adding&amp;nbsp;&lt;span&gt;CONFIG_MULTITHREADING=y to your mcuboot.conf file should fix your&amp;nbsp;&lt;/span&gt;build error.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use SPI from DTS in MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/556580?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 15:12:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:856f661d-e256-4002-97ee-f3b587f5de2a</guid><dc:creator>Tom H.</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;thanks for oyur reply. I am certain that CONFIG_SPI=y is set. Find attached the generated autoconf.h and devicetree_generated.h from the &amp;#39;build\mcuboot\zephyr\include\generated\zephyr&amp;#39; directory.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4744.autoconf.h"&gt;devzone.nordicsemi.com/.../4744.autoconf.h&lt;/a&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0844.devicetree_5F00_generated.h"&gt;devzone.nordicsemi.com/.../0844.devicetree_5F00_generated.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But you are right about a previous warning:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CMake Warning at C:/ncs/v2.9.0/zephyr/CMakeLists.txt:952 (message):
  No SOURCES given to Zephyr library: drivers__spi

  Excluding target from build.


CMake Warning at C:/ncs/v2.9.0/zephyr/CMakeLists.txt:952 (message):
  No SOURCES given to Zephyr library: ..__nrf__subsys__fw_info

  Excluding target from build.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Am I missing an additional configuration entry?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR, Tom&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use SPI from DTS in MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/556572?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 14:28:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa3b1aa1-43d2-4747-99e8-d24766dbd13b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Tom,&lt;/p&gt;
&lt;p&gt;Please check the .config file in build/mcuboot/zephyr/ to confirm that CONFIG_SPI actually ended up being&amp;nbsp;enabled for the bootloader. You may also want to double check that there aren&amp;#39;t any warnings in the build log above the linker error.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>