How to use XUD

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
Post Reply
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

How to use XUD

Post by lilltroll »

I have a problem with adding XUD / module_XUD to my project.
I get the following error:

../libsrc/XUD_Manager.xc: Error: Undefined reference to 'usb_tile'

and since I do not have the source to XUD_Manager i can not look inside the function.

Where should I define usb_tile so XUD can reference to it ?


User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm
Contact:

Post by Bianco »

usb_tile is defined in the XN file of the target chip, example:

./XS1-U8A-64-FB96-I5/XS1-U8A-64-FB96-I5.xn:10: <Declaration>tileref usb_tile</Declaration>
./XS1-U8A-64-FB96-I5/XS1-U8A-64-FB96-I5.xn:19: <Node Id="1" InPackageId="1" Type="periph:XS1-SU" Reference="usb_tile">

Not sure if this brings you any further
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

Thanks!

I get it, I need an extra Node ID for the SU device.
Last time I used the old audio reference design with the L-series of chip without that node.
Post Reply