<?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>I need to add USB HID support for nRF52833 chip in Arduino.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88171/i-need-to-add-usb-hid-support-for-nrf52833-chip-in-arduino</link><description>Hello, we are developing a keyboard with two types of connections, via USB and Bluetooth using the nRF52833 chip. 
 We have all the firmware developed in Arduino since it is an open hardware and open source product. 
 I have been able to compile some</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jul 2022 08:12:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88171/i-need-to-add-usb-hid-support-for-nrf52833-chip-in-arduino" /><item><title>RE: I need to add USB HID support for nRF52833 chip in Arduino.</title><link>https://devzone.nordicsemi.com/thread/376545?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 08:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a5490a8-2901-47db-adf5-99bb87e304bb</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The SDK is not written to support C++, only C. Unfortunately, this is not something we can support you on.&lt;/p&gt;
&lt;p&gt;There are a few threads regarding C++ on this forum already, you may check some of them out to see if it can help you resolve your issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to add USB HID support for nRF52833 chip in Arduino.</title><link>https://devzone.nordicsemi.com/thread/376510?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2022 21:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a89472f5-e76f-4f1d-85bc-530ec90bc9b0</guid><dc:creator>driverGuy</dc:creator><description>&lt;p&gt;I&amp;#39;m compiling the example &amp;quot;usbd_hid_composite&amp;quot; in SEGGER studio with no problem but since our project is written in C++, when renaming main.c to main.cpp the compiler throws the following error:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;2&amp;gt; C:/Trabajo/firmware/nRF52xx/nRF5_SDK_17.1.0/components/libraries/usbd/app_usbd_class_base.h:815:5: error: designator order for field &amp;#39;app_usbd_hid_inst_t::p_hid_methods&amp;#39; does not match declaration order in &amp;#39;app_usbd_hid_inst_t&amp;#39;
2&amp;gt; C:/Trabajo/firmware/nRF52xx/nRF5_SDK_17.1.0/components/libraries/usbd/app_usbd_class_base.h:946:9: note: in expansion of macro &amp;#39;APP_USBD_CLASS_INSTANCE_INITVAL&amp;#39;
2&amp;gt; C:/Trabajo/firmware/nRF52xx/nRF5_SDK_17.1.0/components/libraries/usbd/class/hid/mouse/app_usbd_hid_mouse_internal.h:174:5: note: in expansion of macro &amp;#39;APP_USBD_CLASS_INST_GLOBAL_DEF&amp;#39;
2&amp;gt; C:/Trabajo/firmware/nRF52xx/nRF5_SDK_17.1.0/components/libraries/usbd/class/hid/mouse/app_usbd_hid_mouse.h:105:5: note: in expansion of macro &amp;#39;APP_USBD_HID_MOUSE_GLOBAL_DEF_INTERNAL&amp;#39;
2&amp;gt; C:\Trabajo\firmware\nRF52xx\nRF5_SDK_17.1.0\defy_wireless_firmware\main.cpp:176:1: note: in expansion of macro &amp;#39;APP_USBD_HID_MOUSE_GLOBAL_DEF&amp;#39;
2&amp;gt; C:/Trabajo/firmware/nRF52xx/nRF5_SDK_17.1.0/components/libraries/usbd/app_usbd_class_base.h:815:5: error: designator order for field &amp;#39;app_usbd_hid_inst_t::p_hid_methods&amp;#39; does not match declaration order in &amp;#39;app_usbd_hid_inst_t&amp;#39;
2&amp;gt; C:/Trabajo/firmware/nRF52xx/nRF5_SDK_17.1.0/components/libraries/usbd/app_usbd_class_base.h:946:9: note: in expansion of macro &amp;#39;APP_USBD_CLASS_INSTANCE_INITVAL&amp;#39;
2&amp;gt; C:/Trabajo/firmware/nRF52xx/nRF5_SDK_17.1.0/components/libraries/usbd/class/hid/kbd/app_usbd_hid_kbd_internal.h:169:5: note: in expansion of macro &amp;#39;APP_USBD_CLASS_INST_GLOBAL_DEF&amp;#39;
2&amp;gt; C:/Trabajo/firmware/nRF52xx/nRF5_SDK_17.1.0/components/libraries/usbd/class/hid/kbd/app_usbd_hid_kbd.h:233:9: note: in expansion of macro &amp;#39;APP_USBD_HID_KBD_GLOBAL_DEF_INTERNAL&amp;#39;
2&amp;gt; C:\Trabajo\firmware\nRF52xx\nRF5_SDK_17.1.0\defy_wireless_firmware\main.cpp:189:1: note: in expansion of macro &amp;#39;APP_USBD_HID_KBD_GLOBAL_DEF&amp;#39;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I have tried to rewrite the HID for a composite keyboard + mouse device but the way the HID is defined in the library via macros makes it humanly impossible to decipher. Any suggestion?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to add USB HID support for nRF52833 chip in Arduino.</title><link>https://devzone.nordicsemi.com/thread/376021?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 12:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f92be6d7-e62b-4ee3-8857-38747a53ed3e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You can download nRF5 SDK releases from &lt;a href="https://developer.nordicsemi.com/nRF5_SDK/"&gt;this page&lt;/a&gt;. Just download and unzip the release to a location close to the root of your harddrive. Then follow the instructions in&amp;nbsp;&lt;a title="Getting started with nRF5 SDK and SES (nRF51 &amp;amp; nRF52 Series)" href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/intro.html?cp=1_0_2"&gt;Getting started with nRF5 SDK and SES (nRF51 &amp;amp; nRF52 Series)&lt;/a&gt;&amp;nbsp;and &lt;a title="Getting Started" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf51_getting_started.html?cp=8_1_1"&gt;Getting Started&lt;/a&gt;&amp;nbsp;to build examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to add USB HID support for nRF52833 chip in Arduino.</title><link>https://devzone.nordicsemi.com/thread/375157?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 16:40:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f59cacc1-3fc3-4f81-927b-604e952c0968</guid><dc:creator>driverGuy</dc:creator><description>&lt;p&gt;I have seen that in previous SDKs, specifically nRF5 SDK v17.0.2, the following examples fit my needs very well:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/usbd_hid_composite_example.html"&gt;infocenter.nordicsemi.com/.../usbd_hid_composite_example.html&lt;/a&gt;&lt;br /&gt;Y&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/usbd_ble_uart_example.html"&gt;infocenter.nordicsemi.com/.../usbd_ble_uart_example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How do I install nRF5 SDK v17.0.2, I have Toolchain Manager V1.1.0 but I can only install new SDKs and the problem with these is that all the examples use Zephyr OS and I need bare metal examples. I think that sample programs are given, these should be neutral to be able to be ported to any platform or RTOS that one wants to use and not only centralize the entire SDK in Zephyr OS, that takes away a lot of flexibility from the platform.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to add USB HID support for nRF52833 chip in Arduino.</title><link>https://devzone.nordicsemi.com/thread/369730?ContentTypeID=1</link><pubDate>Fri, 27 May 2022 08:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:871c17c0-0e5e-464b-8793-aa8b95773694</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You can reference the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.99-ncs1-1/drivers/usb/device/usb_dc_nrfx.c"&gt;USB device driver for NRFX in nRF Connect SDK/Zephyr&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to add USB HID support for nRF52833 chip in Arduino.</title><link>https://devzone.nordicsemi.com/thread/369628?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 22:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de89446c-c0da-4ac9-b282-76442208ef5b</guid><dc:creator>driverGuy</dc:creator><description>&lt;p&gt;There is any available example to port USBD NRFX driver?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to add USB HID support for nRF52833 chip in Arduino.</title><link>https://devzone.nordicsemi.com/thread/369121?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 21:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f826d4e1-cd93-4fa4-8d22-97e8e41ac310</guid><dc:creator>driverGuy</dc:creator><description>&lt;p&gt;Thanks for replying quickly. I&amp;#39;ll try with the library you mention, I&amp;#39;ll comment on the progress.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to add USB HID support for nRF52833 chip in Arduino.</title><link>https://devzone.nordicsemi.com/thread/368992?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 11:29:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faf49cb0-b45e-438d-b2d9-7d2ca511e8a4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You may be able to integrate the &lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/master/drivers/src/nrfx_usbd.c"&gt;NRFX USDB driver&lt;/a&gt; with Arduino, to implement the required functions.&lt;/p&gt;
&lt;p&gt;Unfortunately, we do not support Arduino, so you will have to implement this yourself, or hope for some help from the DevZone community.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>