Commit Graph

2347 Commits

Author SHA1 Message Date
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
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
mbanth
0ed4ed0974 In preparation for adding unit tests, move xmostest-based legacy tests into a legacy_tests sub-directory of the tests directory 2021-05-19 09:59:46 +01:00
mbanth
a8ba18094f Initial implementation, compiles w/o error, not tested 2021-05-18 16:48:54 +01:00
mbanth
89fe6c4d5d Increase version number 2021-05-13 16:18:02 +01:00
mbanth
4b6a3697ac Move change log entry to a new version 2021-05-13 16:16:52 +01:00
mbanth
703ba4975a Manually revert Wake Word HID event from 't' back to AC Search 2021-05-13 15:12:20 +01:00
mbanth
8a869ce230 Update change log 2021-05-10 18:11:17 +01:00
mbanth
6b9249507d Define descriptor values 2021-05-10 12:26:38 +01:00
mbanth
c31f1521c2 Removed unnecessary #include 2021-05-10 10:29:13 +01:00
mbanth
35fe4fadeb Remove header guards. Since these files only include initialisation lists, no guard is needed. For UAC1 operation, one file has to be included twice, so including a guard breaks the implementation. 2021-05-07 16:46:37 +01:00
mbanth
7d7ec6858d Remove unnecessary #include 2021-05-07 16:35:30 +01:00
mbanth
cf5c486c62 Remove #if from comment to allow easier verification that each #if has a corresponding #end 2021-05-07 14:34:30 +01:00
mbanth
d765ba1dfb Re-factor HID descriptors 2021-05-07 10:11:55 +01:00
mbanth
49f1739098 Re-factor HID descriptors. 2021-05-06 17:16:24 +01:00