Commit Graph

2410 Commits

Author SHA1 Message Date
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
fc8a7a1ec9 Change to new flash part and add necessary parameters 2021-05-26 11:16:45 +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
mbanth
496dd16431 Remove dual issue configuration 2021-05-19 17:57:22 +01:00
mbanth
cbf2320de6 Change order of dependency list 2021-05-19 17:41:53 +01:00
mbanth
ae5d364226 Add XUD to the dependency list 2021-05-19 17:11:43 +01:00
mbanth
bd805acf04 Correct headers 2021-05-19 17:06:58 +01:00
mbanth
9b2efd07ad Add unit test infrastructure 2021-05-19 16:07:40 +01:00
mbanth
1ddbfdd8c1 Merge branch 'develop' into feature/generic_hid_report 2021-05-19 14:31:31 +01:00
Michael Banther
2c5058d953 Merge pull request #188 from mbanth/feature/rename_legacy_test_dir
Move xmostest tests
2021-05-19 14:14:45 +01:00
mbanth
294d3a469e Set up for parallel testing 2021-05-19 13:45:04 +01:00
mbanth
f66ddc53eb Move legacy tests one level up in the directory hierarchy 2021-05-19 10:55:33 +01:00
mbanth
e55aa3ca8e Merge branch 'feature/rename_legacy_test_dir' into feature/generic_hid_report 2021-05-19 10:27:51 +01:00
mbanth
368031064a Merge branch 'develop' into feature/generic_hid_report 2021-05-19 10:26:32 +01:00
mbanth
e6c8766bb7 Update change log 2021-05-19 10:10:51 +01:00
mbanth
844cfb2ec2 Merge branch 'develop' into feature/rename_legacy_test_dir 2021-05-19 10:08:28 +01:00
Michael Banther
a44d5466b5 Merge pull request #187 from mbanth/feature/refactor_hid_descriptors
Feature/refactor hid descriptors
2021-05-19 10:06:14 +01:00