Angel Cascarino
fa9d483d2f
Updated hwlock allocation
2022-01-04 13:23:15 +00:00
Angel Cascarino
1ae9c55477
Added hardware locks
2022-01-04 12:37:05 +00:00
Michael Banther
4f35551547
Merge pull request #230 from CiaranWoodward/feature/unit-functional
...
Modify unit test report descriptor to match the working 3610
2021-12-23 15:06:48 +00:00
Ciaran Woodward
cb774f3c11
Modify unit test report descriptor to match the working 3610
2021-12-23 12:38:27 +00:00
Michael Banther
66a611f4fd
Merge pull request #229 from mbanth/feature/multiple_hid_reports
...
Iterate through the correct set of HID Report IDs, plus some clean up.
2021-12-23 11:04:18 +00:00
mbanth
b61ea63d40
Iterate through the correct set of HID Report IDs, plus some clean up.
2021-12-23 10:31:07 +00:00
Michael Banther
8c132af069
Merge pull request #228 from CiaranWoodward/feature/multiple_hid_reports
...
Fix the handling of setidle requests
2021-12-22 17:15:05 +00:00
Ciaran Woodward
93229a7509
Fix refactoring error
2021-12-22 16:52:54 +00:00
Ciaran Woodward
466cc0abbb
Fix the handling of setidle requests
2021-12-22 16:29:03 +00:00
Michael Banther
d5d5bd0637
Merge pull request #226 from CiaranWoodward/feature/multiple_hid_reports
...
Support multiple HID Reports & update examples for new API
2021-12-21 16:53:54 +00:00
Ciaran Woodward
ee6c22bd37
Loosen up usage page check in validate
...
While the implementation can only support one usage per report id,
the report collections themselves have usages, which are acceptable.
This change allows these usages to pass the validate check.
2021-12-21 12:43:34 +00:00
Ciaran Woodward
703a277059
Remove debug printfs
2021-12-21 12:18:57 +00:00
Ciaran Woodward
b88342ab2b
Add new hid page ID constant
2021-12-21 11:21:17 +00:00
Ciaran Woodward
e7f9428731
Fix typos in unit tests
2021-12-20 17:34:01 +00:00
Ciaran Woodward
6400e146d0
Add an iterator style mechanism for iterating through report IDs
2021-12-20 17:26:08 +00:00
Ciaran Woodward
da114a1dea
Merge pull request #1 from ACascarino/feature/multiple_hid_reports
...
Update lib_xua multiple_hid_reports from review
2021-12-20 17:21:25 +00:00
Angel Cascarino
77398218b5
Apply suggestions from code review
...
Co-authored-by: Ciaran Woodward <ciaranwoodward@gmail.com >
2021-12-20 17:17:34 +00:00
Angel Cascarino
244a7718a1
Corrected type in documentation
2021-12-20 17:11:50 +00:00
Angel Cascarino
e71ffdba00
Missed a semicolon...
2021-12-20 17:10:48 +00:00
Angel Cascarino
625123e4a6
Clarified ep_buffer.xc setup stall
...
Added getter hidIsReportDescriptorPrepared(),
allowing more readable logic in the setup phase of
ep_buffer.xc
2021-12-20 16:45:24 +00:00
Angel Cascarino
548992ab5c
Removed USB_HID_REPORT_ID_CONSUMER as per review.
2021-12-20 15:46:15 +00:00
Ciaran Woodward
ccc1ee4021
Fix inverted isSilenced logic, add INVALID_ID constant
2021-12-20 14:47:20 +00:00
Angel Cascarino
ab96a726d6
Altered format on test report_descriptor.h
2021-12-20 12:51:26 +00:00
Ciaran Woodward
d3d9b5ba23
Add hidReportIdInUse command to determine whether report IDs are used
2021-12-17 14:35:23 +00:00
Ciaran Woodward
c3e95a379f
Add some report time tests & fix comments]
2021-12-15 12:44:39 +00:00
Ciaran Woodward
5be97ac227
Begin work on setidle unit tests
2021-12-14 14:15:48 +00:00
Ciaran Woodward
8799f5f36e
Refactor HID report descriptor validation function
2021-12-13 12:51:40 +00:00
Ciaran Woodward
71dd8b5409
Add descriptor validation function & fix issues it found
...
Note this is in progress, I either want to move the check function somewhere else,
or convert the printf calls to something else (I imagine some kind of log function
exists?)
2021-12-10 18:00:04 +00:00
Ciaran Woodward
e41aed6ffb
Update examples to work with new API
2021-12-10 11:46:01 +00:00
Ciaran Woodward
548ccebb27
Propegate constants and helper macro around codebase
2021-12-10 11:32:04 +00:00
Ciaran Woodward
3895b486ab
Add constants header for common constants; helper macro for header
2021-12-10 10:45:54 +00:00
Michael Banther
ebeae1fa17
Merge pull request #2 from CiaranWoodward/feature/multiple_hid_reports_tests
...
Update tests to work with new report-id api
2021-12-09 18:45:08 +00:00
Ciaran Woodward
f328deb336
style
2021-12-09 18:02:42 +00:00
Ciaran Woodward
353d7c3c8d
Fix merge issues
2021-12-09 17:28:16 +00:00
Ciaran Woodward
5f971af054
Merge remote-tracking branch 'michael/feature/multiple_hid_reports' into feature/multiple_hid_reports_tests
2021-12-09 17:19:04 +00:00
mbanth
2b5dab51b5
Add explicit initialization of static variables in hid_report.c
2021-12-09 16:15:29 +00:00
Ciaran Woodward
19be25809b
Fix implementation of hidGetReportIdLimit to match docs & usage
2021-12-09 16:10:28 +00:00
mbanth
26cac1abb1
Update includes of xua_hid_report.h
2021-12-09 15:58:51 +00:00
mbanth
03a5024520
Renamed xua_hid_report_descriptor.h to xua_hid_report.h
2021-12-09 15:45:05 +00:00
mbanth
08ed5ee668
Renamed hid_report_descriptor.c to hid_report.c
2021-12-09 15:44:19 +00:00
mbanth
2b96ea0171
Increment major version and add change log entries
2021-12-09 15:29:45 +00:00
Ciaran Woodward
1b186a0c2f
Remove test-specific information from hid_report_descriptor.h
2021-12-09 14:55:38 +00:00
Ciaran Woodward
ed7a33b40f
Write a bunch of unit tests that exercise the HID report IDs
2021-12-09 11:45:03 +00:00
Ciaran Woodward
459ce6bd63
Begin building up a set of multi-report unit tests
...
This work is starting by expanding the tests written for
single report purposes. I have also added a couple of
extra simple tests that made sense (under/overflow of
report IDs) as I went along.
2021-12-08 17:55:33 +00:00
Ciaran Woodward
3819f30ad0
Enable waf building unit tests in different confgurations
2021-12-08 15:47:15 +00:00
Ciaran Woodward
79e256f829
Update existing unit tests to work with the new API
2021-12-08 12:34:14 +00:00
Ciaran Woodward
be90779db5
Temporary workaround for ENDPOINT_INT_INTERVAL_IN_HID definition
2021-12-08 12:33:37 +00:00
Ciaran Woodward
de382e5cc0
Merge remote-tracking branch 'angel/feature/multiple_hid_reports' into feature/multiple_hid_reports_tests
2021-12-08 11:28:37 +00:00
Angel Cascarino
6dfc934d36
Correct error in hidCaptureReportTime
2021-12-08 11:14:52 +00:00
Ciaran Woodward
7dfd78deb4
Update unit test header to match new report id api
2021-12-08 11:01:33 +00:00