<?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 build an application with custom board file based on nrf9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112428/how-to-build-an-application-with-custom-board-file-based-on-nrf9160</link><description>I have a custom board file which is based on nrf9160, I want to use it using the west build command and later flash it. I tried the steps under this tutorial: Nordic academy and used DBoardname in the build command but it is still failing. The error is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jul 2024 15:17:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112428/how-to-build-an-application-with-custom-board-file-based-on-nrf9160" /><item><title>RE: How to build an application with custom board file based on nrf9160</title><link>https://devzone.nordicsemi.com/thread/491897?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2024 15:17:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41373e30-20df-4d66-8391-9462ba4be281</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Have you followed&amp;nbsp;Lesson 1&amp;nbsp;in the&amp;nbsp;nRF Connect SDK Fundamentals course? This should show how to install the nRF Connect SDK and not Zephyr Project alone. Please correct me if I am wrong.&lt;/p&gt;
&lt;p&gt;If using nRF Connect SDK, Lesson 3 in the Intermediate course should allow you to add a custom board in a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;boards&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;folder in your application directory. Suitable for prototyping/debugging&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to build an application with custom board file based on nrf9160</title><link>https://devzone.nordicsemi.com/thread/491547?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 09:49:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d789a5de-3d54-4a01-b882-f78c639dd15d</guid><dc:creator>User_PP</dc:creator><description>&lt;p&gt;How can I do that?, use the VS code nrf connect and have to try build it with that?&lt;/p&gt;
&lt;p&gt;but my board name is not recognized as it not there in zephyr directory, How can I add it to the zephyr directory? (in which path do I have to paste)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to build an application with custom board file based on nrf9160</title><link>https://devzone.nordicsemi.com/thread/490862?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 11:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e013069-9115-4e45-a848-f59e02e400f1</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Could you please switch over to nRF Connect SDK and provide whatever error you receive?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to build an application with custom board file based on nrf9160</title><link>https://devzone.nordicsemi.com/thread/490548?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 09:29:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f60b787-6477-439e-95db-7ee1eb05df79</guid><dc:creator>User_PP</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I wanted to somehow integrate with nrf SDK connect such that, in vs code wen trying to build it, this board option will pop up but that did not work out, so I started building with zephyr, but still the build was not successful.&lt;/p&gt;
&lt;p&gt;I tried using the boards present in the sample which I wanted to work with so used the DBoard command with that:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b ciot_connectivity_boardns -- -DBOARD_ROOT=&amp;quot;C:\Users\FutureLab\zephyrproject\zephyr\cellular-edge-sdk-master\samples\getting_started&amp;quot; 
cellular-edge-sdk-master/samples/getting_started&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;which produced the following error:&lt;pre class="ui-code" data-mode="text"&gt;west build -b ciot_connectivity_boardns -- -DBOARD_ROOT=&amp;quot;C:\Users\FutureLab\zephyrproject\zephyr\cellular-edge-sdk-master\samples\getting_started&amp;quot; 
cellular-edge-sdk-master/samples/getting_started
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: C:/Users/FutureLab/zephyrproject/zephyr/cellular-edge-sdk-master/samples/getting_started
-- CMake version: 3.28.0-rc1
-- Cache files will be written to: C:/Users/FutureLab/zephyrproject/zephyr/.cache
-- Zephyr version: 3.6.99 (C:/Users/FutureLab/zephyrproject/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: ciot_connectivity_boardns
-- Found host-tools: zephyr 0.16.8 (C:/Users/FutureLab/zephyr-sdk-0.16.8)
-- Found toolchain: zephyr 0.16.8 (C:/Users/FutureLab/zephyr-sdk-0.16.8)
-- Found BOARD.dts: C:/Users/FutureLab/zephyrproject/zephyr/cellular-edge-sdk-master/samples/getting_started/boards/arm/ciot_connectivity_boardns/ciot_connectivity_boardns.dts
-- Found devicetree overlay: C:/Users/FutureLab/zephyrproject/zephyr/cellular-edge-sdk-master/samples/getting_started/boards/ciot_connectivity_boardns.overlay
devicetree error: &amp;#39;pinctrl-0&amp;#39; is marked as required in &amp;#39;properties:&amp;#39; in C:/Users/FutureLab/zephyrproject/zephyr/dts/bindings\serial\nordic,nrf-uarte.yaml, but does not appear in &amp;lt;Node /soc/peripheral@50000000/uart@9000 in &amp;#39;C:/Users/FutureLab/zephyrproject/zephyr/misc/empty_file.c&amp;#39;&amp;gt;
-- In: C:/Users/FutureLab/zephyrproject/zephyr/build/zephyr, command: C:/Users/FutureLab/AppData/Local/Programs/Python/Python312/python.exe;C:/Users/FutureLab/zephyrproject/zephyr/scripts/dts/gen_defines.py;--dts;C:/Users/FutureLab/zephyrproject/zephyr/build/zephyr/zephyr.dts.pre;--dtc-flags;&amp;#39;&amp;#39;;--bindings-dirs;C:/Users/FutureLab/zephyrproject/zephyr/dts/bindings;--header-out;C:/Users/FutureLab/zephyrproject/zephyr/build/zephyr/include/generated/zephyr/devicetree_generated.h.new;--dts-out;C:/Users/FutureLab/zephyrproject/zephyr/build/zephyr/zephyr.dts.new;--edt-pickle-out;C:/Users/FutureLab/zephyrproject/zephyr/build/zephyr/edt.pickle;--vendor-prefixes;C:/Users/FutureLab/zephyrproject/zephyr/dts/bindings/vendor-prefixes.txt
CMake Error at C:/Users/FutureLab/zephyrproject/zephyr/cmake/modules/dts.cmake:296 (message):
  gen_defines.py failed with return code: 1
Call Stack (most recent call first):
  C:/Users/FutureLab/zephyrproject/zephyr/cmake/modules/zephyr_default.cmake:132 (include)
  C:/Users/FutureLab/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/Users/FutureLab/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
  CMakeLists.txt:11 (find_package)


-- Configuring incomplete, errors occurred!
←[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\Program Files\CMake\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/Users/FutureLab/AppData/Local/Programs/Python/Python312/python.exe &amp;#39;-BC:\Users\FutureLab\zephyrproject\zephyr\build&amp;#39; -GNinja &amp;#39;-DBOARD_ROOT=C:\Users\FutureLab\zephyrproject\zephyr\cellular-edge-sdk-master\samples\getting_started&amp;#39; cellular-edge-sdk-master/samples/getting_started 
&amp;#39;-SC:\Users\FutureLab\zephyrproject\zephyr\cellular-edge-sdk-master\samples\getting_started&amp;#39;
←[0m&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to build an application with custom board file based on nrf9160</title><link>https://devzone.nordicsemi.com/thread/490542?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 09:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3e46a9c-9d3e-4512-a17e-027c74077bf0</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the provided build logs it looks like you are working with the Zephyr project alone, and not the nRF Connect SDK. Can you please confirm?&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>