Commit Graph

21 Commits

Author SHA1 Message Date
Nav
adcca0079d Check if Microchip hybrid devices (Snap and PICkit 4) are not in AVR mode and report back to the user. 2023-05-07 16:44:15 +01:00
Nav
de97e8d4e0 Tidying 2023-02-20 21:55:55 +00:00
Nav
e6f53b1afd Tidying 2023-01-14 03:03:22 +00:00
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
15d9dbe5e4 Tidying 2022-10-02 15:29:30 +01:00
Nav
1bf0e97248 Replaced manual resource management of libusb_config_descriptor resource, with std::unique_ptr 2022-10-02 13:48:42 +01: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
6c436cbefc Tidying 2022-08-27 17:56:55 +01:00
Nav
dd204742d3 Renamed Linux to GNU/Linux and other tidying 2022-06-01 21:48:27 +01:00
Nav
53a3c815d7 Removed using namespace directive for class member function definitions in source files 2022-02-05 15:32:08 +00: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
85fbf1ada4 Used more specific exception classes to allow the TC to handle device failure errors better 2021-08-15 01:47:48 +01:00
Nav
d365f6348b General tidying, addressing issues found by static analysis tool. 2021-06-22 23:52:31 +01:00
Nav
6d3455f21b Clarified license for HIDAPI header 2021-04-09 20:48:59 +01:00
Nav
0f309e04c7 Cleaned up default target variant selection code and some tidying 2021-04-09 20:39:04 +01:00
Nav
509ff084cd Refactored some of the USB device (libusb wrapper) & interface code 2021-04-07 23:30:01 +01:00
Nav
7a28f93ee9 Tidying 2021-04-06 23:20:50 +01:00
Nav
a29c5e1fec Initial commit 2021-04-04 21:04:12 +01:00