Commit Graph

46 Commits

Author SHA1 Message Date
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
Russell Gallop
b1656cb2db Formatting 2011-08-12 11:30:40 +01:00
Russell Gallop
f1b575c585 Replace one place buffer going to host with queue 2011-08-12 11:13:03 +01:00
Russell Gallop
cfad1cdc12 Rename q to more descriptive symbol_fifo 2011-08-11 16:35:08 +01:00
Russell Gallop
ded512dc4b Replace fifo with queue implementation. 2011-08-11 16:31:07 +01:00
Russell Gallop
5f0a15d4dc Convert to use unsigned buffer 2011-08-11 16:06:04 +01:00
Russell Gallop
ff035c8b08 Add queue implementation from experiments area. 2011-08-11 15:39:49 +01:00
Russell Gallop
d4e1bc3906 Add IAP_BUFFERED preprocessor macro to filter out new work to put iAP through buffer and decouple. 2011-08-11 15:19:39 +01:00
Russell Gallop
85d5e6980d Add comments 2011-08-11 15:02:53 +01:00
Russell Gallop
e6bc0b739e Some tidying 2011-08-10 16:16:15 +01:00
Russell Gallop
6801d7a7c2 Add comments. Remove unnecessary variables. 2011-08-02 17:46:11 +01:00
Russell Gallop
13835851b3 Missed some changes. 2011-07-29 16:01:05 +01:00
Russell Gallop
17babda9e5 Copied midi buffering to iap buffering. 2011-07-29 12:19:18 +01:00
Russell Gallop
3a611fe375 Don't use extra channel if SPDIF not enabled. 2011-07-26 17:22:31 +01:00
Russell Gallop
048f9ebf51 undef IAP if defined as zero. 2011-07-19 15:24:05 +01:00
Russell Gallop
7bc53853c4 Copy across from apps_usb_aud_shared 2011-07-08 15:12:28 +01:00
Dave Lacey
0235ee8dcc Do not export git info 2011-07-07 21:49:52 +01:00
Dave Lacey
1980e7a273 Removed some spurious files 2011-07-07 21:32:39 +01:00
Dave Lacey
02b07ed9f3 First commit 2011-07-07 20:15:51 +01:00