<?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>Can&amp;#39;t build nrf desktop after changing build to new .conf with identical contents</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106151/can-t-build-nrf-desktop-after-changing-build-to-new-conf-with-identical-contents</link><description>ncs 2.4.2, windows 10, nrf52840 
 In an effort to make nrf desktop work with keyboard and mouse, I added these lines to prj_keyboard.conf. The changes were inspired by this thread . 
 
 CONFIG_DESKTOP_HID_REPORT_MOUSE_SUPPORT =y 
 CONFIG_DESKTOP_PERIPHERAL_TYPE_MOUSE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Dec 2023 11:53:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106151/can-t-build-nrf-desktop-after-changing-build-to-new-conf-with-identical-contents" /><item><title>RE: Can't build nrf desktop after changing build to new .conf with identical contents</title><link>https://devzone.nordicsemi.com/thread/459154?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 11:53:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b3271cf-c687-44c2-986a-8d0719c48b95</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Is &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/kconfig/setting.html#the-initial-configuration"&gt;Kconfig: The Initial Configuration&lt;/a&gt; docs what you are looking for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build nrf desktop after changing build to new .conf with identical contents</title><link>https://devzone.nordicsemi.com/thread/459085?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 00:20:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ace3be4-4d41-41b5-8745-b2138232efe1</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;Okay, thank you.&lt;/p&gt;
&lt;p&gt;Just to wrap this question up, could you explain or point to some resources that would explain how to rename prj_keyboard.conf and have it build, or more generally to add my own conf file?&lt;/p&gt;
&lt;p&gt;I can just use prj_keyboard.conf for now, but it&amp;nbsp;would be ideal if I could express in the filename that it is a modified conf file.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build nrf desktop after changing build to new .conf with identical contents</title><link>https://devzone.nordicsemi.com/thread/458695?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 10:22:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34fd4d02-1cd9-4b6a-971d-3ecce20800e0</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="mrd"]Why would I not be able to add my own custom .conf file with identical contents?[/quote]
&lt;p&gt;Most likely because when you build with prj_keyboard.conf, other _keyboard files are automatically added to the build.&lt;br /&gt;When you use a custom name, that will not be the case&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build nrf desktop after changing build to support keyboard and mouse</title><link>https://devzone.nordicsemi.com/thread/458459?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 08:44:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80f27ff5-70a2-47c5-931d-ae09f12c7834</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="mrd"]If I build with a modified prj_keyboard.conf, it works.[/quote]
&lt;p&gt;When you build with prj_keyboard.conf, the build system will also add other _keyboard files to the build, such as &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/applications/nrf_desktop/configuration/nrf52840dk_nrf52840/child_image/b0/prj_keyboard.conf"&gt;child_image/b0/prj_keyboard.conf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build nrf desktop after changing build to support keyboard and mouse</title><link>https://devzone.nordicsemi.com/thread/458400?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 20:00:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd5abced-f3f1-487a-b4f3-ff361d6303d0</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;Ah I see!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I made a new .conf file with my new&amp;nbsp;settings and attempted to link it into the project to cause the issue.&lt;/p&gt;
&lt;p&gt;If I build with a modified prj_keyboard.conf, it works.&lt;/p&gt;
&lt;p&gt;Why would I not be able to add my own custom .conf file with identical contents?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build nrf desktop after changing build to support keyboard and mouse</title><link>https://devzone.nordicsemi.com/thread/458306?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 13:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d765569-62fd-4113-9df3-d266ab989f26</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I tried to build the nrf_desktop sample for nRF52840DK with these configurations, and it builds without errors.&lt;/p&gt;
&lt;p&gt;nRF Connect SDK v2.4.0&lt;/p&gt;
&lt;p&gt;build command: &lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -p -b nrf52840dk_nrf52840 -- -DCONF_FILE=prj_keyboard.conf&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Changes:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/applications/nrf_desktop/configuration/nrf52840dk_nrf52840/prj_keyboard.conf b/applications/nrf_desktop/configuration/nrf52840dk_nrf52840/prj_keyboard.conf
index 6b32172e3..03302ecfb 100644
--- a/applications/nrf_desktop/configuration/nrf52840dk_nrf52840/prj_keyboard.conf
+++ b/applications/nrf_desktop/configuration/nrf52840dk_nrf52840/prj_keyboard.conf
@@ -115,3 +115,20 @@ CONFIG_BUILD_S1_VARIANT=y
 CONFIG_FW_INFO=y
 CONFIG_FW_INFO_FIRMWARE_VERSION=1
 CONFIG_SB_SIGNING_KEY_FILE=&amp;quot;b0_private.pem&amp;quot;
+
+
+CONFIG_DESKTOP_HID_REPORT_MOUSE_SUPPORT=y
+CONFIG_DESKTOP_PERIPHERAL_TYPE_MOUSE=y
+CONFIG_DESKTOP_HID_BOOT_INTERFACE_MOUSE=y
+CONFIG_BT_HIDS_INPUT_REP_MAX=4
+CONFIG_BT_HIDS_ATTR_MAX=49
+CONFIG_BT_GATT_UUID16_POOL_SIZE=74
+CONFIG_BT_GATT_CHRC_POOL_SIZE=24
+CONFIG_DESKTOP_MOTION_SIMULATED_ENABLE=y
+CONFIG_DESKTOP_MOTION_SIMULATED_EDGE_TIME=32
+CONFIG_DESKTOP_MOTION_SIMULATED_SCALE_FACTOR=2
+CONFIG_DESKTOP_HID_REPORT_KEYBOARD_SUPPORT=y
+
+
+CONFIG_DESKTOP_HID_EVENT_QUEUE_SIZE=60
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build nrf desktop after changing build to support keyboard and mouse</title><link>https://devzone.nordicsemi.com/thread/458192?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 20:41:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b037dbf6-7c8e-4e77-b76a-6211e449ae42</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;lt;nrf_desktop folder&amp;gt;/configuration/nrf52840dk_nrf52840/prj_keyboard.conf&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and just in case it&amp;#39;s relevant, I inserted the config definitions just below&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_DESKTOP_HID_EVENT_QUEUE_SIZE&lt;/span&gt;&lt;span&gt;=60&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build nrf desktop after changing build to support keyboard and mouse</title><link>https://devzone.nordicsemi.com/thread/458060?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 11:36:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dcd4c6c-cebc-4eb8-a88b-d9e09c65b563</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user=""]prj_keyboard.conf.[/quote]
&lt;p&gt;Can you give the exact path?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>