Ross Owen
a4f4f44f2a
Merge pull request #11 from arp2600/master
...
Added waf build scripts for modules
2017-10-09 10:31:15 +01:00
Larry Snizek
0bc2e54818
Give UAC1 control interface a name. Swap UAC1 DFU and control interface numbers. Was typically 3 for DFU and 4 for control, now 3 for control and 4 for DFU.
2017-10-06 17:43:56 +01:00
Ross Owen
e3fd1601d7
Cleaned up some build warnings when NUM_USB_CHAN_OUT = 0
2017-08-24 10:12:07 +01:00
Ross Owen
25653fc080
xpd: Patched version number
2017-08-07 16:21:13 +01:00
Ed Clarke
9886ee6362
fix exception - ensure chan param nullable down to DOSampletransfer when NO_USB defined
2017-08-07 15:58:00 +01:00
Sam Chesney
13f5bb313d
xpd: Cleaned up whitespace
2017-08-03 15:50:15 +01:00
Sam Chesney
4955d2d282
xpd: Patched version number
2017-08-03 15:50:15 +01:00
Ross Owen
cdbda31041
Fix for warning: c_mix_out not used in two parallel statements in I2S only builds
2017-08-03 14:11:01 +01:00
Ross Owen
a92ec3a0c4
Disabled DFU flash code warning
2017-08-02 15:52:32 +01:00
Ross Owen
3dfd070e58
Disable UAC warnings on NO_USB
2017-08-02 15:49:57 +01:00
Ross Owen
cbeb5b4438
DFU_PID based on AUDIO_CLASS
2017-07-28 13:17:20 +01:00
Ross Owen
d9bf958c90
Fixed USB DFU issue - code was excluded incorrectly
2017-07-25 15:11:38 +01:00
George Roger
e3117d438e
Added waf build scripts for modules
2017-07-24 12:20:44 +01:00
Ross Owen
114d2be444
Quick fix for to get NO_USB building
2017-07-19 02:31:25 +01:00
Larry Snizek
cbe926f686
Correct stray "else" - meant that g_freqChange never changed
2017-07-18 17:32:50 +01:00
Ed Clarke
42a0ac7fd8
Add comment to explain magic numbers
2017-06-29 11:05:24 +01:00
Ed Clarke
721ee98ea4
Initial changes to remove xud dependancies when compiling with NO_USB=1
2017-06-29 09:48:59 +01:00
Ross Owen
b521b15744
Fix for warning: `dfuInterface' not used in two parallel statements when NO_USB
2017-06-02 14:44:32 +01:00
Ross Owen
b568b0181b
Fixed warning re: UAC1 DFU
2017-06-02 12:43:15 +01:00
Brendon Le Comte
67c1cbb50f
Merge branch 'master' into pdm_replay
2017-05-25 13:36:53 +01:00
Ross Owen
f706e09d2a
Added bus disconnect code to X200 reboot (see bugzilla #17377 )
2017-05-25 11:51:50 +01:00
Sam Chesney
b996cbc10c
Update default product string to match SM+ pattern
2017-05-24 17:26:38 +01:00
Brendon
581287f0ee
modifications required for pdm replay to work
2017-05-24 14:10:27 +01:00
Ross Owen
8e861e0a5e
DFU flash code run on tile[0] even if XUD_TILE and AUDIO_IO_TILE are not 0
2017-05-24 10:45:56 +01:00
George Roger
307a6a6f28
Changed some array types to remove warning 'reinterpretation
...
to type of larger alignment'
2017-05-23 10:21:53 +01:00
George Roger
3de6a963a0
Removed initial definition of NUM_INTERFACES_A1
2017-05-22 09:41:32 +01:00
Ross Owen
8b3e5d8e80
Fixed descriptor length issue with UAC1 + DFU
2017-05-08 14:57:47 +01:00
Ross Owen
1805429e90
Resolved build issue with missing DFU related define
2017-05-08 14:32:02 +01:00
Ross Owen
0eb1f965bf
Various files built for size
2017-05-08 14:04:21 +01:00
Ross Owen
da06dbd9da
Added DFU to UAC1 descriptors (guarded by DFU and FORCE_UAC1_DFU)
2017-05-08 14:03:58 +01:00
Ross Owen
ae96edae24
Merge branch 'master' of git://git.xmos.local/apps/sc_usb_audio
2017-03-14 17:18:07 +00:00
Ross Owen
8815f8ce6c
Partially undid removal of SR change code when MIN_FREQ=MAX_FREQ. DFU currently uses the SR change code to operate.
2017-03-14 17:17:59 +00:00
Sam Chesney
cf8e3c1cf9
Fix build issue in UAC1 configs
...
Class 1 configurations of apps that also define AUDIO_CLASS_FALLBACK as
1 failed to build as the devDesc_Audio2 struct now only exists when
AUDIO_CLASS is defined as 2. This change was introduced in commit
ca1925db7a .
2017-03-10 12:22:11 +00:00
Ross Owen
248b73e285
Runtime fixes for DFU disable
2017-03-09 12:45:59 +00:00
Ross Owen
2371a58d90
Fixed build issue when DFU = 0 (nullable param)
2017-03-09 12:02:04 +00:00
Sam Chesney
6eed769d90
Quick fix to borderline I2S timing issue
...
The initial receive on c_pdm_pcm channel ensures the mic array
decimator timing requirements are met when running configurations that
use the up and down-samplers.
However it appears to make the I2S timing very marginal, as subsequent
reads from the c_pdm_pcm channel will block for longer.
2017-03-01 17:08:22 +00:00
Ross Owen
af5760f120
Revert "Added some extra timing margin for port setup/buffer (to avoid I2S data-shift)"
...
This reverts commit 30f0689434 .
2017-03-01 14:00:43 +00:00
Ross Owen
30f0689434
Added some extra timing margin for port setup/buffer (to avoid I2S data-shift)
2017-03-01 12:22:46 +00:00
Sam Chesney
df59ac2e56
Fix non PDM mic builds
...
Guard initial PDM mic channel access.
2017-02-24 13:30:24 +00:00
Sam Chesney
4ed791bb04
Improve I2S to PDM mic ratio naming clarity
2017-02-24 11:37:57 +00:00
Sam Chesney
e0b1711f8f
Improve I2S up & down-sampling ratio naming clarity
2017-02-24 11:23:06 +00:00
Sam Chesney
a96c65cb9f
Replace magic numbers with defines from lib_src
2017-02-24 11:03:57 +00:00
Sam Chesney
bfea4565c3
Replace separate data_0[] and data_1[] with single mic_decimator_fir_data[]
...
Updated to match current integration style used in lib_mic_array
exampled apps.
2017-02-23 10:48:48 +00:00
Sam Chesney
98cdd56449
Trim trailing whitespace
2017-02-23 10:48:48 +00:00
Ross Owen
ef812fd333
Fixed memory corruption issue with lib_mic_array if mic frequency < USB frequency
2017-02-22 22:50:00 +00:00
Sam Chesney
b79cf43593
Fix PDM mic transfer rate - use MICS_TO_AUD_RATIO
2017-02-17 09:39:51 +00:00
louis
c85d8206e2
Re-add support for I2S_DOWNSAMPLE_MONO_IN.
2017-02-13 08:37:07 +00:00
Sam Chesney
e70b572551
Add USB_TO_AUD_RATIO and MICS_TO_AUD_RATIO defaults
2017-02-13 08:08:15 +00:00
louis
fcf28537bb
Merge
2017-02-10 16:24:57 +00:00
louis
0f3db83b59
Change I2S_DOWNSAMPLE_FACTOR_IN and I2S_UPSAMPLE_FACTOR_OUT to
...
USB_TO_AUD_RATIO and MICS_TO_AUD_RATIO in audio_io.xc.
2017-02-10 16:18:17 +00:00