Commit Graph

112 Commits

Author SHA1 Message Date
Russell
59fed688b4 Create simpler wrapper for reboot_device so I can just set the maxchanends in that. 2012-01-09 16:20:57 +00:00
Russell
dd5e086088 Freer requires outct CT_END negociation in both ways before closing down. 2012-01-09 16:11:32 +00:00
Russell
541ee1af81 Use Macro to hide inline assembly. 2012-01-09 16:10:35 +00:00
Russell
3141dec113 Send CT_END on chanend before closing it, to prevent illegal resource exception. 2012-01-09 14:48:55 +00:00
Russell
8b0ad92d87 Free chanend in device_reboot so there is one to talk to the sswitch on.
Compiled to assembly and frigged the accounting of chanends to get it passed the mapper.
2012-01-06 16:26:58 +00:00
Russell
6a195a8241 Disable flash_cmd_reboot as reboot done in endpoint0 2012-01-06 16:22:25 +00:00
Russell
bd510cb289 Tabs to spaces 2012-01-06 16:20:21 +00:00
Russell
861f706fe2 Think that the greatest buffer requirement here is for the mixer controls which I think only requires 36 bytes. 2012-01-06 11:59:20 +00:00
Russell
87e2fa6abd Don't need huge buffer here. 2012-01-06 11:45:14 +00:00
Russell
188412c1de Remove unneeded strings. Could be done better based on what is needed. 2012-01-06 11:31:08 +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
156128a40d Tidy up comments. 2011-12-14 12:04:48 +00:00
Russell
bcfd541f92 Reduce power for null configurator. 2011-12-13 15:11:35 +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
Russell
c1ff1a141a Reduce power requirement and change flags in GetStatus 2011-12-01 17:04:01 +00:00
Russell
b5d4670de6 Revert last change as fails on Command Verifier. 2011-12-01 16:43:51 +00:00
Russell
b578d759b5 bMaxPower should be zero for self powered USB 2011-12-01 16:29:03 +00:00
Russell
e75b99d160 Rely on SELF_POWERED define as master branch. 2011-11-29 17:24:12 +00:00
Ross Owen
1115d353ef Updates for iAP reset 2011-11-22 15:58:39 +00:00
Russell
e8625e2b37 Get ZLP after early unplug working. 2011-11-21 11:22:03 +00:00
Russell
d8f49497c9 Remove inconsequential changes on ios branch 2011-11-21 10:56:24 +00:00
Russell
b5faf8a621 Merge branch 'iosaudioaccessory' of git://git/apps/sc_usb_audio into iosaudioaccessory 2011-11-18 12:15:53 +00:00
Ross Owen
80d85d0d4c Merge branch 'iosaudioaccessory' of git://git/apps/sc_usb_audio into iosaudioaccessory 2011-11-18 11:54:34 +00:00
Ross Owen
8438cc4783 Added reset for iAP int ep 2011-11-18 11:54:19 +00:00
Russell
ef78f7ff30 Fixup to reduce differences to master branch of this repo. 2011-11-18 10:09:54 +00:00
Russell
8e28b7828c Revert "[PATCH 19/19] bug 11378: documented SERIAL_STR_INDEX behaviour on Windows XP"
Not on master branch of this repo.

This reverts commit 3cf50babad.
2011-11-18 09:54:04 +00:00
Russell
3cf50babad [PATCH 19/19] bug 11378: documented SERIAL_STR_INDEX behaviour on Windows XP 2011-11-18 09:37:54 +00:00
Russell
9f7d5762ef [PATCH 18/19] Added SetReady in SF reset code if overflow flag set (BUG #10897) 2011-11-18 09:35:51 +00:00
Russell
f54f1c44b1 Manually apply: [PATCH 17/19] (re-)removed assert.h 2011-11-18 09:33:43 +00:00
Russell
ba1284b9cd Manually apply: [PATCH 16/19] Reverted back to 5v2 release of decouple.xc due to issues with new prefill 2011-11-18 09:31:27 +00:00
Russell
0bcbae5611 [PATCH 15/19] Fixed MIDI string indices. Hex/Dec mixup (#10718) 2011-11-18 09:05:51 +00:00
Russell
1d2353c316 Fixup to get swap in IAP !MIDI configuration 2011-11-17 17:24:35 +00:00
Russell
c16bb231f5 Manually apply: [PATCH 14/19] Fixed DFU string index for audio 2.0 mode 2011-11-17 17:22:17 +00:00
Russell
1b9a5534a5 Manually apply: [PATCH 13/19] Fixed DFU length for audio 1.0 config desc 2011-11-17 17:19:14 +00:00
Russell
4ef555de18 Manually apply: [PATCH 12/19] Removed <assert.h> 2011-11-17 17:18:07 +00:00
Russell
da7e0bef80 Manually apply: [PATCH 08/19] 2v3 -> 2v4
Removed reference to meta_info which doesn't exist.
Adjusted iAP iInterface as well.
2011-11-17 17:15:30 +00:00
Russell
0e923eecaa Manually apply: [PATCH 07/19] Whitespace only 2011-11-17 17:01:53 +00:00
Russell
a2bdb839a3 Manually apply: [PATCH 06/19] Added checks for NUM_USB_CHAN_IN and NUM_USB_CHAN_OUT being 0 - previously build errors 2011-11-17 16:57:09 +00:00
Russell
fb22564406 [PATCH 05/19] Added checks for NUM_USB_CHAN_IN and NUM_USB_CHAN_OUT being 0 - previously build errors 2011-11-17 16:51:35 +00:00
Russell
896d674a30 Manually apply: [PATCH 04/19] Tidy up for old INPUT and OUTPUT defines. Now based on channel count defs 2011-11-17 16:50:44 +00:00
Russell
a2c0718b26 Manually apply: [PATCH 03/19] Added checks for NUM_USB_CHAN_IN and NUM_USB_CHAN_OUT being 0 - previously build errors 2011-11-17 16:45:43 +00:00
Russell
0e0f6113f0 Apply manually: [PATCH 02/19] Mixer unit now used MAX_MIX_COUNT define 2011-11-17 16:36:40 +00:00
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