<?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>Switching to a custom nRF52840 board for nRF Desktop App</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110775/switching-to-a-custom-nrf52840-board-for-nrf-desktop-app</link><description>I&amp;#39;m trying to configure the nRF Desktop Application for an Adafruit nRF52840 Feather that&amp;#39;s plugged into a custom FeatherWing. The nRF52840 Feather is a supported board so I just used that in the configuration page of the VS Code extension. I copied the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 May 2024 10:15:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110775/switching-to-a-custom-nrf52840-board-for-nrf-desktop-app" /><item><title>RE: Switching to a custom nRF52840 board for nRF Desktop App</title><link>https://devzone.nordicsemi.com/thread/481742?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 10:15:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c34452d6-83a0-4f2f-8938-db98ea82a1af</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Most of the errors in the build log come from missing devicetree configurations, i.e. things that should be defined in app.overlay. However, the configuration files for the nRF52840 DK cannot be directly used for the Adafruit Feather nRF52840, since they are not compatible. For example, the Adafruit Feather only has the reset button compared to the DK&amp;#39;s four user buttons, and it only has 2 user LEDs while the nRF52840 has 4. You will have to change the configuration files, and possibly also the nRF Desktop application itself, to correspond with what is supported by the Adafruit Feather. It might be a good starting point to look at the configuration files for the nRF52840 Dongle instead, as that would be more similar to the Adafruit Feather than the DK.&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: Switching to a custom nRF52840 board for nRF Desktop App</title><link>https://devzone.nordicsemi.com/thread/481556?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 12:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0104499-b3e8-4e96-91aa-07abce2a5b3a</guid><dc:creator>Phyllostachys</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;For the first part, I wiped away the older folders I had and created a new application via the VS Code NCS extension dialog, having it copy the nRF Desktop &amp;#39;sample&amp;#39;. &lt;br /&gt;&lt;br /&gt;Trying it again this morning and it seems to build the same as the in-tree version for both nRF52840dk and the Adafruit Feather. So I must have had stale SDK settings somewhere that broke things.&lt;br /&gt;&lt;br /&gt;For the second part, I created a new configuration folder called &amp;quot;adafruit_feather_nrf52840&amp;quot; to match the naming convention in the &amp;#39;create new build configuration&amp;#39; dialog. With that, I copied everything over from the nrf52840dk_nrf52840 configuration folder since I want to start by matching that. I then commented out everything in the app.overlay file. Here is the build log where I build the in-tree nRF Desktop with the DK configuration then with the Adafruit Feather configuration:&lt;br /&gt;&lt;a id="" href="https://gist.github.com/Phyllostachys/6736041c84da1237bbb96f764d0a1886"&gt;https://gist.github.com/Phyllostachys/6736041c84da1237bbb96f764d0a1886&lt;/a&gt;&lt;br /&gt;(I couldn&amp;#39;t insert it in here for some reason).&lt;/p&gt;
&lt;p&gt;I think it might be failing because I haven&amp;#39;t set up the buttons and those are setup in header files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Switching to a custom nRF52840 board for nRF Desktop App</title><link>https://devzone.nordicsemi.com/thread/481465?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 08:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4120213f-17d5-400e-bf35-d4faad97cee7</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Phyllostachys"]I&amp;#39;ve updated the toolchain and SDK[/quote][quote user="Phyllostachys"]I&amp;#39;ve found that the nRF Desktop application builds fine in-tree[/quote]
&lt;p&gt;Did you create a new application from the nRF Desktop application after updating the SDK, or are you using the one you created from an older version of the SDK? If you are using an application from an older version there might be issues with it working out-of-tree due to changes in path etc. between the SDK versions.&lt;/p&gt;
[quote user="Phyllostachys"]some devicetree issues when I target the Adafruit Feather nRF52840 board[/quote]
&lt;p&gt;Please upload the complete build log, as well as which changes you have made to the application for the adafruit_feather_nrf52840.&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: Switching to a custom nRF52840 board for nRF Desktop App</title><link>https://devzone.nordicsemi.com/thread/481410?ContentTypeID=1</link><pubDate>Wed, 01 May 2024 23:08:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41328c9e-632b-42a1-bdcf-9c95ad24cde5</guid><dc:creator>Phyllostachys</dc:creator><description>&lt;p&gt;I&amp;#39;ve found that the nRF Desktop application builds fine in-tree, and mostly fine except for some devicetree issues when I target the Adafruit Feather nRF52840 board. Why would &amp;#39;create new application from sample&amp;#39; break the build?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Switching to a custom nRF52840 board for nRF Desktop App</title><link>https://devzone.nordicsemi.com/thread/481404?ContentTypeID=1</link><pubDate>Wed, 01 May 2024 20:13:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ad77d67-4b6c-433b-8a33-8532aedd6de7</guid><dc:creator>Phyllostachys</dc:creator><description>&lt;p&gt;I&amp;#39;ve updated the toolchain and SDK but now it appears that the nRF Desktop app is referencing older include headers such as &amp;#39;event_manager.h&amp;#39; appearing to become &amp;#39;app_event_manager.h&amp;#39;, and others. Maybe some renames in Zephyr itself? How well maintained is the nRF Desktop app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>