Build error USB Audio Reference Design

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
Posts: 14
Joined: Tue Mar 26, 2019 8:38 am

Build error USB Audio Reference Design

Postby niektb » Sat Nov 09, 2019 12:50 pm

Hello all! I'm trying to port the USB Audio 2.0 Reference Software to my custom hardware (using this guide: ... .0rc1).pdf)
I followed all the steps but I still get a build error when building the project:

Code: Select all

Creating smartDAC_USB_proto.xe
quadflashlib.c: Error: Type of symbol `fl_connect' has mismatch with previous definition:
     found: `signed int fl_connect(struct { unsigned int qspiCS; unsigned int qspiSCLK; unsigned int qspiSIO; unsigned int qspiClkblk; } *)' in file `quadflashlib.c'
  previous: `signed int fl_connect(struct { unsigned int spiMISO; unsigned int spiSS; unsigned int spiCLK; unsigned int spiMOSI; unsigned int spiClkblk; } *)' in file `flashlib_user.c'
xmake[1]: *** [bin//smartDAC_USB_proto.xe] Error 1
xmake: *** [bin//smartDAC_USB_proto.xe] Error 2
Anybody got an idea on how to fix this? My full project can be found here: ... _USB_proto
User avatar
XCore Legend
Posts: 1560
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Sat Nov 09, 2019 2:23 pm

Hi. Locate the file quadflashlib.c and comment out the routine fl_connect -> save the file and build again. Post your results.

Who is online

Users browsing this forum: No registered users and 2 guests