<?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>Unable to build blinky sample for custom nRF52805 board, missed steps?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116624/unable-to-build-blinky-sample-for-custom-nrf52805-board-missed-steps</link><description>I am evaluating a Fanstel BC805M device, which uses the nRF52805 chipset. I am using VSCode and have installed the nRF Connect Extension Pack, toolchain v2.8.0, and SDK v2.8.0. If I create a blinky sample application, then create a build configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Nov 2024 22:05:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116624/unable-to-build-blinky-sample-for-custom-nrf52805-board-missed-steps" /><item><title>RE: Unable to build blinky sample for custom nRF52805 board, missed steps?</title><link>https://devzone.nordicsemi.com/thread/512454?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 22:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef412a65-d28b-4e6e-9f5a-af82ea7d001e</guid><dc:creator>Dazai</dc:creator><description>&lt;p&gt;To answer my own questions, since I was able to get this working.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question 1: are these files named correctly for Zephyr&amp;#39;s Hardware Model v2?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Yes, although the filenames do not have the &amp;lt;qualifiers&amp;gt; after the board name, e.g. bc805m.dts instead of bc805m_nrf52805.dts, as outlined in the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/hardware/porting/board_porting.html#transition_to_the_current_hardware_model"&gt;hardware model transition guide&lt;/a&gt;, but that only seems necessary if the board supports more than one SoC.&amp;nbsp; For example, the Nordic nRF52 DK supports the nrf52805, nrf52810, and nrf52832 SoCs.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question 2: Are the defconfig options listed in Exercise 1 still valid?&amp;nbsp; If not, where can I find the currently supported config options to add to bc805m_defconfig?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if the options in Exercise 1 are still valid, but I did not have to change anything in bc805m_defconfig to get the blinky sample (without UART!) working.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question 3: Is there a tutorial for custom boards with Zephyr Hardware Model 2?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I couldn&amp;#39;t find an all-in-one tutorial, but I followed the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/hardware/porting/board_porting.html#transition_to_the_current_hardware_model"&gt;Board Porting Guide, Transition to the current hardware model&lt;/a&gt;&amp;nbsp;guide and used&amp;nbsp; zephyr/boards/nordic/nrf52dk/nrf52dk_nrf52805.dts as a reference.&lt;/p&gt;
&lt;p&gt;This was the .dts for Fanstel&amp;#39;s BC805M module that I used to build the blinky project, in case it helps anyone in the future. Please note that I have a 32.768 kHz oscillator connected to pins 13 and 14 of the BC805M.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/dts-v1/;
#include &amp;lt;nordic/nrf52805_caaa.dtsi&amp;gt;
#include &amp;quot;bc805m-pinctrl.dtsi&amp;quot;

/ {
	model = &amp;quot;Custom Board auto generated by nRF Connect for VS Code&amp;quot;;
	compatible = &amp;quot;fanstel,bc805m&amp;quot;;

	chosen {
		zephyr,sram = &amp;amp;sram0;
		zephyr,flash = &amp;amp;flash0;
		zephyr,code-partition = &amp;amp;slot0_partition;
	};

	leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;
		led0: led_0 {
			gpios = &amp;lt;&amp;amp;gpio0 20 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Red LED&amp;quot;;
		};	
	};

	aliases {
		led0 = &amp;amp;led0;
	};
};

&amp;amp;uicr {
	gpio-as-nreset;
};

&amp;amp;gpio0 {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;gpiote {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;flash0 {
	partitions {
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;1&amp;gt;;

		boot_partition: partition@0 {
			label = &amp;quot;mcuboot&amp;quot;;
			reg = &amp;lt;0x00000000 DT_SIZE_K(48)&amp;gt;;
		};

		slot0_partition: partition@c000 {
			label = &amp;quot;image-0&amp;quot;;
			reg = &amp;lt;0x0000c000 DT_SIZE_K(56)&amp;gt;;
		};

		slot1_partition: partition@1a000 {
			label = &amp;quot;image-1&amp;quot;;
			reg = &amp;lt;0x0001a000 DT_SIZE_K(56)&amp;gt;;
		};

		storage_partition: partition@28000 {
			label = &amp;quot;storage&amp;quot;;
			reg = &amp;lt;0x00028000 DT_SIZE_K(32)&amp;gt;;
		};

	};
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build blinky sample for custom nRF52805 board, missed steps?</title><link>https://devzone.nordicsemi.com/thread/512442?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 18:09:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11fa7e99-9887-4681-b314-2971636e1013</guid><dc:creator>Dazai</dc:creator><description>&lt;p&gt;Thank you. I might just need to use SDK &amp;lt; 2.7.0 if I want to follow the intermediate SDK course.&lt;/p&gt;
&lt;p&gt;With SDK v2.8.0, do you know if the current nRF Connect Extension in VSCode, specifically adding a custom board, generates the correct files for the Zephyr Hardware Model V2, or should I copy and modify one of the other boards provided by the SDK for my custom board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build blinky sample for custom nRF52805 board, missed steps?</title><link>https://devzone.nordicsemi.com/thread/511681?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 14:07:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1cac94a-1062-404e-8b8c-0e8636dc8eb4</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The intermidate course doesn&amp;#39;t yet support v2.7.0 or above. as outlined here: &lt;a title="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/" href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/" rel="noopener noreferrer" target="_blank"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/&lt;/a&gt;. So that&amp;#39;s probably why the user sees different result. Support for v2.7.0 &amp;nbsp;( Inc. HWMV2) and above is in progress but not yet ready.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;kazi&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>