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

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
User avatar
Fabien
Member
Posts: 11
Joined: Fri Mar 09, 2018 4:16 pm

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

Post by Fabien »

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
Member
Posts: 11
Joined: Fri Mar 09, 2018 4:16 pm

Post by Fabien »

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.
Post Reply