Ross Owen
|
55c68f3c31
|
Updates to decouple includes
|
2014-03-06 10:29:40 +00:00 |
|
Ross Owen
|
ea5d579631
|
Added macros for 16bit memory load/store to xc_ptr.h
|
2014-03-06 10:29:02 +00:00 |
|
Ross Owen
|
2ea052b5d5
|
main.xc no longer includes old usb.h header
|
2014-03-06 10:28:22 +00:00 |
|
Ross Owen
|
f39785d9d8
|
VendorAudioRequests() header change such that can be called from C
|
2014-03-06 10:27:44 +00:00 |
|
Ross Owen
|
01da998328
|
Various updates to descriptors to use new defines/headers/structs
|
2014-03-06 10:26:37 +00:00 |
|
Ross Owen
|
15614ceafc
|
descriptors now includes updated module_usb_shared headers.
|
2014-03-06 10:23:04 +00:00 |
|
Ross Owen
|
16dd905149
|
Audio requests now includes usb_std_requests.h (was using usb.h)
|
2014-03-06 10:22:17 +00:00 |
|
Ross Owen
|
046d218eba
|
Removed SAMPLE_BIT_RESOLUTION and SAMPLE_SUBSLOT_SIZE defines. STREAM_FORMAT defines now used.
|
2014-03-06 10:21:48 +00:00 |
|
Ross Owen
|
8a6f4236d5
|
DFU enabled by default in devicedefines.h
|
2014-03-06 10:20:57 +00:00 |
|
Ross Owen
|
f759f05368
|
Removed unused commands.
|
2014-03-06 10:20:26 +00:00 |
|
Ross Owen
|
a10c2e00ec
|
Removed IO_EXPANSION from devicedefines.h No longer user.
|
2014-03-06 10:19:55 +00:00 |
|
Ross Owen
|
7c3b8b2dd7
|
Added SET_STREAM_FORMAT_ commands to commands.
|
2014-03-06 10:19:09 +00:00 |
|
Ross Owen
|
5d2ae2740f
|
Updated DFU api such that can be called from C. Also used new enums in DFU desc.
|
2014-03-06 10:18:54 +00:00 |
|
Ross Owen
|
5009e74a1e
|
Added DFUDelay helper fund (endpoint 0 now in c so no timers... )
|
2014-03-06 10:18:20 +00:00 |
|
Ross Owen
|
67604bdb15
|
gitignore update only.
|
2014-03-06 10:17:51 +00:00 |
|
Ross Owen
|
77e7073470
|
Endpoint 0 now in C (rather than XC). Allows better use of structures for descriptors. Also added changes for FS desc munging using structs and alt SET_STREAM_FORMAT commands.
|
2014-03-06 10:17:37 +00:00 |
|
Sam Chesney
|
c696fc608b
|
Consolidated MAX_IAP_PACKET_SIZE and IAP_USB_BUFFER_TO_HOST_SIZE into a single define: IAP_MAX_PACKET_SIZE
|
2014-02-24 16:59:21 +00:00 |
|
Sam Chesney
|
e75e5b131f
|
iAP tx buffer no longer one word longer than max packet size, as length is no longer added to the buffer
|
2014-02-24 16:47:05 +00:00 |
|
Sam Chesney
|
ca69c2cc38
|
iap_handle_poll_dev_det() now takes incoming and outgoing buffers as parameters, no longer takes timer parameter
|
2014-02-21 14:55:24 +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
|
2800df22eb
|
Comment only.
|
2014-02-20 14:03:24 +00:00 |
|
Ross Owen
|
41b1bdd815
|
Removed unused vars from decouple
|
2014-02-20 14:00:22 +00:00 |
|
Ross Owen
|
c82e8c5a90
|
GetADCCounts now uses XUD_BusSpeed_t
|
2014-02-20 13:34:13 +00:00 |
|
Ross Owen
|
b9a8b1b4bf
|
XUD_BusSpeed_t now used for global bus-speed var (previously was unsigned)
|
2014-02-20 13:33:51 +00:00 |
|
Ross Owen
|
4ed3fbfab6
|
Removed explicit wait loop for aud_ctl_chan global. Now relies on setup of aud_to/from_host flag globals.
|
2014-02-20 13:32:35 +00:00 |
|
Ross Owen
|
fbdfdff31c
|
Added use of GET_SHARED_GLOBAL macro rather than direct inline ASM when getting bus-speed in interrupt handler.
|
2014-02-20 13:31:28 +00:00 |
|
Ross Owen
|
bab06c66ea
|
Global vars for EP's in decouple now XUD_ep (were int)
|
2014-02-20 13:30:34 +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
|
3e5ac4ffdd
|
Added SetupZerosSendBuffer func since code duplicated. This function is now also called on SET_CHANNEL_COUNT_IN
|
2014-02-19 17:48:53 +00:00 |
|
Ross Owen
|
bfe829f227
|
Comment only.
|
2014-02-19 17:47:13 +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
|
a97666892a
|
Removed setting of g_iap_reset. Previously was used to signal decouple to reset iAP on a SetConfig event. No longer used
|
2014-02-19 17:06:16 +00:00 |
|
Ross Owen
|
859e264fb6
|
Removed guard that was used when re-calling SetReady_In on sample rate change. New (non-channel-based XUD API means this can be called multiple times without locking)
|
2014-02-19 15:23:44 +00:00 |
|
Ross Owen
|
77cb50170e
|
Removed initial wait for USB speed from decouple before g_numUsbChanXX is set. This would break mixer on initial startup if USB not connected. This should be okay since g_numUsbChan is set on SET_CHANNEL_COUNT
|
2014-02-19 14:58:06 +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 |
|
Sam Chesney
|
d98736a18d
|
Resolve excess elements in array initializer warning when iAP interrupt EP is disabled
|
2014-02-18 17:59:04 +00:00 |
|
Ross Owen
|
e126ba349b
|
Removed debug prints.
|
2014-02-18 17:50:55 +00:00 |
|
Ross Owen
|
1338adf031
|
Merge branch 'master' of git://git/apps/sc_usb_audio
|
2014-02-18 16:51:45 +00:00 |
|
Ross Owen
|
6afd42be8e
|
XUD_Result_t usage in audiorequests (fixing audio class 1.0 build issues)
|
2014-02-18 16:51:37 +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
|
fbbe6d50a1
|
Merge branch 'XUD_RESET_EP' of git://git/apps/sc_usb_audio into XUD_RESET_EP
|
2014-02-18 11:59:43 +00:00 |
|
Ross Owen
|
b9b9ee5e36
|
retVal -> result and XUD_Result_t enum properly used.
|
2014-02-18 11:59:36 +00:00 |
|
Sam Chesney
|
f43470f20b
|
Explicitly select the PC connector to begin with (as connections to the USB B cannot actively be detected) for designs where the USB B is selected by driving the switch high (#13887)
|
2014-02-17 19:46:54 +00:00 |
|