Commit Graph

2374 Commits

Author SHA1 Message Date
mbanth
6636e2f505 Add support for multi-byte HID Report 2021-06-04 16:27:54 +01:00
mbanth
b47a30a04c Remove debugging printf() 2021-06-04 16:27:17 +01:00
mbanth
567e5cc0e0 Fix bugs that prevented correct operation of HID Report descriptor. Add descriptive constants. 2021-06-04 15:18:51 +01:00
mbanth
382b1a8754 Add support for boot-time creation of the HID Report descriptor 2021-06-04 15:17:28 +01:00
mbanth
4446ab89c0 Limit the usage of hidGetReportDescriptor() to C only 2021-06-04 15:15:05 +01:00
mbanth
b871b4c046 Change interface to UserHIDRecordEvent function to support only binary event states 2021-06-03 16:01:45 +01:00
mbanth
fd45908ff6 Add function to return the length of the HID Report 2021-06-03 15:53:50 +01:00
mbanth
dab84e56df Add missing Flash programming parameters 2021-06-03 15:30:12 +01:00
mbanth
64805d203e Remove deprecated and ineffective compiler option 2021-06-03 15:28:58 +01:00
mbanth
345f5dc369 Merge branch 'feature/modify_hid_event_names' into feature/configurable_hid 2021-06-02 15:37:46 +01:00
mbanth
bc957cb593 Update change log 2021-06-02 15:12:12 +01:00
mbanth
12789a1bee Remove unused GPI-specific event names and replace with generic ones 2021-06-02 15:02:27 +01:00
mbanth
4c9130166c Rename a constant to match the expected name 2021-06-01 14:41:15 +01:00
mbanth
aec5bb8daa Remove duplicate copyright and license reference comments 2021-05-27 18:05:56 +01:00
mbanth
3106ccefcf Remove the redundant HID Report descriptor 2021-05-27 17:56:51 +01:00
mbanth
7b43785816 Makes each #define value a primary expression. Set the class length field in the HID descriptor to zero. 2021-05-27 17:56:26 +01:00
mbanth
0b9d970f75 Add HID Report descriptor definition to each App Note 2021-05-27 16:53:06 +01:00
mbanth
f2b09522b8 Remove dead code 2021-05-27 16:49:21 +01:00
mbanth
d0b2c77177 Update HID Report descriptor items 2021-05-27 16:31:07 +01:00
mbanth
cafdd8c93d Provide a HID Report descriptor definition for legacy tests 2021-05-27 16:07:10 +01:00
mbanth
13abe0e9e1 Update unit tests for explicit reset 2021-05-27 12:26:57 +01:00
mbanth
8a9d8cdd3e Add explicit reset 2021-05-27 11:54:31 +01:00
mbanth
3c129ab521 Update unit tests to align with Report descriptor defined in application 2021-05-27 11:37:25 +01:00
mbanth
dd7a8f423e Move HID Report descriptor to application 2021-05-27 11:36:36 +01:00
mbanth
a9e97b33b9 Add constant offset to the field in the HID descriptor that provides the length of the HID Report descriptor 2021-05-26 16:39:03 +01:00
mbanth
6adc94642a Attempt to correct the copyright date range 2021-05-26 14:07:06 +01:00
mbanth
33fcac9c47 Add pytest and pytest-xdist to the requirements, needed for unit tests 2021-05-26 13:21:58 +01:00
mbanth
7b433a40fc Assign an unused clock block to MCLK 2021-05-26 12:18:11 +01:00
mbanth
b81d096a5a Add XS1-specific XUD symbol to allow building with the current develop branch of lib_xud 2021-05-26 12:17:38 +01:00
mbanth
fcee74d912 Add Report descriptor length function. Change the internal Translate function to return the length of each item added to the raw buffer. Fix some out-of-date comments. 2021-05-25 16:51:54 +01:00
mbanth
d1650afd37 Avoid unnecessary preparation 2021-05-25 16:00:32 +01:00
mbanth
02596cc5a9 Clean-up 2021-05-25 15:12:45 +01:00
mbanth
a9dddfab2f Add tests: configurable and non-configurable items, and combined functions 2021-05-25 14:22:09 +01:00
mbanth
f3e8a1937f Add header tag and type tests 2021-05-25 12:07:11 +01:00
mbanth
b1f3cc0024 Add size range tests. Fix misspelled function name. 2021-05-25 11:23:18 +01:00
mbanth
46cac9afb9 Rename function and variable to better reflect its use beyond initialisation 2021-05-25 10:04:51 +01:00
mbanth
b552d60567 Add byte range tests 2021-05-25 08:59:20 +01:00
mbanth
3ae4a4e456 Add tests for max and min valid bit location and one for an underflow 2021-05-24 17:12:32 +01:00
mbanth
728980e7dc Add test that specifies a bit out-of-range when modifying a report item 2021-05-24 16:54:01 +01:00
mbanth
29ab72e614 Move constants needed by callers 2021-05-24 16:53:13 +01:00
mbanth
f1a1ee077f Add test for returning an initialized Report descriptor 2021-05-24 16:01:54 +01:00
mbanth
eb6d3b0869 Split functionality into test code in pure C and helper code in XC 2021-05-24 15:47:31 +01:00
mbanth
fbef825a3b Add include path to HID header files 2021-05-24 15:46:16 +01:00
mbanth
9cdbe9c62d Comment out xCore.AI unit test operation until the unit tests build successfully on that platform 2021-05-20 16:02:31 +01:00
mbanth
0e27c7f2ff Align with lib_agc Jenkinsfile regarding unit test operation 2021-05-20 15:58:30 +01:00
mbanth
c0dade0156 Updated trivial test. Builds for xCore200 with minimal warnings. 2021-05-20 15:47:02 +01:00
mbanth
ede81bd5f7 Working infrastructure for xCore200 2021-05-20 15:29:25 +01:00
mbanth
7836aacf47 Do not track Unity test runners 2021-05-20 15:14:55 +01:00
mbanth
4ffe3d94c7 Reverse the dependencies (yet again) and target only xCore-200 2021-05-19 18:08:49 +01:00
mbanth
0f47ef96be Reverse dependency order (again) 2021-05-19 18:02:05 +01:00