Angel Cascarino
5fa86dabbb
Updated unit tests to remove "reportAll" tests
2022-01-11 16:27:28 +00:00
Angel Cascarino
9863b37ead
Remove ref. to IsReportIdInUse in ep_buffer
2022-01-11 16:12:05 +00:00
Angel Cascarino
46f516ddbc
Updated header
2022-01-11 16:10:21 +00:00
Angel Cascarino
a404138903
Removed "reset" ability of UpdateReportPeriod
...
In the event where an invalid reportDuration is supplied, previously HidUpdateReportPeriod
would reset the period for the specified ID to
ENDPOINT_INT_INTERVAL_IN_HID * MS_IN_TICKS.
As the default period is now application-specific,
hid.xc cannot know what the appropriate value is,
and so this has been removed.
2022-01-11 16:06:11 +00:00
Angel Cascarino
147b5fb7f7
Corrected hidAreReportIDsInUse
2022-01-11 15:58:42 +00:00
Angel Cascarino
ebb3a0bfcb
Merge branch 'feature/set_idle_work' of github.com:ACascarino/lib_xua into feature/set_idle_work
2022-01-11 15:56:35 +00:00
Angel Cascarino
ec87a43dbf
Removed "0 means all" logic throughout
2022-01-11 15:56:32 +00:00
Michael Banther
b0a8735623
Merge pull request #1 from mbanth/feature/set_idle_work
...
Feature/set idle work
2022-01-11 14:29:42 +00:00
mbanth
93721f3144
Added missing dependency change log entry
2022-01-11 14:24:32 +00:00
mbanth
d7b41cd35f
Update copyright date range
2022-01-11 14:22:03 +00:00
Angel Cascarino
d3560ca7fe
Merge branch 'feature/set_idle_work' of github.com:ACascarino/lib_xua into feature/set_idle_work
2022-01-11 12:26:04 +00:00
Angel Cascarino
ff86ac8d2a
Added debug printing
2022-01-11 12:26:00 +00:00
Angel Cascarino
eebd438620
Update module_build_info
2022-01-11 11:56:29 +00:00
Angel Cascarino
5bb44c54e1
Fixed the fix for swlock work
2022-01-11 11:42:41 +00:00
Angel Cascarino
36d325a457
Fixed swlock change
2022-01-11 11:40:31 +00:00
xmos-jenkins
d40ede1525
Merged in older changes
2022-01-11 11:32:14 +00:00
xmos-jenkins
4f37069efb
Merge remote-tracking branch 'angel/feature/multiple_hid_report_exception' into feature/set_idle_work
2022-01-11 11:27:09 +00:00
xmos-jenkins
9f667d96f8
Added alternative hidIsGetIdleSilenced function
2022-01-11 11:23:28 +00:00
Angel Cascarino
c352ed1132
Alphabetise main functions in hid_report.c
2022-01-07 17:46:25 +00:00
Angel Cascarino
a18e5a976f
Change hwlock to swlock in hid_report.c
2022-01-07 17:30:27 +00:00
mbanth
737c5bd7d0
Manually revert to capture the current time within the HidIsSetIdleSilenced() function
2022-01-05 17:52:07 +00:00
mbanth
7a0cfca280
Experiment with obtaining the time used in HidIsSetIdleSilenced() from outside of the function
2022-01-05 17:01:28 +00:00
mbanth
3988906e39
Add locks around references to included static variables.
2022-01-05 14:58:04 +00:00
Angel Cascarino
cd0248c162
Removed locks in isReportDesciptorPrepared
2022-01-04 14:19:54 +00:00
Angel Cascarino
55de7a8abd
Removed locks from hidSetReportItem
2022-01-04 14:07:06 +00:00
Angel Cascarino
911c8c51f2
Change initialisation of hwlock
2022-01-04 13:48:48 +00:00
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