adafruit / Adafruit_nRF52_Bootloader

USB-enabled bootloaders for the nRF52 BLE SoC chips
MIT License
450 stars 409 forks source link

HID Support #225

Closed jwillikers closed 2 years ago

jwillikers commented 3 years ago

Is your feature request related to a problem? Please describe.

I'd like to use the hf2-rs utility to develop in Rust for the Circuit Playground Bluefruit, like I currently do for the Circuit Playground Express. This is not possible right now because the nRF52 bootloader does not support HID, which is necessary. The samd bootloader, on the other hand, has this support available.

Describe the solution you'd like

I'd like Adafruit's nRF52 bootloader to add HID support like that available in the uf2-samdx1 bootloader.

Describe alternatives you've considered

Manually creating a UF2 firmware file and using drag-and-drop or manually creating a DFU archive and uploading that with adafruit-nrfutil.

Additional context

The original issue is jacobrosenthal/hf2-rs#41. HID support appears to mostly be implemented in uf2hid.h, uf2.h, and hid.c in uf2-samdx1.

ladyada commented 3 years ago

hiya - if you submit a PR we could review and merge it!