USB Audio framework: why is endpont0 a C file and not an XC file?

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
User avatar
Fabien
Junior Member
Posts: 6
Joined: Fri Mar 09, 2018 4:16 pm

USB Audio framework: why is endpont0 a C file and not an XC file?

Postby Fabien » Wed Feb 05, 2020 3:53 pm

Hi,
I'm currently working on a project using the USB audio framework, and I'm curious to know the reason.
Would it work the same if it was an XC file?

thank you!

Fabien
User avatar
Fabien
Junior Member
Posts: 6
Joined: Fri Mar 09, 2018 4:16 pm

Postby Fabien » Thu Feb 06, 2020 5:10 pm

Okay, I think I understand why now.
Endpoint0 needs to be a C file to be able to build and link with the USB descriptors that are standard C (#if __STDC__)
Otherwise the descriptors stay undeclared.

Who is online

Users browsing this forum: No registered users and 3 guests