Commit Graph

53 Commits

Author SHA1 Message Date
Sam Chesney
856fe6b4fb incoming and outgoing buffers now different types, with extra fields added to iap_out_buf type 2014-01-17 20:03:35 +00:00
Sam Chesney
4f501bf7da iAP input and output buffers now separated, also MIDI ports are no longer passed in to iAP functions when no dedicated i2c ports are present as p_midi_in is now buffered. 2014-01-15 18:50:05 +00:00
Ross Owen
3570f551e1 MIDI Rx port now buffered. Means that Start-bit detect select case doesn't get started on receipt of large MIDI packet. 2014-01-11 16:33:29 +00:00
Richard Osborne
577b5f500d Make functions static where possible, no intended functionality change.
This saves 208 bytes.
2013-12-09 18:09:18 +00:00
Richard Osborne
a695e58524 Add a new module implementing a queue data structure.
Since the functions are simple make them inline functions. This provides a
small code size saving.
2013-12-09 18:09:18 +00:00
Sam Chesney
9c531dbafe Improved iAP case function name 2013-12-06 16:28:36 +00:00
Sam Chesney
5ecc36096f Improved iAP case function name 2013-12-06 16:26:11 +00:00
Sam Chesney
a90878a94b Removed uppercase letters from file names from module_iap 2013-12-05 11:16:20 +00:00
Ross Owen
d921f04cd5 Just changes after MIDI sysex debug 2013-02-07 17:14:16 +00:00
Ross Owen
4aafabd7cc First stab at iOS in 6v0. Replug (i.e. reset notification) not working yet 2013-01-29 16:47:53 +00:00
Ross Owen
a5d8080aca Directions added to MIDI port declarations. MIDI clean startup issue addressed 2012-10-23 17:45:40 +01:00
Ross Owen
e2c55254fa Moving to refactor XUD 2012-06-26 15:42:15 +01:00
Ross Owen
050b6001ab Upates for XUD refactor 2012-06-11 11:36:46 +01:00
Ross Owen
b900002f84 Added hid controls 2012-04-10 15:18:13 +01:00
Ross Owen
017ef915bb Updated iap stuff 2012-03-02 17:25:24 +00:00
Ross Owen
4d0c276ef7 updates for new iAP API - optional port params 2012-02-27 14:31:04 +00:00
Ross Owen
5c9079eaa6 Changed required for new iic code API 2012-02-24 17:08:42 +00:00
Ross Owen
834a4d602f Merge branch 'master' into iosaudioaccessory
Conflicts:
	module_usb_aud_shared/clocking/clocking.h
	module_usb_aud_shared/usb_buffer/decouple.xc
	module_usb_aud_shared/usb_buffer/usb_buffer.xc
	module_usb_midi/src/usb_midi.xc
2012-02-21 16:46:30 +00:00
Ross Owen
82494331b9 Updates to get L2 working on latest iOS codebase 2012-02-20 15:53:12 +00:00
Russell
e5c9452d72 Re-use i2ctimer for iAPTimer to save another timer 2012-01-06 10:18:25 +00:00
Russell
59936b895c Re-use iAPTimer for polling dev det in usb_midi thread. 2012-01-05 17:56:56 +00:00
Russell
6bf8d1c475 Refactor usb midi 2011-12-16 12:26:17 +00:00
Ross Owen
165c184f95 devicedefines.h now included in usb_midi.h 2011-12-13 14:41:42 +00:00
Ross Owen
b683ac963e Added MIDI_SHIFT 2011-12-07 12:48:59 +00:00
Russell
1e1cb9288d Plug in variable size queue implementation for saving buffer space in iAP. 2011-12-06 17:12:44 +00:00
Russell
f979c80dbd Modifications so can compile with IAP disabled. 2011-12-05 18:19:29 +00:00
Ross Owen
1115d353ef Updates for iAP reset 2011-11-22 15:58:39 +00:00
Russell
de3ed69691 Fixed bug 11688: MIDI output low until there is midi traffic. 2011-11-08 15:48:48 +00: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 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
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
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
85d5e6980d Add comments 2011-08-11 15:02:53 +01:00