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
USB Audio framework: why is endpont0 a C file and not an XC file?
-
- Member
- Posts: 11
- Joined: Fri Mar 09, 2018 4:16 pm
-
- Member
- Posts: 11
- Joined: Fri Mar 09, 2018 4:16 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.
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.