Commit Graph

663 Commits

Author SHA1 Message Date
Ross Owen
0ddf95c063 DFU_STR_INDEX defines now use offset into StringDescTable_t 2014-03-20 18:16:08 +00:00
Ross Owen
47a9e8fcdd Removed old MANU and PRODUCT STR index defines 2014-03-20 18:15:36 +00:00
Ross Owen
8a6be40889 'Release: 6.5.0beta2' 2014-03-07 12:48:04 +00:00
Ross Owen
acd4fb35da Re-orded macros 2014-03-07 12:07:03 +00:00
Ross Owen
c152871efe Fixed audio class 1 SetCur(Sampling Freq) request. Broken in XUD API change. 2014-03-07 12:06:45 +00:00
Ross Owen
1e31c9e518 'Release: 6.5.0beta1' 2014-03-06 21:17:30 +00:00
Ross Owen
0e120103c1 unreachable logic the wrong way around in input switch statement. Used cases removed, unused kept. 2014-03-06 21:17:07 +00:00
Ross Owen
71c876f356 Decouple only tells audio to change to/from DSD/PCM mode if there is an actual change to be made 2014-03-06 21:16:17 +00:00
Ross Owen
fa8ab2a019 Extra brackets in the STREAM_FORMAT_INPUT_ checking... 2014-03-06 21:15:12 +00:00
Ross Owen
832fd7745d Default STREAM_FORMAT_INPUT_1_RESOLUTION set to 24 (from 16) 2014-03-06 21:14:34 +00:00
Ross Owen
9c5e0a1dd8 'Release: 6.5.0beta0' 2014-03-06 17:50:18 +00:00
Ross Owen
bee1470310 XPD updates for 6.5 2014-03-06 17:49:58 +00:00
Ross Owen
43924d22be Whitespace only. 2014-03-06 17:15:14 +00:00
Ross Owen
728abdc951 Whitespace only. 2014-03-06 17:14:59 +00:00
Ross Owen
87194a878e Re-added builtin_unreachable() using SUBSLOT_X_USED defines. 32 bit volume processing guarded by OUTPUT_RESOLUTION_32BIT_USED 2014-03-06 16:16:30 +00:00
Ross Owen
f4efa0fe70 Dead code remove only. 2014-03-06 16:15:04 +00:00
Ross Owen
44156af35e Descriptor comment tidy 2014-03-06 16:14:49 +00:00
Ross Owen
62212f1067 Re-added INPUT_RESOLUTION_32BIT_USED 2014-03-06 16:14:20 +00:00
Ross Owen
25f40e5d9b Re-added 4 byte subslot for 24bit res input 2014-03-06 16:04:54 +00:00
Ross Owen
6145bfde6f Added STREAM_FORMAT_OUTPUT_SUBSLOT_X_USED defines 2014-03-06 16:04:10 +00:00
Ross Owen
ab2bb89db8 Removed inline asm comments in usb buffer select 2014-03-06 13:31:28 +00:00
Ross Owen
a1d6c56352 fixed hwtimer define (hwtimer -> hwtimer_t) 2014-03-06 13:28:22 +00:00
Ross Owen
e063cd2032 Added check for XCC_VERSION_NUMBER when using hwtimers in power save constructor 2014-03-06 13:20:40 +00:00
Ross Owen
f32acbd55d Reordering some declarations for build on 12 tools 2014-03-06 12:14:26 +00:00
Ross Owen
ea56e1072a Added audiorequests.h 2014-03-06 10:51:23 +00:00
Ross Owen
f154c734cd Merge branch 'ANDROID' 2014-03-06 10:36:29 +00:00
Ross Owen
cd8fa036e2 Added support from SET_STREAM_FORMAT_x commands from Ep0 2014-03-06 10:35:48 +00:00
Ross Owen
fa2285f27f Updated usb buffer includes 2014-03-06 10:35:03 +00:00
Ross Owen
c1a175ae8b - Optimised 16bit pack/unpack.
- Added use of separate subSlot_in & subSlot_out vars
- Zero buffer now setup using curSubSlot_in
- Added dealing with SET_STREAM_FORMAT commands from usb buffer
2014-03-06 10:34:41 +00:00
Ross Owen
31034e10ce Removed checking of USB Bus-speed on every decouple interrupt handler. SlotSize and maxPacketSize now setup on SET_STREAM_FORMAT event 2014-03-06 10:32:00 +00:00
Ross Owen
c914a7d9c6 Added global format change vars for stream change communications from usb_buffer(). 2014-03-06 10:31:13 +00:00
Ross Owen
3ea529014a Updates to decouple packet size related defines. 2014-03-06 10:30:25 +00:00
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