Commit Graph

9 Commits

Author SHA1 Message Date
Nav
dfaac9e30f Extract HID report size for EDBG debug tools via HID endpoint descriptor.
Removed hidapi bodge (where we were mimicking the hid_device_ struct, to
obtain the report size via `(hid_device_*)->input_ep_max_packet_size`).
2023-01-14 03:03:10 +00:00
Nav
afffaafc86 Fixed hard-coded configurationIndex value when setting USB configuration on a USB device 2022-10-02 13:28:27 +01:00
Nav
065a389dfe Improved naming consistency of aliases 2022-10-01 21:01:37 +01:00
Nav
a5b0097036 Tidying low-level debug tool driver code:
- Use automatic objects for libusb/hidapi resources, where possible (to reduce manual resource management)
- Removed unused/redundant code
- Tidied HidInterface class
- Tidied debug tool initialisation code
- Other bits of tidying
2022-10-01 16:50:57 +01:00
Nav
d462358b1e Tidying 2022-01-11 21:12:25 +00:00
Nav
6edfb7376a Tidied structure of all classes within the entire code base
Also some other small bits of tidying
2021-10-31 11:36:28 +00:00
Nav
d365f6348b General tidying, addressing issues found by static analysis tool. 2021-06-22 23:52:31 +01:00
Nav
509ff084cd Refactored some of the USB device (libusb wrapper) & interface code 2021-04-07 23:30:01 +01:00
Nav
a29c5e1fec Initial commit 2021-04-04 21:04:12 +01:00