<?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>how to add a new device,</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101618/how-to-add-a-new-device</link><description>I want to add a new spi flash and the vendor is not support in vendor-prefixes.txt, 
 I have add device tree in overlay file 
 
 
 
 
 zettaa,zd25.yaml file: 
 
 
 
 description : Zetta zd25 (or compatible) SPI flash 
 
 compatible : &amp;quot;zetta,zd25&amp;quot; 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jul 2023 12:32:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101618/how-to-add-a-new-device" /><item><title>RE: how to add a new device,</title><link>https://devzone.nordicsemi.com/thread/436476?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 12:32:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42d453aa-6647-4f05-9b64-a6355ba6a04a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Due to the summer holiday period here in Norway we&amp;#39;re currently low on staff, so delayed replies must be expected. Please check out&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/76432/implementing-ws2812-driver-ncs-undefined-reference-to-__device_dts_ord_61/315922"&gt; this case&lt;/a&gt; where my colleague has resolved an issue similar to this.&lt;/p&gt;
&lt;p&gt;If that doesn&amp;#39;t provide any answers, please show me what you have on line 216 in your main.c file as that seems to be where this error occurs. It seems to me like you&amp;#39;ve just added the name of Zetta zd25 to your SDK. You will also need to change frequency and JEDEC ID, etc. to what the zd25 device&amp;#39;s datasheet states is correct.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add a new device,</title><link>https://devzone.nordicsemi.com/thread/435666?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2023 09:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ede9b1d-f7ad-49d3-a1ae-c411a25e62d4</guid><dc:creator>xht1987</dc:creator><description>&lt;div&gt;&lt;code&gt;zettaa,zd25.yaml file:&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span&gt;Zetta zd25 (or compatible) SPI flash&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;zetta,zd25&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;include&lt;/span&gt;&lt;span&gt;: [&lt;/span&gt;&lt;span&gt;spi-device.yaml&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;jedec,spi-nor-common.yaml&amp;quot;&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;vendor-prefixes.txt file:&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;# Device tree binding vendor prefix registry. Keep this list in&lt;br /&gt;# alphabetical order.&lt;br /&gt;#&lt;br /&gt;# This isn&amp;#39;t an exhaustive list, but you should add new prefixes to it&lt;br /&gt;# before using them to avoid name-space collisions.&lt;br /&gt;#&lt;br /&gt;# The contents of this file are parsed during documentation generation.&lt;br /&gt;# Anything that starts with a &amp;#39;#&amp;#39; is treated as a comment and ignored.&lt;br /&gt;# Non-empty lines should be in this format:&lt;br /&gt;#&lt;br /&gt;# &amp;lt;vendor-prefix&amp;gt;&amp;lt;TAB&amp;gt;&amp;lt;Full name of vendor&amp;gt;&lt;br /&gt;&lt;br /&gt;zetta ZETTA Technology, Inc.&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;I have looked the example, I can not find the problem&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add a new device,</title><link>https://devzone.nordicsemi.com/thread/435117?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2023 06:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f84abf82-011a-4656-a83c-f5a4ef0cb70c</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you post the content of DTS/bindings?&lt;/p&gt;
&lt;p&gt;You can also have a look at this &lt;a href="https://github.com/martelmy/NCS_examples/tree/main/devicetree/devicetree_custom_device"&gt;example &lt;/a&gt;a colleague made&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>