Page 1 of 1

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

Posted: Wed Feb 05, 2020 3:53 pm
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

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

Posted: Thu Feb 06, 2020 5:10 pm
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.