Commit Graph

  • 77398218b5 Apply suggestions from code review Angel Cascarino 2021-12-20 17:17:34 +00:00
  • 244a7718a1 Corrected type in documentation Angel Cascarino 2021-12-20 17:11:50 +00:00
  • e71ffdba00 Missed a semicolon... Angel Cascarino 2021-12-20 17:10:48 +00:00
  • 625123e4a6 Clarified ep_buffer.xc setup stall Angel Cascarino 2021-12-20 16:45:24 +00:00
  • 548992ab5c Removed USB_HID_REPORT_ID_CONSUMER as per review. Angel Cascarino 2021-12-20 15:46:15 +00:00
  • ccc1ee4021 Fix inverted isSilenced logic, add INVALID_ID constant Ciaran Woodward 2021-12-20 14:47:20 +00:00
  • ab96a726d6 Altered format on test report_descriptor.h Angel Cascarino 2021-12-20 12:51:26 +00:00
  • d3d9b5ba23 Add hidReportIdInUse command to determine whether report IDs are used Ciaran Woodward 2021-12-17 14:34:13 +00:00
  • c3e95a379f Add some report time tests & fix comments] Ciaran Woodward 2021-12-15 12:44:39 +00:00
  • 5be97ac227 Begin work on setidle unit tests Ciaran Woodward 2021-12-14 14:15:48 +00:00
  • 8799f5f36e Refactor HID report descriptor validation function Ciaran Woodward 2021-12-13 12:51:40 +00:00
  • 71dd8b5409 Add descriptor validation function & fix issues it found Ciaran Woodward 2021-12-10 18:00:04 +00:00
  • e41aed6ffb Update examples to work with new API Ciaran Woodward 2021-12-10 11:43:51 +00:00
  • 548ccebb27 Propegate constants and helper macro around codebase Ciaran Woodward 2021-12-10 11:25:35 +00:00
  • 3895b486ab Add constants header for common constants; helper macro for header Ciaran Woodward 2021-12-10 10:45:54 +00:00
  • ebeae1fa17 Merge pull request #2 from CiaranWoodward/feature/multiple_hid_reports_tests Michael Banther 2021-12-09 18:45:08 +00:00
  • f328deb336 style Ciaran Woodward 2021-12-09 18:02:42 +00:00
  • 353d7c3c8d Fix merge issues Ciaran Woodward 2021-12-09 17:28:16 +00:00
  • 5f971af054 Merge remote-tracking branch 'michael/feature/multiple_hid_reports' into feature/multiple_hid_reports_tests Ciaran Woodward 2021-12-09 17:19:04 +00:00
  • 2b5dab51b5 Add explicit initialization of static variables in hid_report.c mbanth 2021-12-09 16:15:29 +00:00
  • 19be25809b Fix implementation of hidGetReportIdLimit to match docs & usage Ciaran Woodward 2021-12-09 16:10:28 +00:00
  • 26cac1abb1 Update includes of xua_hid_report.h mbanth 2021-12-09 15:58:51 +00:00
  • 03a5024520 Renamed xua_hid_report_descriptor.h to xua_hid_report.h mbanth 2021-12-09 15:45:05 +00:00
  • 08ed5ee668 Renamed hid_report_descriptor.c to hid_report.c mbanth 2021-12-09 15:44:19 +00:00
  • 2b96ea0171 Increment major version and add change log entries mbanth 2021-12-09 15:29:45 +00:00
  • 1b186a0c2f Remove test-specific information from hid_report_descriptor.h Ciaran Woodward 2021-12-09 14:55:38 +00:00
  • ed7a33b40f Write a bunch of unit tests that exercise the HID report IDs Ciaran Woodward 2021-12-09 11:45:03 +00:00
  • 459ce6bd63 Begin building up a set of multi-report unit tests Ciaran Woodward 2021-12-08 17:55:33 +00:00
  • 3819f30ad0 Enable waf building unit tests in different confgurations Ciaran Woodward 2021-12-08 15:47:15 +00:00
  • 79e256f829 Update existing unit tests to work with the new API Ciaran Woodward 2021-12-08 12:34:14 +00:00
  • be90779db5 Temporary workaround for ENDPOINT_INT_INTERVAL_IN_HID definition Ciaran Woodward 2021-12-08 12:33:37 +00:00
  • de382e5cc0 Merge remote-tracking branch 'angel/feature/multiple_hid_reports' into feature/multiple_hid_reports_tests Ciaran Woodward 2021-12-08 11:28:37 +00:00
  • 6dfc934d36 Correct error in hidCaptureReportTime Angel Cascarino 2021-12-08 11:14:52 +00:00
  • 7dfd78deb4 Update unit test header to match new report id api Ciaran Woodward 2021-12-08 11:01:17 +00:00
  • fac0542920 Merge branch 'mbanth:feature/multiple_hid_reports' into feature/multiple_hid_reports Angel Cascarino 2021-12-08 10:47:55 +00:00
  • 8c9e8b11b9 Changes to support the Set Idle request with multiple Report IDs mbanth 2021-12-07 18:50:28 +00:00
  • 21b259bc88 Update legacy_test to new HID API Angel Cascarino 2021-12-07 18:12:00 +00:00
  • 589c16d56c Updated gitignore Angel Cascarino 2021-12-07 17:17:14 +00:00
  • b4d5cb93f1 Use an unsigned constant with an unsigned variable mbanth 2021-12-07 10:35:20 +00:00
  • 1d22975fd2 Update HID initialisation and handling to include multiple reports and the effect of the Set Idle command mbanth 2021-12-06 17:28:30 +00:00
  • 5354d94987 Remove unused pointer mbanth 2021-12-06 17:16:11 +00:00
  • 171ef30f42 Remove redundant function declaration mbanth 2021-12-06 13:53:20 +00:00
  • 8c175187c8 Modify hidClearChangePending(), hidIsChangePending() amd hidSetChangePending() to operate on a Report ID basis mbanth 2021-12-01 12:26:26 +00:00
  • 53f80dfba4 Add documentation mbanth 2021-12-01 12:25:18 +00:00
  • 21c1e661ae Change static variable names to indicate that they are static. mbanth 2021-12-01 09:47:52 +00:00
  • d515458b83 Add id parameter to hidClearChangePending(), hidIsChangePending() and hidSetChangePending(). Correct the name of the underlying static variable. mbanth 2021-12-01 09:42:32 +00:00
  • b853589120 Move the HID Clear Pending, Is Pending and Set Pending functions from hid.xc to hid_report_descriptor.c. mbanth 2021-11-30 18:29:17 +00:00
  • 966d8db9a9 Additional documentation and a minor renaming of an automatic variable mbanth 2021-11-30 15:05:37 +00:00
  • dc22b0593f Additional documentation mbanth 2021-11-30 15:04:33 +00:00
  • 0892ff9a8b Move the declaration of the HID Get Report Limit function and provide its definition mbanth 2021-11-29 17:09:26 +00:00
  • 65b1b41ec4 Change the interface to UserHIDGetData() and UserHIDRecordEvent() mbanth 2021-11-26 16:32:12 +00:00
  • 3b6f1c80e2 Move HID_REPORT_COUNT to hid_report_descriptor.h mbanth 2021-11-26 16:30:47 +00:00
  • bf9e150310 Use size_t for each index into an array. mbanth 2021-11-26 13:40:58 +00:00
  • 1857ddbc67 Set constant values explicitly to unsigned. Add access function for HID Report length. Update hidGetReportItem() and hidSetReportItem() to check for correct Reporty ID. Update hidGetReportLength() to report the length of the given HID Report. Update hidGetUsagePage() to iterate across all HID Reports. mbanth 2021-11-26 10:50:53 +00:00
  • 145c0cb80f Set constant values explicitly to unsigned mbanth 2021-11-26 10:46:03 +00:00
  • 1fe4fc6771 Safety commit. Builds but not run. mbanth 2021-11-25 17:30:30 +00:00
  • 88a3d6b20d Initial commit made to keep a safe copy. Builds but will not run and definitely very incomplete. mbanth 2021-11-24 16:06:17 +00:00
  • 33ec43134c Merge pull request #224 from xross/fix/223 Ross Owen 2021-10-26 14:57:45 +01:00
  • 2bbebc0a39 Further removed of XS1 support items xross 2021-10-18 17:05:35 +01:00
  • 32af5b7b20 Removed XS1 implementation in fastmix.S xross 2021-10-18 16:54:54 +01:00
  • fc6915be6f Removed XS3 related warning from reboot.xc xross 2021-10-18 16:49:46 +01:00
  • d9dc7cc7c7 XS2 now special case in DFU flag check xross 2021-10-18 16:45:07 +01:00
  • 898a6c2410 Remove XS1 related USB port. Also fixed errors related to removing XS1 support from ADAT xross 2021-10-18 16:38:32 +01:00
  • da758f48fa Removed remaining references to SU1 devices xross 2021-10-18 16:37:33 +01:00
  • 2923f7574b Merge pull request #220 from xmos/release/v2.1.1 Michael Banther 2021-09-08 15:02:41 +01:00
  • 436a268781 Merge pull request #219 from xmos/develop Michael Banther 2021-09-08 11:28:45 +01:00
  • 8233ef1d47 Merge pull request #218 from mbanth/feature/fix_hid_set_report_item Michael Banther 2021-08-26 16:52:06 +01:00
  • 1109e08dd8 Increment version and add change log entry mbanth 2021-08-26 16:25:40 +01:00
  • 15f1d4de59 Use correct order of expected vs actual results in test assertions mbanth 2021-08-26 16:13:23 +01:00
  • 911a82cd83 Add test for the case of a modified item that of length 1 that overwrites data of length 2 mbanth 2021-08-25 18:16:54 +01:00
  • ec657d1e8d Zero the MSB if given an item of length 1 mbanth 2021-08-25 18:13:12 +01:00
  • 9e82d613bb Merge pull request #217 from xmos/release/v2.1.0 Luciano Martin 2021-08-20 16:05:48 +01:00
  • eb62940dc6 Merge pull request #215 from xmos/develop Luciano Martin 2021-08-20 15:48:30 +01:00
  • ef46bd72b9 Merge pull request #216 from xmos/feature/update_dependency_version Luciano Martin 2021-08-20 15:48:17 +01:00
  • 7abcb487a9 Updare lib_xud dependency version lucianom 2021-08-20 14:55:05 +01:00
  • e87a53ff83 Merge pull request #214 from lucianomartin/feature/lib_xud_v2_0_0 Luciano Martin 2021-08-06 11:50:43 +01:00
  • 8e05595710 Update clock in unit test lucianom 2021-08-06 10:21:38 +01:00
  • ffee831f5d Updated clock blocks to support lib_xud v2.0.0 lucianom 2021-08-06 08:52:36 +01:00
  • ad88e3342e Merge pull request #211 from xmos/release/v2.0.1 Michael Banther 2021-07-27 13:06:03 +01:00
  • d0986cb37f Merge pull request #210 from xmos/develop Michael Banther 2021-07-26 16:11:48 +01:00
  • 9d148f68a3 Merge pull request #209 from mbanth/feature/bump_version Michael Banther 2021-07-26 14:47:48 +01:00
  • 3b1b7f81dc Bumped version to 2.0.1 mbanth 2021-07-26 14:23:27 +01:00
  • 1e4bcf01c7 Merge pull request #208 from mbanth/feature/revert_xud_dependency_version Michael Banther 2021-07-26 13:44:04 +01:00
  • 46ce681a88 Revert the dependency on lib_xud to v1.2.0. XVF3510 uses that version. mbanth 2021-07-23 18:34:28 +01:00
  • 0cb3aab9c2 Merge pull request #207 from xmos/release/v2.0.0 Ed 2021-07-22 16:12:23 +01:00
  • 4c6fb9f271 Merge pull request #205 from xmos/develop Ed 2021-07-22 15:00:09 +01:00
  • 2bc36947a8 Merge pull request #206 from xmos/ed-xmos-patch-1 Ed 2021-07-22 11:04:56 +01:00
  • 7f001e1780 Fix module_build_info Ed 2021-07-22 10:47:32 +01:00
  • a04d06303b Merge pull request #202 from mbanth/feature/configurable_hid Ed 2021-07-08 08:34:00 +01:00
  • 9b153bbda5 Add C and XC specific declarations of hidGetReportItem() mbanth 2021-07-07 17:25:25 +01:00
  • 9d55c315c8 Merge pull request #201 from mbanth/feature/configurable_hid Michael Banther 2021-07-07 11:39:51 +01:00
  • 36a5163f4f Merge pull request #200 from xmos/feature/nullable_c_aud_ctl Ed 2021-07-07 08:31:48 +01:00
  • e8e31ed8ff Move the Clock Block (again) mbanth 2021-07-06 17:26:30 +01:00
  • afeac0fa81 Add list of Usage Pages mbanth 2021-07-06 17:11:46 +01:00
  • 46d8201ba6 Add change log entries mbanth 2021-07-06 16:51:03 +01:00
  • 5910638bed Add and modify unit tests mbanth 2021-07-06 16:47:58 +01:00
  • f25a765e82 Add Get Report Item function and add Usage Page parameter to Set Report Item function mbanth 2021-07-06 16:47:31 +01:00
  • e3068ad245 Use an unused clock block mbanth 2021-07-06 16:45:39 +01:00
  • 1a5280ad14 Replace isnull with != null Ed 2021-07-06 15:47:51 +01:00
  • 4033b26587 Update API with note about nullable c_audioCtrl is passed Ed 2021-07-06 15:13:55 +01:00