<?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>nRF5340-DK build fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72260/nrf5340-dk-build-fail</link><description>The drop down does not list the nrf5340dk. 
 Using nRF Connect Toolchain Manager I open a command prompt in the v1.5.0 sdk, 
 cd zephyr\samples\drivers\spi_flash 
 I did: 
 west build -b nrf5340dk_nrf5340_cpuappns 
 and got: 
 
 Looking at the spi_flash</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Mar 2021 13:02:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72260/nrf5340-dk-build-fail" /><item><title>RE: nRF5340-DK build fail</title><link>https://devzone.nordicsemi.com/thread/297510?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 13:02:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a3f1cef-024a-47b3-896e-30c6853d716d</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Happy to hear you got it going!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The official NCS samples can be found under &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/examples.html#applications-and-samples"&gt;Application and Samples in the NCS documentation&lt;/a&gt;, and &lt;em&gt;&amp;lt;NCS install path&amp;gt;nrf\samples\.&lt;/em&gt;&amp;nbsp;These are tested and developed by Nordic Semiconductor specifically for the supported devices.&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Samples found in the Zephyr repository, i.e. &lt;em&gt;&amp;lt;NCS install path&amp;gt;zephyr\samples\drivers\spi_flash\&lt;/em&gt;, are&amp;nbsp;made by the Zephyr community, and may not be fully tested/developed for a specific Nordic device. That said, most of the samples do work with our devices but may need some tweeking/board overlay/etc. The documentation states &amp;quot;&lt;em&gt;The application will build only for a target that has a&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/dts/index.html#dt-guide"&gt;&lt;span&gt;devicetree&lt;/span&gt;&lt;/a&gt;&amp;nbsp;entry with&amp;nbsp;&lt;code&gt;&lt;span&gt;jedec,spi-nor&lt;/span&gt;&lt;/code&gt;&lt;/em&gt;&lt;span&gt;&lt;em&gt;&amp;nbsp;as a compatible.&lt;/em&gt;&amp;quot; The community may have made a quick proff-of-concept test for the nRF5340 adding only one board configuration.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;KInd regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>