<?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>Custom Board with nRF5340 produces build warning: Warning (unique_unit_address_if_enabled)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96780/custom-board-with-nrf5340-produces-build-warning-warning-unique_unit_address_if_enabled</link><description>I am new to nRF5x development coming from a heavy STM32 background. I have successfully created a custom board for use with our company&amp;#39;s custom board which has a nRF5340 on it. 
 nRF Connect SDK: 2.2.0 
 nRF Connect Toolchain: 2.2.0 
 OS: macOS Monterey</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Feb 2023 19:37:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96780/custom-board-with-nrf5340-produces-build-warning-warning-unique_unit_address_if_enabled" /><item><title>RE: Custom Board with nRF5340 produces build warning: Warning (unique_unit_address_if_enabled)</title><link>https://devzone.nordicsemi.com/thread/411200?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2023 19:37:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af1cb05a-994a-4032-893d-a080104a7e0b</guid><dc:creator>cBroadbo2</dc:creator><description>&lt;p&gt;Thanks Marte. &amp;nbsp;I&amp;#39;ll likely disable the warning.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board with nRF5340 produces build warning: Warning (unique_unit_address_if_enabled)</title><link>https://devzone.nordicsemi.com/thread/411042?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2023 09:00:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c1e0aa2-9955-4815-8b0f-7c194e609aef</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Craig,&lt;/p&gt;
&lt;p&gt;I did not find any issues with your board files. Comparing them with the board files and the generated devicetree of nRF5340 DK, the nodes have identical unit addresses, as you say.&lt;br /&gt;The reason for these warnings is that the base addresses of the peripherals are identical. For the nrF5340 DK, there is a flag to ignore the warnings, which is why they do not show up when building for this board and only for custom boards. See &lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/29713"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/29713&lt;/a&gt; for more information. The flag to ignore the warnings is from this pull request &lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/31950"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/31950&lt;/a&gt;. You can let the warnings be, or you can create a file to ignore the warnings as is done here: &lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/31950/files"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/31950/files&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board with nRF5340 produces build warning: Warning (unique_unit_address_if_enabled)</title><link>https://devzone.nordicsemi.com/thread/410745?ContentTypeID=1</link><pubDate>Sat, 18 Feb 2023 19:53:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c791c420-cafb-4451-b815-249e614ede20</guid><dc:creator>cBroadbo2</dc:creator><description>&lt;p&gt;Certainly Marte! &amp;nbsp;Here it is. &amp;nbsp;Thanks for your help.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/vaderb1.zip"&gt;devzone.nordicsemi.com/.../vaderb1.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Craig&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board with nRF5340 produces build warning: Warning (unique_unit_address_if_enabled)</title><link>https://devzone.nordicsemi.com/thread/410637?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 12:38:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0170a8f-d0c3-49e5-82e1-0054007899fe</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Craig,&lt;/p&gt;
&lt;p&gt;Can you share your board files so I can look at them and test them on my side?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>