XK - USB - MIC - UF216 not working

New to XMOS and XCore? Get started here.
matthew1
Active Member
Posts: 47
Joined: Mon Oct 19, 2015 2:12 pm

Re: XK - USB - MIC - UF216 not working

Postby matthew1 » Wed Jan 24, 2018 2:41 pm

I simply used xmake from \sw_usb_audio-[sw]_6.15.2rc1\sw_usb_audio\app_usb_aud_mic_array\ with the default makefile.

Thanks,

Matthew.
rrbluke
Member
Posts: 8
Joined: Fri Jan 19, 2018 2:52 pm

Postby rrbluke » Wed Jan 24, 2018 3:10 pm

Hi Matt,


I tried to reproduce what you did:

1) In a console, I executed "source SetEnv" to load the xTimeComposer environment.

2) Then, I changed dir to the freshly downloaded and patched source code, which looks like this:

drwxrwxr-x 14 luke luke 4096 Jan 22 14:36 ./
drwxrwxr-x 3 luke luke 4096 Jan 24 14:53 ../
drwx------ 3 luke luke 4096 Jan 22 14:34 lib_logging/
drwx------ 3 luke luke 4096 Jan 22 14:34 lib_mic_array/
drwx------ 3 luke luke 4096 Jan 22 14:34 lib_xassert/
drwx------ 4 luke luke 4096 Jan 22 14:34 sc_adat/
drwx------ 5 luke luke 4096 Jan 22 14:34 sc_i2c/
drwx------ 4 luke luke 4096 Jan 22 14:34 sc_spdif/
drwx------ 4 luke luke 4096 Jan 22 14:35 sc_usb/
drwx------ 6 luke luke 4096 Jan 22 14:34 sc_usb_audio/
drwx------ 3 luke luke 4096 Jan 22 14:34 sc_usb_device/
drwx------ 3 luke luke 4096 Jan 22 14:34 sc_util/
drwx------ 4 luke luke 4096 Jan 22 14:35 sc_xud/
drwx------ 11 luke luke 4096 Jan 22 14:34 sw_usb_audio/
-rw-rw-r-- 1 luke luke 98 Apr 5 2016 sw_usb_audio_6.15.2d10da93b6f6.depinfo.yml
-rw-rw-r-- 1 luke luke 74 Nov 28 10:58 .zipinfo
luke@meower:~/XMOS/test/USB Audio 2.0 Device Software v6.15.0$

3) Next, I change dir to the app_usb_aud_mic_array project and execute xmake:

luke@meower:~/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sw_usb_audio/app_usb_aud_mic_array$ xmake > error.txt 2>&1

In the end I am presented with the same error messages (see below).

So obviously, there is some step that I am missing prior to compilation.
Can you please elaborate on all necessary tasks that need to be done with the source code, regardless how insignificant they may seem?
I can only assume that there are some dependencies from other projects you may have built prior to this one.
Or maybe you need to execute another script which modifies the directory structure or something similar.
Please try to be very specific on these steps.

BR,
Luke



Building configuration 1i8o2
Checking build modules
Using build modules: lib_mic_array(2.0.0) lib_logging(2.0.1) module_dfu module_i2c_shared module_i2c_single_port module_usb_audio module_usb_device module_usb_midi module_usb_shared module_xud lib_xassert(2.0.1) module_locks module_queue
Analyzing interrupt.c
Analyzing debug_printf.c
Analyzing flash_interface.c
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/flash_interface.c:105:9: warning: 'fl_readImageRead' is deprecated [-Wdeprecated-declarations]
if (fl_readImageRead(current_flash_page_data) == 0)
^
/home/luke/XMOS/xTIMEcomposer/Community_14.3.2/target/include/flash.h:406:47: note: 'fl_readImageRead' has been explicitly marked deprecated here
__attribute__((deprecated)) static inline int fl_readImageRead(unsigned char page[])
^
1 warning generated.
Analyzing i2c_shared.c
Analyzing flashlib_user.c
Analyzing audiostream.c
Analyzing endpoint0.c
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/endpoint0.c:44:2: warning: DFU will not be enabled in AUDIO 1.0 mode due to Windows requesting driver [-W#warnings]
#warning DFU will not be enabled in AUDIO 1.0 mode due to Windows requesting driver
^
1 warning generated.
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/endpoint0.c:44:2: warning: DFU will not be enabled in AUDIO 1.0 mode due to Windows requesting driver [-W#warnings]
#warning DFU will not be enabled in AUDIO 1.0 mode due to Windows requesting driver
^
1 warning generated.
Analyzing hostactive.c
Analyzing audioports.c
Analyzing decouple_interrupt.c
Analyzing get_adc_counts.c
Analyzing xuduser.c
Analyzing hwlock.c
Analyzing swlock.c
Analyzing audiohw.xc
In file included from ../src/extensions/audiohw.xc:4:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from ../src/extensions/audiohw.xc:4:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
../src/extensions/audiohw.xc:98:18: warning: unused parameter `c_codec' [-Wunused-parameter]
void AudioHwInit(chanend ?c_codec)
^~~~~~~~~~~~~~~~
../src/extensions/audiohw.xc:125:20: warning: unused parameter `samFreq' [-Wunused-parameter]
void AudioHwConfig(unsigned samFreq, unsigned mClk, chanend ?c_codec, unsigned dsdMode,
^~~~~~~~~~~~~~~~
../src/extensions/audiohw.xc:125:53: warning: unused parameter `c_codec' [-Wunused-parameter]
void AudioHwConfig(unsigned samFreq, unsigned mClk, chanend ?c_codec, unsigned dsdMode,
^~~~~~~~~~~~~~~~
../src/extensions/audiohw.xc:125:71: warning: unused parameter `dsdMode' [-Wunused-parameter]
void AudioHwConfig(unsigned samFreq, unsigned mClk, chanend ?c_codec, unsigned dsdMode,
^~~~~~~~~~~~~~~~
../src/extensions/audiohw.xc:126:5: warning: unused parameter `sampRes_DAC' [-Wunused-parameter]
unsigned sampRes_DAC, unsigned sampRes_ADC)
^~~~~~~~~~~~~~~~~~~~
../src/extensions/audiohw.xc:126:27: warning: unused parameter `sampRes_ADC' [-Wunused-parameter]
unsigned sampRes_DAC, unsigned sampRes_ADC)
^~~~~~~~~~~~~~~~~~~~
Analyzing pdm_user.xc
In file included from ../src/extensions/pdm_user.xc:6:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array.h:8:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:26:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:38:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
In file included from ../src/extensions/pdm_user.xc:6:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array.h:8:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:26:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:38:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
../src/extensions/pdm_user.xc:113:13: warning: switch missing default case [-Wswitch-default]
}
^
Analyzing xuduser.xc
In file included from ../src/extensions/xuduser.xc:3:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from ../src/extensions/xuduser.xc:3:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
Analyzing decimator_interface.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:2:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array.h:8:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:26:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:38:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:8:5: warning: 'DEBUG_MIC_ARRAY' is not defined, evaluates to 0
#if DEBUG_MIC_ARRAY
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:27:5: warning: 'DEBUG_MIC_ARRAY' is not defined, evaluates to 0
#if DEBUG_MIC_ARRAY
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:39:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:61:5: warning: 'DEBUG_MIC_ARRAY' is not defined, evaluates to 0
#if DEBUG_MIC_ARRAY
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:80:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:127:5: warning: 'DEBUG_MIC_ARRAY' is not defined, evaluates to 0
#if DEBUG_MIC_ARRAY
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:154:5: warning: 'DEBUG_MIC_ARRAY' is not defined, evaluates to 0
#if DEBUG_MIC_ARRAY
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:2:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array.h:8:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:26:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:38:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:8:5: warning: 'DEBUG_MIC_ARRAY' is not defined, evaluates to 0
#if DEBUG_MIC_ARRAY
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:27:5: warning: 'DEBUG_MIC_ARRAY' is not defined, evaluates to 0
#if DEBUG_MIC_ARRAY
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:39:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:61:5: warning: 'DEBUG_MIC_ARRAY' is not defined, evaluates to 0
#if DEBUG_MIC_ARRAY
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:80:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:93:14: warning: declaration of 'index' shadows a global declaration [-Wshadow]
unsigned index;
^~~~~
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:4:
In file included from /home/luke/XMOS/xTIMEcomposer/Community_14.3.2/target/include/xc/string.h:4:
/home/luke/XMOS/xTIMEcomposer/Community_14.3.2/target/include/string.h:60:1: warning: shadowed declaration is here [-Wshadow]
char *_EXFUN(index,(const char *, int));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:127:5: warning: 'DEBUG_MIC_ARRAY' is not defined, evaluates to 0
#if DEBUG_MIC_ARRAY
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:154:5: warning: 'DEBUG_MIC_ARRAY' is not defined, evaluates to 0
#if DEBUG_MIC_ARRAY
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:180:15: warning: declaration of 'index' shadows a global declaration [-Wshadow]
unsigned index;
^~~~~
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/decimator_interface.xc:4:
In file included from /home/luke/XMOS/xTIMEcomposer/Community_14.3.2/target/include/xc/string.h:4:
/home/luke/XMOS/xTIMEcomposer/Community_14.3.2/target/include/string.h:60:1: warning: shadowed declaration is here [-Wshadow]
char *_EXFUN(index,(const char *, int));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Analyzing hires_delay.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/hires_delay.xc:4:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array.h:8:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:26:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:38:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/hires_delay.xc:4:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array.h:8:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:26:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:38:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/hires_delay.xc:41:36: warning: declaration of 'n' shadows a parameter [-Wshadow]
case c_cmd :> unsigned n :{
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/src/hires_delay.xc:15:9: warning: shadowed declaration is here [-Wshadow]
unsigned n,
^~~~~~~~~~
Analyzing pdm.xc
Analyzing fir_coefs.xc
Analyzing dfu.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:3:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:3:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:9:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/flash_interface.h:30:1: warning: redundant redeclaration of 'flash_cmd_init' [-Wredundant-decls]
int flash_cmd_init(void);
^~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/flash_interface.h:4:1: note: previous declaration of 'flash_cmd_init' was here [-Wredundant-decls]
int flash_cmd_init(void);
^~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:75:27: warning: unused parameter `c_user_cmd' [-Wunused-parameter]
static int DFU_CloseFlash(chanend ?c_user_cmd)
^~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:87:45: warning: unused parameter `c_user_cmd' [-Wunused-parameter]
static int DFU_Detach(unsigned int timeout, chanend ?c_user_cmd, unsigned &DFU_state)
^~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:155:27: warning: comparison between signed and unsigned [-Wsign-compare]
for (i = 0; i < subPagesLeft; i++)
~~^~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:108:106: warning: unused parameter `c_user_cmd' [-Wunused-parameter]
static int DFU_Dnload(unsigned int request_len, unsigned int block_num, const unsigned request_data[16], chanend ?c_user_cmd, int &return_data_len, unsigned &DFU_state)
^~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:204:49: warning: unused parameter `block_num' [-Wunused-parameter]
static int DFU_Upload(unsigned int request_len, unsigned int block_num, unsigned data_out[16], unsigned &DFU_state)
^~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:263:26: warning: unused parameter `request_len' [-Wunused-parameter]
static int DFU_GetStatus(unsigned int request_len, unsigned data_buffer[16], chanend ?c_user_cmd, unsigned &DFU_state)
^~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:263:78: warning: unused parameter `c_user_cmd' [-Wunused-parameter]
static int DFU_GetStatus(unsigned int request_len, unsigned data_buffer[16], chanend ?c_user_cmd, unsigned &DFU_state)
^~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:309:25: warning: unused parameter `request_len' [-Wunused-parameter]
static int DFU_GetState(unsigned int request_len, unsigned int request_data[16], chanend ?c_user_cmd, unsigned &DFU_state)
^~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:309:82: warning: unused parameter `c_user_cmd' [-Wunused-parameter]
static int DFU_GetState(unsigned int request_len, unsigned int request_data[16], chanend ?c_user_cmd, unsigned &DFU_state)
^~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:394:35: warning: unused parameter `c_user_cmd' [-Wunused-parameter]
static int XMOS_DFU_RevertFactory(chanend ?c_user_cmd)
^~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:408:33: warning: unused parameter `index' [-Wunused-parameter]
static int XMOS_DFU_SelectImage(unsigned int index, chanend ?c_user_cmd)
^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:408:53: warning: unused parameter `c_user_cmd' [-Wunused-parameter]
static int XMOS_DFU_SelectImage(unsigned int index, chanend ?c_user_cmd)
^~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:452:33: warning: declaration of 'i' shadows a parameter [-Wshadow]
for(int i = 0; i < 16; i++)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:426:17: warning: shadowed declaration is here [-Wshadow]
void DFUHandler(server interface i_dfu i, chanend ?c_user_cmd)
^~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:460:33: warning: declaration of 'i' shadows a parameter [-Wshadow]
for(int i = 0; i < 16; i++)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:426:17: warning: shadowed declaration is here [-Wshadow]
void DFUHandler(server interface i_dfu i, chanend ?c_user_cmd)
^~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:467:33: warning: declaration of 'i' shadows a parameter [-Wshadow]
for(int i = 0; i < 16; i++)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:426:17: warning: shadowed declaration is here [-Wshadow]
void DFUHandler(server interface i_dfu i, chanend ?c_user_cmd)
^~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:478:33: warning: declaration of 'i' shadows a parameter [-Wshadow]
for(int i = 0; i < 16; i++)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:426:17: warning: shadowed declaration is here [-Wshadow]
void DFUHandler(server interface i_dfu i, chanend ?c_user_cmd)
^~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:534:79: warning: unused parameter `c_user_cmd' [-Wunused-parameter]
int DFUDeviceRequests(XUD_ep ep0_out, XUD_ep &?ep0_in, USB_SetupPacket_t &sp, chanend ?c_user_cmd, unsigned int altInterface, client interface i_dfu i,int &reset)
^~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_dfu/src/dfu.xc:534:100: warning: unused parameter `altInterface' [-Wunused-parameter]
int DFUDeviceRequests(XUD_ep ep0_out, XUD_ep &?ep0_in, USB_SetupPacket_t &sp, chanend ?c_user_cmd, unsigned int altInterface, client interface i_dfu i,int &reset)
^~~~~~~~~~~~~~~~~~~~~~~~~
Analyzing i2c-sp.xc
Analyzing audio.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:16:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:103:6: warning: 'MCLK_44' is not defined, evaluates to 0
#if (MAX_DIVIDE_44 > MAX_DIVIDE_48)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:102:24: note: expanded from here
#define MAX_DIVIDE_44 (MCLK_44/MIN_FREQ_44/64)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:1058:5: warning: 'I2S_MODE_TDM' is not defined, evaluates to 0
#if I2S_MODE_TDM
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:16:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:103:6: warning: 'MCLK_44' is not defined, evaluates to 0
#if (MAX_DIVIDE_44 > MAX_DIVIDE_48)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:102:24: note: expanded from here
#define MAX_DIVIDE_44 (MCLK_44/MIN_FREQ_44/64)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:110:32: warning: unused parameter `divide' [-Wunused-parameter]
static inline void doI2SClocks(unsigned divide)
^~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:829:22: warning: declaration of 'command' shadows a previous local [-Wshadow]
unsigned command;
^~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:484:14: warning: shadowed declaration is here [-Wshadow]
unsigned command = DoSampleTransfer(c_out, readBuffNo, underflowWord);
^~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:434:40: warning: unused parameter `c_spd_out' [-Wunused-parameter]
unsigned static deliver(chanend c_out, chanend ?c_spd_out,
^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:439:22: warning: unused parameter `curSamFreq' [-Wunused-parameter]
unsigned divide, unsigned curSamFreq,
^~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:447:5: warning: unused parameter `c_adc' [-Wunused-parameter]
chanend ?c_adc)
^~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:900:30: warning: declaration of 'command' shadows a parameter [-Wshadow]
unsigned command = inct(c_out);
^~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:887:42: warning: shadowed declaration is here [-Wshadow]
static void dummy_deliver(chanend c_out, unsigned &command)
^~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:887:42: warning: unused parameter `command' [-Wunused-parameter]
static void dummy_deliver(chanend c_out, unsigned &command)
^~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/audio.xc:1058:5: warning: 'I2S_MODE_TDM' is not defined, evaluates to 0
#if I2S_MODE_TDM
^
Analyzing main.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/main.xc:17:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/main.xc:17:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/main.xc:286:3: warning: unused parameter `c_clk_int' [-Wunused-parameter]
, chanend ?c_clk_int
^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/main.xc:407:5: warning: unused parameter `c_spdif_rx' [-Wunused-parameter]
streaming chanend ?c_spdif_rx,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/main.xc:408:5: warning: unused parameter `c_adat_rx' [-Wunused-parameter]
chanend ?c_adat_rx,
^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/main.xc:409:5: warning: unused parameter `c_clk_ctl' [-Wunused-parameter]
chanend ?c_clk_ctl,
^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/main.xc:410:5: warning: unused parameter `c_clk_int' [-Wunused-parameter]
chanend ?c_clk_int
^~~~~~~~~~~~~~~~~~
Analyzing reboot.xc
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/reboot.xc:16:1: warning: redundant redeclaration of 'get_tile_id' [-Wredundant-decls]
unsigned get_tile_id(tileref);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/xTIMEcomposer/Community_14.3.2/target/include/xs1.h:2127:1: note: previous declaration of 'get_tile_id' was here [-Wredundant-decls]
unsigned get_tile_id(tileref t);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/reboot.xc:18:16: warning: declaration of 'tile' shadows a global declaration [-Wshadow]
extern tileref tile[];
^~~~~~
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/reboot.xc:2:
In file included from /home/luke/XMOS/xTIMEcomposer/Community_14.3.2/target/include/platform.h:21:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sw_usb_audio/app_usb_aud_mic_array/.build_1i8o2/mic_array_ref.h:13:16: warning: shadowed declaration is here [-Wshadow]
extern tileref tile[2];
^~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/reboot.xc:18:16: warning: redundant redeclaration of 'tile' [-Wredundant-decls]
extern tileref tile[];
^~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sw_usb_audio/app_usb_aud_mic_array/.build_1i8o2/mic_array_ref.h:13:16: note: previous declaration of 'tile' was here [-Wredundant-decls]
extern tileref tile[2];
^~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/reboot.xc:40:21: warning: comparison between signed and unsigned [-Wsign-compare]
for(int i = 0; i< tileArrayLength; i++)
~^~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/reboot.xc:62:20: warning: unused parameter `spare' [-Wunused-parameter]
void device_reboot(chanend spare)
^~~~~~~~~~~~~
Analyzing warnings.xc
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:11:2: warning: DEFAULT_FREQ not defined. Using MIN_FREQ
#warning DEFAULT_FREQ not defined. Using MIN_FREQ
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:23:2: warning: SPDIF_TX_INDEX not defined! Using 0
#warning SPDIF_TX_INDEX not defined! Using 0
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:27:2: warning: VENDOR_STR not defined. Using "XMOS"
#warning VENDOR_STR not defined. Using "XMOS"
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:43:2: warning: BCD_DEVICE not defined. Using XMOS release version number
#warning BCD_DEVICE not defined. Using XMOS release version number
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:61:2: warning: AUDIO_CLASS_FALLBACK not defined, using 0 (i.e. disabled)
#warning AUDIO_CLASS_FALLBACK not defined, using 0 (i.e. disabled)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:11:2: warning: DEFAULT_FREQ not defined. Using MIN_FREQ
#warning DEFAULT_FREQ not defined. Using MIN_FREQ
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:23:2: warning: SPDIF_TX_INDEX not defined! Using 0
#warning SPDIF_TX_INDEX not defined! Using 0
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:27:2: warning: VENDOR_STR not defined. Using "XMOS"
#warning VENDOR_STR not defined. Using "XMOS"
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:43:2: warning: BCD_DEVICE not defined. Using XMOS release version number
#warning BCD_DEVICE not defined. Using XMOS release version number
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:61:2: warning: AUDIO_CLASS_FALLBACK not defined, using 0 (i.e. disabled)
#warning AUDIO_CLASS_FALLBACK not defined, using 0 (i.e. disabled)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:8:
.././src/core/customdefines.h:12:1: warning: redundant redeclaration of 'genclock' [-Wredundant-decls]
void genclock();
^~~~~~~~~~~~~~~
.././src/core/customdefines.h:12:1: note: previous declaration of 'genclock' was here [-Wredundant-decls]
void genclock();
^~~~~~~~~~~~~~~
Analyzing clockgen.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/clocking/clockgen.xc:6:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/clocking/clockgen.xc:6:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/clocking/clockgen.xc:203:16: warning: unused parameter `c_spdif_rx' [-Wunused-parameter]
void clockGen (streaming chanend ?c_spdif_rx, chanend ?c_adat_rx, out port p, chanend c_dig_rx, chanend c_clk_ctl, chanend c_clk_int)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/clocking/clockgen.xc:203:47: warning: unused parameter `c_adat_rx' [-Wunused-parameter]
void clockGen (streaming chanend ?c_spdif_rx, chanend ?c_adat_rx, out port p, chanend c_dig_rx, chanend c_clk_ctl, chanend c_clk_int)
^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/clocking/clockgen.xc:203:79: warning: unused parameter `c_dig_rx' [-Wunused-parameter]
void clockGen (streaming chanend ?c_spdif_rx, chanend ?c_adat_rx, out port p, chanend c_dig_rx, chanend c_clk_ctl, chanend c_clk_int)
^~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/clocking/clockgen.xc:203:116: warning: unused parameter `c_clk_int' [-Wunused-parameter]
void clockGen (streaming chanend ?c_spdif_rx, chanend ?c_adat_rx, out port p, chanend c_dig_rx, chanend c_clk_ctl, chanend c_clk_int)
^~~~~~~~~~~~~~~~~
Analyzing audiorequests.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:9:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb/module_usb_shared/src/usbaudio20.h:8:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb/module_usb_shared/src/usbaudiocommon.h:5:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:9:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb/module_usb_shared/src/usbaudio20.h:8:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb/module_usb_shared/src/usbaudiocommon.h:5:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:135:42: warning: unused parameter `c_mix_ctl' [-Wunused-parameter]
static void updateMasterVol( int unitID, chanend ?c_mix_ctl)
^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:266:9: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:404:41: warning: reinterpretation to type of larger alignment [-Wcast-alignment]
(buffer, unsigned[])[0] = g_curSamFreq;
^~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:893:55: warning: comparison between signed and unsigned [-Wsign-compare]
if((currentFreq44 <= maxFreq) && (currentFreq44 >= MIN_FREQ))
~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:900:55: warning: comparison between signed and unsigned [-Wsign-compare]
if((currentFreq48 <= maxFreq))
~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1061:5: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1152:9: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1159:17: warning: reinterpretation to type of larger alignment [-Wcast-alignment]
(buffer, unsigned[])[0] = g_curSamFreq;
^~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1162:9: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1070:107: warning: unused parameter `c_mix_ctl' [-Wunused-parameter]
int AudioEndpointRequests_1(XUD_ep ep0_out, XUD_ep ep0_in, USB_SetupPacket_t &sp, chanend c_audioControl, chanend ?c_mix_ctl, chanend ?c_clk_ctl)
^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1070:127: warning: unused parameter `c_clk_ctl' [-Wunused-parameter]
int AudioEndpointRequests_1(XUD_ep ep0_out, XUD_ep ep0_in, USB_SetupPacket_t &sp, chanend c_audioControl, chanend ?c_mix_ctl, chanend ?c_clk_ctl)
^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1210:25: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1229:25: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1232:13: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1255:17: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1272:17: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1290:5: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1171:80: warning: unused parameter `c_audioControl' [-Wunused-parameter]
int AudioClassRequests_1(XUD_ep ep0_out, XUD_ep ep0_in, USB_SetupPacket_t &sp, chanend c_audioControl, chanend ?c_mix_ctl, chanend ?c_clk_ctl
^~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:1171:124: warning: unused parameter `c_clk_ctl' [-Wunused-parameter]
int AudioClassRequests_1(XUD_ep ep0_out, XUD_ep ep0_in, USB_SetupPacket_t &sp, chanend c_audioControl, chanend ?c_mix_ctl, chanend ?c_clk_ctl
^~~~~~~~~~~~~~~~~~
Analyzing dbcalc.xc
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/dbcalc.xc:37:19: warning: negative integer implicitly converted to unsigned type [-Wconversion]
unsigned mask = ~((1<<DB_CALC_PREC)-1);
^~~~~~~~~~~~~~~~~~~~~~
Analyzing mixer.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/mixer/mixer.xc:6:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/mixer/mixer.xc:6:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
Analyzing pcm_pdm_mic.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/pdm_mics/pcm_pdm_mic.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/pdm_mics/pcm_pdm_mic.xc:16:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array.h:8:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:26:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:38:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/pdm_mics/pcm_pdm_mic.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/pdm_mics/pcm_pdm_mic.xc:16:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array.h:8:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:26:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_mic_array/lib_mic_array/api/mic_array_frame.h:38:5: warning: 'MIC_ARRAY_WORD_LENGTH_SHORT' is not defined, evaluates to 0
#if MIC_ARRAY_WORD_LENGTH_SHORT
^
Analyzing audioports.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/ports/audioports.xc:4:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/ports/audioports.xc:4:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/ports/audioports.xc:31:22: warning: unused parameter `curSamFreq' [-Wunused-parameter]
unsigned int divide, unsigned curSamFreq)
^~~~~~~~~~~~~~~~~~~
Analyzing archU_powerSaving.xc
Analyzing decouple.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:3:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:3:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:169:34: warning: comparison between signed and unsigned [-Wsign-compare]
for(int i = 0; i < g_numUsbChan_Out; i++)
~~^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:198:34: warning: comparison between signed and unsigned [-Wsign-compare]
for(int i = 0; i < g_numUsbChan_Out; i++)
~~^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:230:34: warning: comparison between signed and unsigned [-Wsign-compare]
for(int i = 0; i < g_numUsbChan_Out; i++)
~~^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:261:21: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:283:26: warning: comparison between signed and unsigned [-Wsign-compare]
for(int i = 0; i < NUM_USB_CHAN_OUT - g_numUsbChan_Out; i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:302:34: warning: comparison between signed and unsigned [-Wsign-compare]
for(int i = 0; i < g_numUsbChan_In; i++)
~~^~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:333:34: warning: comparison between signed and unsigned [-Wsign-compare]
for(int i = 0; i < g_numUsbChan_In; i++)
~~^~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:368:34: warning: comparison between signed and unsigned [-Wsign-compare]
for(int i = 0; i < g_numUsbChan_In; i++)
~~^~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:405:21: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:416:26: warning: comparison between signed and unsigned [-Wsign-compare]
for(int i = 0; i < NUM_USB_CHAN_IN - g_numUsbChan_In; i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:479:28: warning: comparison between signed and unsigned [-Wsign-compare]
if((space_left < (totalSampsToWrite * g_numUsbChan_In * g_curSubSlot_In + 4)))
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:515:55: warning: comparison between signed and unsigned [-Wsign-compare]
if (!outUnderflow && (aud_data_remaining_to_device<(g_curSubSlot_Out * g_numUsbChan_Out)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:551:41: warning: declaration of 'aud_to_host_usb_ep' shadows a global declaration [-Wshadow]
static inline void SetupZerosSendBuffer(XUD_ep aud_to_host_usb_ep, unsigned sampFreq, unsigned slotSize)
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:63:8: warning: shadowed declaration is here [-Wshadow]
XUD_ep aud_to_host_usb_ep = 0;
^~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:844:28: warning: comparison between signed and unsigned [-Wsign-compare]
if((datalength >= (g_numUsbChan_Out * g_curSubSlot_Out)) && (released_buffer == aud_from_host_wrptr))
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:851:41: warning: comparison between signed and unsigned [-Wsign-compare]
if (aud_from_host_wrptr >= aud_from_host_fifo_end)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:910:17: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
int tmp;
^~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:675:13: warning: shadowed declaration is here [-Wshadow]
int tmp;
^~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:955:43: warning: comparison between signed and unsigned [-Wsign-compare]
if (aud_to_host_rdptr >= aud_to_host_fifo_end)
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Analyzing testct_byref.xc
Analyzing usb_buffer.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/usb_buffer.xc:5:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/usb_buffer.xc:5:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/usb_buffer.xc:242:5: warning: reinterpretation to type of larger alignment [-Wcast-alignment]
(fb_clocks, unsigned[])[0] = 0;
^~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/usb_buffer.xc:516:33: warning: declaration of 'usb_speed' shadows a previous local [-Wshadow]
int usb_speed;
^~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/usb_buffer.xc:416:30: warning: shadowed declaration is here [-Wshadow]
unsigned usb_speed;
^~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/usb_buffer.xc:523:33: warning: reinterpretation to type of larger alignment [-Wcast-alignment]
(fb_clocks, unsigned[])[0] = clocks;
^~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/usb_buffer.xc:527:33: warning: reinterpretation to type of larger alignment [-Wcast-alignment]
(fb_clocks, unsigned[])[0] = clocks >> 2;
^~~~~~~~~~~~~~~~~~~~~~~
Analyzing xc_ptr.xc
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/xc_ptr.xc:3:1: warning: redundant redeclaration of 'array_to_xc_ptr' [-Wredundant-decls]
extern inline xc_ptr array_to_xc_ptr(const unsigned a[]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/usb_buffer/xc_ptr.h:10:15: note: previous definition of 'array_to_xc_ptr' was here [-Wredundant-decls]
inline xc_ptr array_to_xc_ptr(const unsigned a[])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Analyzing usb_device.xc
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:31:48: warning: unused parameter `ep_in' [-Wunused-parameter]
XUD_Result_t USB_GetSetupPacket(XUD_ep ep_out, XUD_ep ep_in, USB_SetupPacket_t &sp)
^~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:213:25: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:216:13: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:388:52: warning: comparison between signed and unsigned [-Wsign-compare]
if( sp.wLength < datalength + 2 )
~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:405:51: warning: comparison between signed and unsigned [-Wsign-compare]
if(sp.wLength < datalength + 2)
~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:423:21: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:426:13: warning: switch missing default case [-Wswitch-default]
} //switch(sp.bRequest)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:458:39: warning: comparison between signed and unsigned [-Wsign-compare]
if((sp.wIndex < numInterfaces) && (sp.wIndex < MAX_INTS))
~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:471:13: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:498:39: warning: comparison between signed and unsigned [-Wsign-compare]
if((sp.wIndex < numInterfaces) && (sp.wIndex < MAX_INTS))
~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:506:13: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:550:13: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:594:13: warning: switch missing default case [-Wswitch-default]
}
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_device/module_usb_device/src/usb_device.xc:597:5: warning: switch missing default case [-Wswitch-default]
} //switch(bmRequestType)
^
Analyzing midiinparse.xc
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/midiinparse.xc:163:13: warning: switch missing default case [-Wswitch-default]
}
^
Analyzing midioutparse.xc
Analyzing usb_midi_support.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi_support.xc:3:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi.h:4:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi_support.xc:3:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi.h:4:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
Analyzing usb_midi.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi.xc:5:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi.h:4:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi.xc:5:
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi.h:4:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:533:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:547:6: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:561:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:694:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 1)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:707:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 2)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/devicedefines.h:720:10: warning: 'NATIVE_DSD_FORMAT_NUM' is not defined, evaluates to 0
#if (NATIVE_DSD_FORMAT_NUM == 3)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi.xc:67:13: warning: unused parameter `c_iap' [-Wunused-parameter]
chanend ?c_iap, chanend ?c_i2c, // iOS stuff
^~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi.xc:67:29: warning: unused parameter `c_i2c' [-Wunused-parameter]
chanend ?c_iap, chanend ?c_i2c, // iOS stuff
^~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi.xc:68:13: warning: unused parameter `p_scl' [-Wunused-parameter]
port ?p_scl, port ?p_sda
^~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_midi/src/usb_midi.xc:68:26: warning: unused parameter `p_sda' [-Wunused-parameter]
port ?p_scl, port ?p_sda
^~~~~~~~~~~
Analyzing usb_std_requests.xc
Analyzing XUD_EpFunctions.xc
Analyzing XUD_Ports.xc
Analyzing xassert.xc
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:32:5: warning: 'XASSERT_ENABLE_ASSERTIONS_APPLICATION' is not defined, evaluates to 0
#if XASSERT_JOIN(XASSERT_ENABLE_ASSERTIONS_,DEBUG_UNIT)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:30:27: note: expanded from macro 'XASSERT_JOIN'
#define XASSERT_JOIN(x,y) XASSERT_JOIN0(x,y)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:29:28: note: expanded from macro 'XASSERT_JOIN0'
#define XASSERT_JOIN0(x,y) x ## y
^
<scratch space>:2:1: note: expanded from here
XASSERT_ENABLE_ASSERTIONS_APPLICATION
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:36:5: warning: 'XASSERT_DISABLE_ASSERTIONS_APPLICATION' is not defined, evaluates to 0
#if XASSERT_JOIN(XASSERT_DISABLE_ASSERTIONS_,DEBUG_UNIT)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:30:27: note: expanded from macro 'XASSERT_JOIN'
#define XASSERT_JOIN(x,y) XASSERT_JOIN0(x,y)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:29:28: note: expanded from macro 'XASSERT_JOIN0'
#define XASSERT_JOIN0(x,y) x ## y
^
<scratch space>:2:1: note: expanded from here
XASSERT_DISABLE_ASSERTIONS_APPLICATION
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:44:5: warning: 'XASSERT_ENABLE_DEBUG_APPLICATION' is not defined, evaluates to 0
#if XASSERT_JOIN(XASSERT_ENABLE_DEBUG_,DEBUG_UNIT)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:30:27: note: expanded from macro 'XASSERT_JOIN'
#define XASSERT_JOIN(x,y) XASSERT_JOIN0(x,y)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:29:28: note: expanded from macro 'XASSERT_JOIN0'
#define XASSERT_JOIN0(x,y) x ## y
^
<scratch space>:2:1: note: expanded from here
XASSERT_ENABLE_DEBUG_APPLICATION
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:48:5: warning: 'XASSERT_DISABLE_DEBUG_APPLICATION' is not defined, evaluates to 0
#if XASSERT_JOIN(XASSERT_DISABLE_DEBUG_,DEBUG_UNIT)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:30:27: note: expanded from macro 'XASSERT_JOIN'
#define XASSERT_JOIN(x,y) XASSERT_JOIN0(x,y)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:29:28: note: expanded from macro 'XASSERT_JOIN0'
#define XASSERT_JOIN0(x,y) x ## y
^
<scratch space>:2:1: note: expanded from here
XASSERT_DISABLE_DEBUG_APPLICATION
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:109:26: warning: 'XASSERT_DISABLE_ASSERT_DEF' is not defined, evaluates to 0
#if !defined(assert) && !XASSERT_DISABLE_ASSERT_DEF
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:32:5: warning: 'XASSERT_ENABLE_ASSERTIONS_APPLICATION' is not defined, evaluates to 0
#if XASSERT_JOIN(XASSERT_ENABLE_ASSERTIONS_,DEBUG_UNIT)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:30:27: note: expanded from macro 'XASSERT_JOIN'
#define XASSERT_JOIN(x,y) XASSERT_JOIN0(x,y)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:29:28: note: expanded from macro 'XASSERT_JOIN0'
#define XASSERT_JOIN0(x,y) x ## y
^
<scratch space>:2:1: note: expanded from here
XASSERT_ENABLE_ASSERTIONS_APPLICATION
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:36:5: warning: 'XASSERT_DISABLE_ASSERTIONS_APPLICATION' is not defined, evaluates to 0
#if XASSERT_JOIN(XASSERT_DISABLE_ASSERTIONS_,DEBUG_UNIT)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:30:27: note: expanded from macro 'XASSERT_JOIN'
#define XASSERT_JOIN(x,y) XASSERT_JOIN0(x,y)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:29:28: note: expanded from macro 'XASSERT_JOIN0'
#define XASSERT_JOIN0(x,y) x ## y
^
<scratch space>:2:1: note: expanded from here
XASSERT_DISABLE_ASSERTIONS_APPLICATION
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:44:5: warning: 'XASSERT_ENABLE_DEBUG_APPLICATION' is not defined, evaluates to 0
#if XASSERT_JOIN(XASSERT_ENABLE_DEBUG_,DEBUG_UNIT)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:30:27: note: expanded from macro 'XASSERT_JOIN'
#define XASSERT_JOIN(x,y) XASSERT_JOIN0(x,y)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:29:28: note: expanded from macro 'XASSERT_JOIN0'
#define XASSERT_JOIN0(x,y) x ## y
^
<scratch space>:2:1: note: expanded from here
XASSERT_ENABLE_DEBUG_APPLICATION
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:48:5: warning: 'XASSERT_DISABLE_DEBUG_APPLICATION' is not defined, evaluates to 0
#if XASSERT_JOIN(XASSERT_DISABLE_DEBUG_,DEBUG_UNIT)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:30:27: note: expanded from macro 'XASSERT_JOIN'
#define XASSERT_JOIN(x,y) XASSERT_JOIN0(x,y)
^
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:29:28: note: expanded from macro 'XASSERT_JOIN0'
#define XASSERT_JOIN0(x,y) x ## y
^
<scratch space>:2:1: note: expanded from here
XASSERT_DISABLE_DEBUG_APPLICATION
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:109:26: warning: 'XASSERT_DISABLE_ASSERT_DEF' is not defined, evaluates to 0
#if !defined(assert) && !XASSERT_DISABLE_ASSERT_DEF
^
In file included from /home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:2:
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:99:24: warning: unused parameter `msg' [-Wunused-parameter]
inline int xassert_msg(const char msg[]) { return 1; }
^~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/src/xassert.xc:4:1: warning: redundant redeclaration of 'xassert_msg' [-Wredundant-decls]
extern inline int xassert_msg(const char msg[]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/lib_xassert/lib_xassert/api/xassert.h:99:12: note: previous definition of 'xassert_msg' was here [-Wredundant-decls]
inline int xassert_msg(const char msg[]) { return 1; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Analyzing queue.xc
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.xc:4:1: warning: redundant redeclaration of 'is_power_of_2' [-Wredundant-decls]
extern inline int is_power_of_2(unsigned x);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.h:15:12: note: previous definition of 'is_power_of_2' was here [-Wredundant-decls]
inline int is_power_of_2(unsigned x) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.xc:5:1: warning: redundant redeclaration of 'queue_init' [-Wredundant-decls]
extern inline void queue_init(queue_t &q, unsigned size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.h:19:13: note: previous definition of 'queue_init' was here [-Wredundant-decls]
inline void queue_init(queue_t &q, unsigned size) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.xc:6:1: warning: redundant redeclaration of 'queue_is_empty' [-Wredundant-decls]
extern inline int queue_is_empty(const queue_t &q);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.h:27:12: note: previous definition of 'queue_is_empty' was here [-Wredundant-decls]
inline int queue_is_empty(const queue_t &q) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.xc:7:1: warning: redundant redeclaration of 'queue_is_full' [-Wredundant-decls]
extern inline int queue_is_full(const queue_t &q);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.h:31:12: note: previous definition of 'queue_is_full' was here [-Wredundant-decls]
inline int queue_is_full(const queue_t &q) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.xc:8:1: warning: redundant redeclaration of 'queue_push_word' [-Wredundant-decls]
extern inline void queue_push_word(queue_t &q, unsigned array[], unsigned data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.h:35:13: note: previous definition of 'queue_push_word' was here [-Wredundant-decls]
inline void queue_push_word(queue_t &q, unsigned array[], unsigned data)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.xc:9:1: warning: redundant redeclaration of 'queue_pop_word' [-Wredundant-decls]
extern inline unsigned queue_pop_word(queue_t &q, unsigned array[]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.h:41:17: note: previous definition of 'queue_pop_word' was here [-Wredundant-decls]
inline unsigned queue_pop_word(queue_t &q, unsigned array[]) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.xc:10:1: warning: redundant redeclaration of 'queue_push_byte' [-Wredundant-decls]
extern inline void queue_push_byte(queue_t &q, unsigned char array[], unsigned data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.h:46:13: note: previous definition of 'queue_push_byte' was here [-Wredundant-decls]
inline void queue_push_byte(queue_t &q, unsigned char array[], unsigned data)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.xc:11:1: warning: redundant redeclaration of 'queue_pop_byte' [-Wredundant-decls]
extern inline unsigned queue_pop_byte(queue_t &q, unsigned char array[]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.h:52:17: note: previous definition of 'queue_pop_byte' was here [-Wredundant-decls]
inline unsigned queue_pop_byte(queue_t &q, unsigned char array[]) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.xc:12:1: warning: redundant redeclaration of 'queue_space' [-Wredundant-decls]
extern inline unsigned queue_space(const queue_t &q);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.h:61:17: note: previous definition of 'queue_space' was here [-Wredundant-decls]
inline unsigned queue_space(const queue_t &q) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.xc:13:1: warning: redundant redeclaration of 'queue_items' [-Wredundant-decls]
extern inline unsigned queue_items(const queue_t &q);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_queue/src/queue.h:57:17: note: previous definition of 'queue_items' was here [-Wredundant-decls]
inline unsigned queue_items(const queue_t &q) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Analyzing decimate_to_pcm_4ch.S
Analyzing pdm_rx.S
Analyzing write_sswitch_reg_blind.S
Analyzing lock.S
Analyzing fastmix.S
Analyzing XUD_EpFuncs.S
Analyzing swlock_asm.S
Propagating analysis
Creating dependencies for swlock_asm.S
Creating dependencies for XUD_EpFuncs.S
Creating dependencies for fastmix.S
Creating dependencies for lock.S
Creating dependencies for write_sswitch_reg_blind.S
Creating dependencies for pdm_rx.S
Creating dependencies for decimate_to_pcm_4ch.S
Creating dependencies for queue.xc
Creating dependencies for xassert.xc
Creating dependencies for XUD_Ports.xc
Creating dependencies for XUD_EpFunctions.xc
Creating dependencies for usb_std_requests.xc
Creating dependencies for usb_midi.xc
Creating dependencies for usb_midi_support.xc
Creating dependencies for midioutparse.xc
Creating dependencies for midiinparse.xc
Creating dependencies for usb_device.xc
Creating dependencies for xc_ptr.xc
Creating dependencies for usb_buffer.xc
Creating dependencies for testct_byref.xc
Creating dependencies for decouple.xc
Creating dependencies for archU_powerSaving.xc
Creating dependencies for audioports.xc
Creating dependencies for pcm_pdm_mic.xc
Creating dependencies for mixer.xc
Creating dependencies for dbcalc.xc
Creating dependencies for audiorequests.xc
Creating dependencies for clockgen.xc
Creating dependencies for warnings.xc
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:11: warning: #warning DEFAULT_FREQ not defined. Using MIN_FREQ

#warning DEFAULT_FREQ not defined. Using MIN_FREQ
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:23: warning: #warning SPDIF_TX_INDEX not defined! Using 0

#warning SPDIF_TX_INDEX not defined! Using 0
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:27: warning: #warning VENDOR_STR not defined. Using "XMOS"

#warning VENDOR_STR not defined. Using "XMOS"
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:43: warning: #warning BCD_DEVICE not defined. Using XMOS release version number

#warning BCD_DEVICE not defined. Using XMOS release version number
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:61: warning: #warning AUDIO_CLASS_FALLBACK not defined, using 0 (i.e. disabled)

#warning AUDIO_CLASS_FALLBACK not defined, using 0 (i.e. disabled)
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:11: warning: #warning DEFAULT_FREQ not defined. Using MIN_FREQ

#warning DEFAULT_FREQ not defined. Using MIN_FREQ
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:23: warning: #warning SPDIF_TX_INDEX not defined! Using 0

#warning SPDIF_TX_INDEX not defined! Using 0
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:27: warning: #warning VENDOR_STR not defined. Using "XMOS"

#warning VENDOR_STR not defined. Using "XMOS"
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:43: warning: #warning BCD_DEVICE not defined. Using XMOS release version number

#warning BCD_DEVICE not defined. Using XMOS release version number
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/warnings.xc:61: warning: #warning AUDIO_CLASS_FALLBACK not defined, using 0 (i.e. disabled)

#warning AUDIO_CLASS_FALLBACK not defined, using 0 (i.e. disabled)
Creating dependencies for reboot.xc
Creating dependencies for main.xc
Creating dependencies for audio.xc
Creating dependencies for i2c-sp.xc
Creating dependencies for dfu.xc
Creating dependencies for fir_coefs.xc
Creating dependencies for pdm.xc
Creating dependencies for hires_delay.xc
Creating dependencies for decimator_interface.xc
Creating dependencies for xuduser.xc
Creating dependencies for pdm_user.xc
Creating dependencies for audiohw.xc
Creating dependencies for swlock.c
Creating dependencies for hwlock.c
Creating dependencies for xuduser.c
Creating dependencies for get_adc_counts.c
Creating dependencies for decouple_interrupt.c
Creating dependencies for audioports.c
Creating dependencies for hostactive.c
Creating dependencies for endpoint0.c
/home/luke/XMOS/test/USB Audio 2.0 Device Software v6.15.0/sc_usb_audio/module_usb_audio/endpoint0/endpoint0.c:44:2: warning: DFU will not be enabled in AUDIO 1.0 mode due to Windows requesting driver [-W#warnings]
#warning DFU will not be enabled in AUDIO 1.0 mode due to Windows requesting driver
^
1 warning generated.
Creating dependencies for audiostream.c
Creating dependencies for flashlib_user.c
Creating dependencies for i2c_shared.c
Creating dependencies for flash_interface.c
Creating dependencies for debug_printf.c
Creating dependencies for interrupt.c
Compiling interrupt.c
xmake[1]: *** [bin/1i8o2/app_usb_aud_mic_array_1i8o2.xe] Error 2
xmake: *** [1i8o2.all] Error 2
rrbluke
Member
Posts: 8
Joined: Fri Jan 19, 2018 2:52 pm

Postby rrbluke » Mon Feb 05, 2018 12:42 pm

Hello Matthew,

Any news regarding my issue?


BR,
Luke
matthew1
Active Member
Posts: 47
Joined: Mon Oct 19, 2015 2:12 pm

Postby matthew1 » Mon Feb 05, 2018 1:56 pm

Hi Luke,

here's what I did:

1. download sw_usb_audio-[sw]_6.15.2rc1.zip from https://www.xmos.com/support/software/uac2
2. extract to sw_usb_audio-[sw]_6.15.2rc1/
3. downloaded sc_xud.zip_2.6.0.zip from https://www.xmos.com/published/sc_xud.zip?version=all
4. extract to sc_xud.zip_2.6.0/
5. delete entire folder sw_usb_audio-[sw]_6.15.2rc1/sc_xud/
6. copy entire folder sc_xud.zip_2.6.0/sc_xud/ to sw_usb_audio-[sw]_6.15.2rc1/sc_xud/
7. cd to sw_usb_audio-[sw]_6.15.2rc1/sw_usb_audio/app_usb_aud_mic_array/
8. run xmake. I get a load of *warnings* just like you do, but the build is successful. I am using tools 14.3.2 on Windows 7.

One option is to send you a zip file of my setup to repeat, but before we do that, can you try:

1. edit your makefile in /app_usb_aud_mic_array to remove -Wall from BUILD_FLAGS and replace with "-w -v". This turns off warnings to suppress the trivial ones and turns on verbose debug output.
2. do xmake clean
3. xmake and capture the output.

By the way, can you also let me know the output from "xrun --version"? What OS are you using?

Thanks,

Matthew.

Who is online

Users browsing this forum: No registered users and 5 guests