6b1da7610f
revert xua_ep0_uacreqs.xc so that frequency global variable is not affected by USB command. Now frequency can be varied by changing the default value.
Keith Au
2020-01-07 15:01:54 +08:00
3b80f63cb9
modified audio output frequency as a variable
Keith Au
2019-12-31 10:34:32 +08:00
6eb30c5646
Replace the HID Report descriptor with one that uses the Usage values specified by Reliance in their Reliance Jio Infocomm Limited, RJIL Devices, VoicePoD, Technical Requirements Document, Rev. No. 2.0, Date 18-12-2019.
mbanth
2019-12-20 13:37:54 +00:00
edb020da9d
Merge pull request #111 from mbanth/feature/hid_4bit_reliance_jan_demo
Michael Banther
2019-12-19 15:16:01 +00:00
d81af18d1f
Revert "Modify the interface to the User HID functionality."
mbanth
2019-12-19 09:52:13 +00:00
538f2be5b4
Modify the interface to the User HID functionality.
mbanth
2019-12-18 12:09:11 +00:00
02185f6701
Merge branch 'feature/hid_4bit_reliance_jan_demo' into experiment/hid_boot_time_config
mbanth
2019-12-16 15:34:44 +00:00
daf378e4a5
Add in the code to call HidInterfaceClassRequests(). It was inadvertently removed during the removal of the XUA_Endpoint0_lite_loop() function.
Michael Banther
2019-11-26 11:37:38 +00:00
471ab4548a
Move the override of MIC_ARRAY_FRAME_SIZE from mic_array_conf.h in lib_xua to ap_conf.h in sw_xvf3510/app_xk/xvf3510_l71.
Michael Banther
2019-11-25 13:48:58 +00:00
f22027564d
Use the XUA-specific microphone frame size constant instead of directly overriding the microphone frame size constant from lib_mic_array.
Michael Banther
2019-11-25 12:10:26 +00:00
82404f539c
Merge commit 'a85cbc06b80dcd1ba2c8dd80644871e5579b9fa9' into feature/pendragon
Michael Banther
2019-11-22 11:59:29 +00:00
82d364a25d
Disable single-threaded mic array processing for these examples. Remove the unnecessary definition of MIC_ARRAY_FRAME_SIZE.
Michael Banther
2019-11-22 11:19:07 +00:00
3a1c1b0265
Only override the value of MIC_DUAL_FRAME_SIZE if MIC_DUAL_ENABLED is set to true.
Michael Banther
2019-11-22 10:08:36 +00:00
eeca5fdd60
Move the default definition of MIC_ARRAY_MAX_FRAME_SIZE_LOG2 to mic_array_conf.h so that an assembler file can pick it up using a #include.
Michael Banther
2019-11-21 17:32:39 +00:00
241afbe7e6
Establish a default value for XUA_MIC_FRAME_SIZE.
Michael Banther
2019-11-21 16:58:24 +00:00
2aaa12e60b
Remove the default definition of MIC_ARRAY_MAX_FRAME_SIZE_LOG2. It has been moved to mic_array_frame.h. Establish a value for MIC_ARRAY_FRAME_SIZE and MIC_DUAL_FRAME_SIZE if they have not already been defined. Give them the value of XUA_MIC_FRAME_SIZE in this case.
Michael Banther
2019-11-21 16:57:56 +00:00
6b454b0ebe
Fix descriptors for XUA_ADAPTIVE
Oscar Bailey
2019-11-20 11:40:05 +00:00
4ff6815d07
Add missing #define and switch to using the single-threaded, dual PDM microphone design.
Michael Banther
2019-11-19 10:35:22 +00:00
e097b5dc3d
Update copyright date range.
Michael Banther
2019-11-19 09:59:37 +00:00
f594d1d423
Add missing #define and update copyright date range.
Michael Banther
2019-11-19 09:59:18 +00:00
c8299998c8
Update copyright date range.
Michael Banther
2019-11-18 13:16:05 +00:00
f91728485c
Add missing constant
Michael Banther
2019-11-18 13:08:44 +00:00
9674ae3328
Update copyright date range.
Michael Banther
2019-11-18 11:36:41 +00:00
192d8f54d7
Update copyright date range.
Michael Banther
2019-11-18 11:28:42 +00:00
3b6f6b6a10
Added comment to change log.
Michael Banther
2019-11-18 11:18:46 +00:00
5c3cff6a91
Add missing #defines.
Michael Banther
2019-11-18 11:15:00 +00:00
fecc01d203
Update the copyright date.
Michael Banther
2019-11-15 17:19:44 +00:00
e0c7272190
Add missing definition of MIC_DUAL_FRAME_SIZE. Use the MIC_ARRAY_FRAME_SIZE value from lib_xua.
Michael Banther
2019-11-15 14:29:49 +00:00
23e5094e50
Merge pull request #103 from mbanth/feature/pendragon
Michael Banther
2019-11-15 12:30:22 +00:00
ec396961be
Remove XUA_Endpoint0_lite_init() and XUA_Endpoint0_lite_loop() functions which are not used.
Michael Banther
2019-11-14 14:19:51 +00:00
b0a26351ce
Update copyright notices.
Michael Banther
2019-11-11 13:41:07 +00:00
3f03dae23d
Add missing copyright notices.
Michael Banther
2019-11-11 13:40:47 +00:00
c7cce77fb2
Added empty line demanded by Jenkins checks.
Michael Banther
2019-11-11 11:28:13 +00:00
41654b17a9
Fixed bad formatting.
Michael Banther
2019-11-11 11:17:48 +00:00
861d20827b
Change version to 0.3.0 to match change log.
Michael Banther
2019-11-11 11:09:30 +00:00
94afffe517
Corrected change log information and version numbering.
Michael Banther
2019-11-11 09:59:02 +00:00
c640829d9f
Merge commit '955301ca76948185b7297709906c08cca37b6862' into feature/pendragon
Michael Banther
2019-11-08 16:21:33 +00:00
a865f4bc51
Add src/hid to the list of source directories.
Michael Banther
2019-11-08 14:50:01 +00:00
5a0bc319ea
Fix copyright
Oscar Bailey
2019-11-05 12:57:03 +00:00
8768bb0ee0
Fix descriptors for XUA_ADAPTIVE
Oscar Bailey
2019-11-05 12:34:10 +00:00
0af60c3eff
Merge pull request #99 from xmos/develop
Ross Owen
2019-10-30 10:26:51 +00:00
75abc71cd7
Cleaning up a previous merge conflict.
Michael Banther
2019-10-29 16:45:03 +00:00
aea89a4cd6
Merge branch 'develop' into feature/pendragon
Michael Banther
2019-10-29 16:40:47 +00:00
102d1b4e3a
Tidy up HID
Larry Snizek
2019-10-23 14:26:49 +01:00
9fb073a2b0
Merge pull request #3 from michaelb/pendragon_hid_add_requests
larry
2019-10-17 14:10:09 +01:00
a6f3daf581
Update change log.
Michael Banther
2019-10-16 16:03:52 +01:00
a7c0ac6234
Protect configurations that do not include HID functionality from HID code.
Michael Banther
2019-10-16 15:58:06 +01:00
024c0304f1
Reverse the order of operands in an equals comparison to allow the compiler to catch a mistaken use of '=' instead of '=='.
Michael Banther
2019-10-16 14:57:33 +01:00
21ec3cf7bd
Put the processing of the Set Idle request in a static function.
Michael Banther
2019-10-16 12:18:50 +01:00
9a7c2d85b2
Reorganise file layout for easier maintenance and reading.
Michael Banther
2019-10-16 11:47:32 +01:00
8820ddf269
Add documentation.
Michael Banther
2019-10-16 11:37:27 +01:00
6afb4ab7e4
Remove debugging print.
Michael Banther
2019-10-15 15:43:05 +01:00
5caca37177
Change the representation, but not the logic, of a multi-part conditional expression to make it easier to understand.
Michael Banther
2019-10-15 15:40:26 +01:00
a5f17c46fc
Use a variable large enough to hold the Set Idle duration in ms without overflow.
Michael Banther
2019-10-15 15:39:14 +01:00
e4f0b73a88
Explicitly label assignment of zero as unsigned when used with unsigned variables.
Michael Banther
2019-10-15 15:38:16 +01:00
3331c9e97b
Add handling for an indefinite duration.
Michael Banther
2019-10-15 10:45:20 +01:00
aeb1d58bf3
The interface number occupies the entire sp.wIndex field.
Michael Banther
2019-10-15 10:44:34 +01:00
97e3233120
Rename parameter to a less ambiguous name.
Michael Banther
2019-10-15 10:42:33 +01:00
962e91adec
Include xua.h to pick up the NUM_USB_CHAN_IN and NUM_USB_CHAN_OUT pre-processor symbols.
Michael Banther
2019-10-14 16:47:59 +01:00
9f98e13342
Use the HID_CONTROLS pre-processor symbol consistently.
Michael Banther
2019-10-14 16:42:34 +01:00
1808d7affa
Initial implementation of the USB HID Set_Idle Request.
Michael Banther
2019-10-10 17:21:21 +01:00
8ba9a0064c
Cosmetic
Larry Snizek
2019-10-09 16:45:50 +01:00
b592c943f8
Set_Idle request handled (incomplete reports sent instead of NAK)
Larry Snizek
2019-10-08 21:16:33 +01:00
2a960700c5
Remove the duplicate USB HID Report Descriptor that Git, for some unknown reason, produced at the last merge.
Michael Banther
2019-10-08 13:54:16 +01:00
f08e79197d
Merge branch 'pendragon_hid_usage_investigation' into pendragon
Michael Banther
2019-10-08 13:50:23 +01:00
1690c4eff6
Remove the USB HID Report descriptor with the Voice Command Usage.
Michael Banther
2019-10-08 13:45:20 +01:00
75fea9ed84
Change the simulated interrupt pulse width from 100 us to 100 ms.
Michael Banther
2019-10-08 13:44:04 +01:00
34ebbc8509
Change the HID Report Descriptor to use the AC Search Usage instead of Voice Command.
Michael Banther
2019-10-07 12:35:23 +01:00
5b87efb5a7
Change the HID Report Descriptor to use the AC Search Usage instead of Voice Command.
Michael Banther
2019-10-07 12:35:23 +01:00
22323daa5f
Merge pull request #2 from michaelb/pendragon
larry
2019-10-02 17:10:16 +01:00
211a49f26f
Remove unnecessary port parameters passed through XUA Buffer (whether the traditional one or the Lite version).
Michael Banther
2019-10-02 16:57:42 +01:00
74564edde8
Add HID trigger function.
Michael Banther
2019-10-02 16:55:42 +01:00
e7e8b58275
Move user_hid.xc from lib_xua to the application (sw_xvf3510).
Michael Banther
2019-10-02 16:54:38 +01:00
ce24c73dc0
Change pre-processor symbol names to make them generic.
Michael Banther
2019-10-02 16:51:46 +01:00
0440020c2f
Change pre-processor symbol names to make them generic.
Michael Banther
2019-10-02 15:24:28 +01:00
17317093d5
Rework HID data processing.
Michael Banther
2019-10-01 17:04:13 +01:00