Files
OpenSK/boards/nordic/nrf52840dk_opensk_a
Liam Murphy 2b541d853b Create a 2nd USB interface for the Vendor HID (#472)
* Add USB interface for Vendor HID.

This new interface is enumerated by the host, but the device transmits
all packets on the existing interface, so the device won't function
correct in this mode until this this fixed.

The changes are in tock, and so appear as a patch here. These are:
* supporting multiple HIDs in the USB configuration
* adding the HID descriptors for the new inteface
* supporting the vendor_hid feature in relevant Cargo.toml files.
NOTE: only boards/nordic/nrf52840dk_opensk has been updated.

As the changes are in tockos, deploy script needed to pass vendor_hid
feature to tockos build stage.

Demo of output:
lsusb -v -d 1915:521f | grep "NumInterfaces"
    bNumInterfaces          2

* fix some whitespace from review

* Add vendor_hid feature in all boards in this repo, not via a patch in tock.

The boards directories are copied to tockos as part of
setup-submodules.sh

* Remove nesting from HID config in create_descriptor_buffers()

* update comments about HID descriptor use.
2022-05-03 10:35:35 +02:00
..

Platform-Specific Instructions: nRF52840-DK, partition A

This is an upgrade partition for the adapted nrf52840dk in ../nrf52840dk_opensk.

Compared to our regular board definition for the nrf52840dk, changes are:

  • a layout.ld with 128 kB for kernel and app
  • the matching kernel address in the Makefile
  • different StorageLocations in build.rs

For everything else, please check the README in ../nrf52840dk_opensk.