Can't compile imported and moved project

Technical questions regarding the XTC tools and programming with XMOS.
babazaroni
Experienced Member
Posts: 94
Joined: Sun Feb 10, 2013 4:47 am

Can't compile imported and moved project

Post by babazaroni »

I can compile on the mac, if I do the following steps.

1. Uncompress USB-Audio-2.0-XS1-L2-Software-Release(5.3).zip
2. Using finder, create an empty workspace.
3. Run xTimeComposer (v11.11.1) and switch to empty workspace.
4. File/Import/General/Existing Projects into Workspace/Next
5. Select Root Directory and browse to root of usb audio firmware uncompressed above.
6. Select Finish
7. Clean.

At this point, the project will be cleaned and compiled. However, the project has not been moved into the workspace.

If I add a step after 5, by selecting Copy Projects Into Workspace, then the Clean step only does a clean and create dependencies, but does not compile. Selecting Build All does not work either. Same problem with Select Archive File instead of Select Root Directory. It seems anytime I get the project into the workspace, it won't compile. I've added the console messages below.

Any ideas?

Code: Select all

**** Build of configuration XMOS Compiler Collection (xcc) for project app_usb_aud_l2 ****

xmake all 
Creating dependencies for SpdifReceive.S
Creating dependencies for fastmix.S
Creating dependencies for write_sswitch_reg_blind.S
Creating dependencies for XUD_EpFuncs.S
Creating dependencies for adatreceiver.xc
Creating dependencies for flash_programmer.xc
Creating dependencies for dfu.xc
Creating dependencies for usb_midi_support.xc
Creating dependencies for usb_midi.xc
Creating dependencies for midioutparse.xc
Creating dependencies for midiinparse.xc
Creating dependencies for SpdifTransmit.xc
Creating dependencies for xuduser.xc
Creating dependencies for usb_buffer.xc
Creating dependencies for testct_byref.xc
Creating dependencies for decouple.xc
Creating dependencies for audioports.xc
Creating dependencies for mixer.xc
.././../module_usb_aud_shared/mixer/mixer.xc:30: warning: #warning USING FAST MIXER

    #warning USING FAST MIXER
.././../module_usb_aud_shared/mixer/mixer.xc:168: warning: #warning IN Vols in mixer, AFTER mix & map

    #warning IN Vols in mixer, AFTER mix & map
.././../module_usb_aud_shared/mixer/mixer.xc:233: warning: #warning OUT Vols in mixer, AFTER mix & map

    #warning OUT Vols in mixer, AFTER mix & map
.././../module_usb_aud_shared/mixer/mixer.xc:30: warning: #warning USING FAST MIXER

    #warning USING FAST MIXER
.././../module_usb_aud_shared/mixer/mixer.xc:168: warning: #warning IN Vols in mixer, AFTER mix & map

    #warning IN Vols in mixer, AFTER mix & map
.././../module_usb_aud_shared/mixer/mixer.xc:233: warning: #warning OUT Vols in mixer, AFTER mix & map

    #warning OUT Vols in mixer, AFTER mix & map
Creating dependencies for i2c.xc
Creating dependencies for endpoint0.xc
/Users/chuck/Documents/work/mixer/MC Board/ws-import/module_usb_aud_shared/endpoint0/descriptors_2.h:160: warning: #warning Extention units on the audio path are required for mixer. Enabling them now.

    #warning Extention units on the audio path are required for mixer. Enabling them now.
    from .././../module_usb_aud_shared/endpoint0/endpoint0.xc: 36:    #include "descriptors_2.h"
/Users/chuck/Documents/work/mixer/MC Board/ws-import/module_usb_aud_shared/endpoint0/descriptors_2.h:160: warning: #warning Extention units on the audio path are required for mixer. Enabling them now.

Creating dependencies for dbcalc.xc
    #warning Extention units on the audio path are required for mixer. Enabling them now.
    from .././../module_usb_aud_shared/endpoint0/endpoint0.xc: 36:    #include "descriptors_2.h"
Creating dependencies for audiorequests.xc
Creating dependencies for clockgen.xc
Creating dependencies for audio.xc
Creating dependencies for XUD_UIFM_Ports.xc
Creating dependencies for XUD_EpFunctions.xc
Creating dependencies for common.xc
Creating dependencies for DescriptorRequests.xc
Creating dependencies for lvlleds.xc
Creating dependencies for leds.xc
Creating dependencies for hostactive.xc
Creating dependencies for clockvalidity.xc
Creating dependencies for audiostream.xc
Creating dependencies for audioreqs.xc
Creating dependencies for audcorereqs.xc
Creating dependencies for pll.xc
Creating dependencies for codec.xc
Creating dependencies for clocking.xc
Creating dependencies for main.xc
Creating dependencies for flash_interface.c
Creating dependencies for get_adc_counts.c
Creating dependencies for reboot.c
Creating dependencies for l2_audio_flash_interface.c
Creating dependencies for updatevols.c
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post by sethu_jangala »

The USB Audio 2.0 XS1-L2 Software 5.3 is compatible only with the older version of the tools (11.2.0 or 11.11.1) and does not work with 13 version of the tools.

Sethu.
babazaroni
Experienced Member
Posts: 94
Joined: Sun Feb 10, 2013 4:47 am

Post by babazaroni »

Yes, that is well understood.

That is why I noted that I am using xTimeComposer (v11.11.1). Maybe I should have called it XDE so as to not confuse.

Still, any ideas why I can't compile if the code is moved into the WS?