Commit Graph

68 Commits

Author SHA1 Message Date
Dave Lacey
afc59caf36 Made prefill levels vary with sample rate and usb speed 2011-11-17 16:15:29 +00:00
Russell
1d0daaa818 Remove L2 channel style i2c 2011-11-17 15:20:37 +00:00
Russell
36246a4f2d Remove i2c chanend argument from config functions. 2011-11-17 15:17:26 +00:00
Ross Owen
9a3b011c95 Added testmodes to ep0 2011-11-16 11:11:40 +00:00
Ross Owen
d27f1991a0 Added testmodes to ep0 2011-11-16 11:11:14 +00:00
Russell
de3ed69691 Fixed bug 11688: MIDI output low until there is midi traffic. 2011-11-08 15:48:48 +00:00
Russell
2aef37576c Refactor inuint_byref to testct_byref to support using status reporting. Works as before. 2011-11-02 17:28:09 +00:00
Russell
03957a411c Fix max packet size of ios interrupt endpoint issue. 2011-10-27 15:15:43 +01:00
Russell
aec62a2de3 Attempt to fix non continuous interface number issue. 2011-10-27 15:02:38 +01:00
Russell
5aaf23eb63 Remove unused CONNECTOR_30_PIN. No longer needed as auto switching. 2011-10-13 16:02:07 +01:00
Russell
3d8dc360d1 Implement bug 11331 for iOS + MIDI configuration. Ran out of timers so have to be careful about use of init_iAP and polling timer. 2011-10-13 11:44:24 +01:00
Russell
78a5861e3e Move reset signalling in endpoint 0 from on reset to on enumeration. 2011-10-12 10:51:30 +01:00
Russell Gallop
c12e0bfce5 BUG 11356: Keep iAP messages together by sending length before data 2011-09-21 11:21:58 +01:00
Russell Gallop
c0a701b926 Move coProcessorInit into init_iAP. 2011-09-16 14:08:12 +01:00
Russell Gallop
3649f1923c Move handle_iap_case from module_usb_midi to module_ios. 2011-09-15 12:00:35 +01:00
Russell Gallop
556fb87b58 Extract handle_iap_case. 2011-09-15 11:44:16 +01:00
Russell Gallop
5d47bbe30e BUG 11301: Prevent Multiple StartIDPS 2011-09-15 11:22:15 +01:00
Russell Gallop
f5ff31d730 Merge branch 'iosaudioaccessory' of git://git/apps/sc_usb_audio into iosaudioaccessory
Conflicts:
	module_usb_aud_shared/endpoint0/descriptors_2.h
2011-09-07 16:46:15 +01:00
Russell Gallop
a3768f6286 Fix comment on interrupt polling interval 2011-09-07 16:45:40 +01:00
Russell Gallop
5d9b76abb3 Fix comment on interrupt polling interval 2011-09-07 16:38:56 +01:00
Russell Gallop
5c6dd16a3c Remove IAP_BUFFERED as this is the only option now. 2011-09-06 12:22:28 +01:00
Russell Gallop
f8af92041d Add #define for 30 pin connector or USB B 2011-08-30 18:03:29 +01:00
Russell Gallop
57f85cee12 Handle remaining tail length case. 2011-08-30 17:46:02 +01:00
Russell Gallop
961c97ead4 Remove interfaceAlt check 2011-08-26 16:25:52 +01:00
Russell Gallop
a3d9d83d54 Remove print of interfaceAlt[1] which prints 1 after reconnecting. 2011-08-26 16:04:19 +01:00
Russell Gallop
7ffda0c885 Trigger reset from endpoint 0. 2011-08-26 16:03:24 +01:00
Russell Gallop
4b6ea19049 Get iAP reset from decouple. Currently just done a initialisation. 2011-08-26 15:35:17 +01:00
Russell Gallop
a4c5c56b6d Jam iAP into usb_midi. 2011-08-25 18:05:18 +01:00
Russell Gallop
adc3d6bb4b Rename to_host_fifo to midi_to_host_fifo to make room in namespace for iap buffer. 2011-08-25 18:02:27 +01:00
Russell Gallop
25e2b5c1ed Rename outputting guard to isTX to be more consistent. 2011-08-25 12:01:00 +01:00
Russell Gallop
5e14a17287 Handle other cases of tail length that come up. 2011-08-23 17:38:02 +01:00
Russell Gallop
c82dca2b37 Send length of buffer to iAP thread. 2011-08-23 17:15:54 +01:00
Russell Gallop
de159ad6bf Revert usb buffer code to reading uints from XUD as required for performance constraint. Handle some cases of tail to define data length. 2011-08-23 17:00:17 +01:00
Russell Gallop
b1a9b10e3c Add IO_EXPANSION #define 2011-08-22 14:14:50 +01:00
Russell Gallop
309e29db7a Attempt to get working byte by byte 2011-08-18 10:48:27 +01:00
Russell Gallop
bf9fec8a69 Send data from host over to iAP byte at a time. 2011-08-17 16:35:39 +01:00
Russell Gallop
5e319197c7 Use write_byte_via_xc_ptr macro. 2011-08-17 16:33:57 +01:00
Russell Gallop
d67788ab83 Add macros for reading and writing from xc pointers without indexing as there are no immediate formats for that. 2011-08-17 16:31:54 +01:00
Russell Gallop
b821b92041 Add read_byte_via_xc_ptr_indexed for reading from buffer byte by byte. 2011-08-17 16:31:03 +01:00
Russell Gallop
4d355517c6 Fix issue of sending each byte of iAP as a word. Write each thing that comes in as an 8 bit value. Need new in line asm to do this. 2011-08-17 14:57:41 +01:00
Russell Gallop
2cd2348309 Remove unused variables 2011-08-17 10:28:50 +01:00
Russell Gallop
bb5840fb66 Handle sending ZLP to interrupt endpoint. 2011-08-16 17:59:35 +01:00
Russell Gallop
4693b9d0b5 Simplify the ready in logic for midi and iap endpoints in decouple. 2011-08-16 17:02:35 +01:00
Russell Gallop
029d499e80 Getting IAP_BUFFERED code working. 2011-08-16 11:14:36 +01:00
Russell Gallop
bcea2045e7 Add comment 2011-08-15 17:29:43 +01:00
Russell Gallop
23280b0a66 Minor 2011-08-15 17:24:40 +01:00
Russell Gallop
cb99f0ee4f Rearrange outputting case to make outputted_symbol work again. Handle empty fifo at end of symbol, don't go around again to do this. 2011-08-12 14:39:10 +01:00
Russell Gallop
49563dda0c Refactor, remove duplicated starting to output case. 2011-08-12 14:17:50 +01:00
Russell Gallop
f9308d97c7 Now should check that space is greater than 3 as before using stale value of space_left. 2011-08-12 11:42:21 +01:00
Russell Gallop
3d7a88b1fc More consistent naming 2011-08-12 11:34:39 +01:00