New xcore.ai USB Audio Board

Discussions about USB Audio on XMOS devices
User avatar
Ross
XCore Expert
Posts: 860
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

New xcore.ai USB Audio Board

Post by Ross »



User avatar
fabriceo
Experienced Member
Posts: 94
Joined: Mon Jan 08, 2018 4:14 pm

Post by fabriceo »

and all documents and software here :)
https://www.xmos.ai/develop/usb-multichannel-audio/
User avatar
fabriceo
Experienced Member
Posts: 94
Joined: Mon Jan 08, 2018 4:14 pm

Post by fabriceo »

Hi Ross,
in the lib_xud (and also lib_xua), the module_build_info contains flags for some external files which are creating problems when upgrading to lib_xud instead of module_xud:
example:
XCC_FLAGS_endpoint0.xc = $(MODULE_XCC_FLAGS) -Os
XCC_FLAGS_dfu.xc = $(MODULE_XCC_FLAGS) -Os
XCC_FLAGS_dfu_flash.xc = $(MODULE_XCC_FLAGS) -Os

because this overwrites the BUILD_FLAGS from the App makefile and if you have modified the DFU or endpoint0.c to cope with custom defines then you loose them during the file compilation.

I may create an issue in GitHub
thanks in advance
User avatar
Ross
XCore Expert
Posts: 860
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Thanks for the report!