Ross Owen
|
fa2285f27f
|
Updated usb buffer includes
|
2014-03-06 10:35:03 +00:00 |
|
Ross Owen
|
22758cc81c
|
Added some defences against a 0 length packet being received from the host and breaking the MIDI/IAP FIFOs. Also added further use of XUD_Result_t in select functions.
|
2014-02-20 18:22:46 +00:00 |
|
Ross Owen
|
6d838ece93
|
Usb-buffer no longer sets up the FB packet on startup. Instead it sets it up on stream start (SET_CHAN_COUNT_OUT cmd). This means that the packet size after bus-speed change is correct!
|
2014-02-20 14:05:11 +00:00 |
|
Ross Owen
|
f5f4a753ae
|
usb_buffer no longer references inZero buff. Buffer() no longer waits on g_usb_speed to setup initial IN buffer length. This is now done when usb_buffer receives a SET_CHANNEL_COUNT in command (from endpoint0 core due to SetInterface())
|
2014-02-19 17:50:22 +00:00 |
|
Ross Owen
|
52483207ad
|
Removed resize of zero-sample IN buffer from usb_buffer. This effort is duplicated in decouple.
|
2014-02-19 17:10:28 +00:00 |
|
Ross Owen
|
f37a196627
|
Removed g_iap_reset declaration from usb_buffer.
|
2014-02-19 17:06:47 +00:00 |
|
Ross Owen
|
9cc53f1736
|
Resolving conficted merge
|
2014-02-19 12:29:42 +00:00 |
|
Ross Owen
|
3fbb537d31
|
Merge
|
2014-02-19 12:28:54 +00:00 |
|
Sam Chesney
|
9150813b3e
|
Removed initial iAP resets
|
2014-02-18 18:38:51 +00:00 |
|
Sam Chesney
|
d6809a4082
|
Added call to XUD_ResetEndpoint to cause buffer to fall through into while(1) loop...
|
2014-02-18 18:00:54 +00:00 |
|
Ross Owen
|
e126ba349b
|
Removed debug prints.
|
2014-02-18 17:50:55 +00:00 |
|
Sam Chesney
|
593ccd7172
|
Changed reset result type (int -> XUD_Result_t)
|
2014-02-18 15:08:08 +00:00 |
|
Sam Chesney
|
927de7bbca
|
Removed debug print
|
2014-02-18 15:07:21 +00:00 |
|
Sam Chesney
|
51bfdc113a
|
Merge branch 'IAP2_DEV'
Conflicts:
module_usb_audio/usb_buffer/usb_buffer.xc
|
2014-02-18 13:17:54 +00:00 |
|
Ross Owen
|
b138b46496
|
buffer() tidy after reset work.
|
2014-02-14 16:20:12 +00:00 |
|
Sam Chesney
|
e3905ae3a4
|
Fix for bug 15181 - the iAP interrupt In EP can now be disabled, as its use is now reported as deprecated by the ATS system. Disabled by default.
|
2014-02-14 14:25:42 +00:00 |
|
Ross Owen
|
2894eaf106
|
buffer() checks new return from SetReady_functions to check for reset.
|
2014-02-13 14:14:34 +00:00 |
|
Ross Owen
|
8e60cfc77f
|
GetADC counts used instead of inline code.
|
2014-02-12 14:52:51 +00:00 |
|
Sam Chesney
|
34640a49d4
|
DEBUG: print length of iAP data following XUD_SetReady_In()
|
2014-02-10 11:25:14 +00:00 |
|
Sam Chesney
|
f625904415
|
Fix for bug 15218 - iAP detect sequence can fail after rapid reconnection attempts. On reset drain the c_iap channel of old data until the iAP core returns a reset token.
|
2014-02-06 11:48:59 +00:00 |
|
Ross Owen
|
486a19f549
|
comment typo only
|
2014-01-28 16:28:23 +00:00 |
|
Sam Chesney
|
b65048f20e
|
Reset local iAP state when host resets device
|
2014-01-27 16:04:08 +00:00 |
|
Ross Owen
|
76d60ceb5b
|
SAMPLE_SLOT_SIZE_XX used instead of hardcoded *3/*4 for generating packet size
|
2014-01-22 19:57:59 +00:00 |
|
dan
|
98b3bdba95
|
added toplevel makefile for xpd
|
2014-01-22 11:00:41 +00:00 |
|
Ross Owen
|
735de46f7d
|
comment only
|
2014-01-20 20:31:11 +00:00 |
|
Richard Osborne
|
09bafcfb3a
|
Base the buffer size on the MIDI_USB_BUFFER_TO_HOST_SIZE.
The buffer task never writes more than this amount of data to the buffer
so there is no point in a bigger buffer.
|
2013-12-09 18:09:19 +00:00 |
|
Richard Osborne
|
662ac7df58
|
Don't store length of the buffer in the buffer itself.
This is pointless as nothing ever reads it.
|
2013-12-09 18:09:19 +00:00 |
|
Richard Osborne
|
e56b271e0c
|
Make MIDI buffer globals static.
|
2013-12-09 18:09:19 +00:00 |
|
Richard Osborne
|
82e0745891
|
Remove local buffer pointers which are set but never used.
|
2013-12-09 18:09:19 +00:00 |
|
Sam Chesney
|
a90878a94b
|
Removed uppercase letters from file names from module_iap
|
2013-12-05 11:16:20 +00:00 |
|
Ross Owen
|
dcdc1ba2b8
|
Comment and #if 1 tidy only
|
2013-11-14 15:45:11 +00:00 |
|
Ross Owen
|
3232c05caa
|
midi.h include guarded by MIDI define
|
2013-10-28 12:30:59 +00:00 |
|
Ross Owen
|
f0f9c1ecdb
|
Tidy up clockcmds header
|
2013-10-23 17:20:16 +01:00 |
|
Ross Owen
|
71797cc608
|
Fixed up debug FB tolerance test build
|
2013-09-09 23:38:22 +01:00 |
|
Ross Owen
|
1e33bf819d
|
Changes to support DSD Native mode
|
2013-08-23 14:23:37 +01:00 |
|
Ross Owen
|
b514f474e4
|
naming change to macro only
|
2013-07-16 17:14:28 +01:00 |
|
Ross Owen
|
1bd8744dc2
|
Added control channel for buffering for lower-power, non-memory polling buffering
|
2013-07-09 15:48:26 +01:00 |
|
Ross Owen
|
9d324bf3d0
|
Vendor_ReadHID-> UserReadHID inline with other function naming
|
2013-05-15 12:46:56 +01:00 |
|
Ross Owen
|
ce9a112def
|
g_hidData[] reset before calling ReadHIDButtons()
|
2013-05-10 16:19:43 +01:00 |
|
Ross Owen
|
e7d23603a4
|
Tidy
|
2013-05-08 14:24:34 +01:00 |
|
Ross Owen
|
5cf3d6c45a
|
Tidied up iAP reset
|
2013-03-08 14:56:29 +00:00 |
|
Ross Owen
|
5199f00733
|
Removed unused vars
|
2013-03-08 10:41:47 +00:00 |
|
Ross Owen
|
dcd5477491
|
Simplication of iAP IN path. Single buffer now used. Removed ptrs etc
|
2013-03-07 18:59:39 +00:00 |
|
Ross Owen
|
9189e90f6c
|
Further tidy up
|
2013-03-07 17:57:39 +00:00 |
|
Ross Owen
|
cf14ee398c
|
Again further simplication of IAP receive data case - no longer uses ptr
|
2013-03-07 17:16:51 +00:00 |
|
Ross Owen
|
ab98969650
|
Further simplification of IAP receive data case - no longer stick length in buffer[0]. Its pointless
|
2013-03-07 16:56:57 +00:00 |
|
Ross Owen
|
609d210efd
|
Simplification of IAP receive data case
|
2013-03-07 16:53:51 +00:00 |
|
Ross Owen
|
99fec446e6
|
More removal of now un-used buffer logic
|
2013-03-07 16:46:56 +00:00 |
|
Ross Owen
|
27b05df90d
|
Removing some un-used buffer logic
|
2013-03-07 16:44:53 +00:00 |
|
Ross Owen
|
f6d95a5b60
|
IAP removed from decouple
|
2013-03-07 16:37:09 +00:00 |
|