Why doesn't the USB Audio Reference Design (6.1) compile wit Topic is solved

If you have a simple question and just want an answer.
User avatar
johned
XCore Addict
Posts: 185
Joined: Tue Mar 26, 2013 12:10 pm

Why doesn't the USB Audio Reference Design (6.1) compile wit

Post by johned »

Compiling the USB Audio Reference Design (v6.1.0) with v13 xTIMEcomposer generates the following errors :

Creating usb_audio.xe
.././src/XUD_UserResume.xc:(.
text+0x0): Error: Multiple definition of 'XUD_UserResume'
.././../module_usb_aud_shared/xuduser/xuduser.xc: Error: first defined here
.././src/XUD_UserResume.xc:(SHN_ABS+0x0): Error: Multiple definition of 'XUD_UserResume.nstackwords'
.././../module_usb_aud_shared/xuduser/xuduser.xc: Error: first defined here
.././src/XUD_UserResume.xc:(SHN_ABS+0x0): Error: Multiple definition of 'XUD_UserResume.maxtimers'
.././../module_usb_aud_shared/xuduser/xuduser.xc: Error: first defined here
.././src/XUD_UserResume.xc:(SHN_ABS+0x0): Error: Multiple definition of 'XUD_UserResume.maxchanends'
.././../module_usb_aud_shared/xuduser/xuduser.xc: Error: first defined here
.././src/XUD_User.xc:(.text+0x0): Error: Multiple definition of 'XUD_UserSuspend'
.././../module_usb_aud_shared/xuduser/xuduser.xc: Error: first defined here
.././src/XUD_User.xc:(SHN_ABS+0x0): Error: Multiple definition of 'XUD_UserSuspend.nstackwords'
.././../module_usb_aud_shared/xuduser/xuduser.xc: Error: first defined here
.././src/XUD_User.xc:(SHN_ABS+0x0): Error: Multiple definition of 'XUD_UserSuspend.maxtimers'
.././../module_usb_aud_shared/xuduser/xuduser.xc: Error: first defined here
.././src/XUD_User.xc:(SHN_ABS+0x0): Error: Multiple definition of 'XUD_UserSuspend.maxchanends'
.././../module_usb_aud_shared/xuduser/xuduser.xc: Error: first defined here
xmake: *** [bin/XR-USB-AUDIO-2.0-MC/usb_audio.xe] Error 1
 


View Solution
User avatar
johned
XCore Addict
Posts: 185
Joined: Tue Mar 26, 2013 12:10 pm

Post by johned »

The USB audio software is built and tested with the v12.2 tools.
You can read more in the readme.rst file which is located in the sw_usb_audio module, within the .zip file.
 
User avatar
Ross
XCore Expert
Posts: 966
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

The XUD library in the 6.1 release is built (and tested) using the 12.2 tools.  The build errors are due to library incompatibility between tools versions.