Configure description based upon OS environment #2625
Unanswered
SeanAlling-DojoFive
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the net_lwip_webserver example there is the following in
usb_descriptors.c
How can Windows, Linux, or MacOS select the right driver? For example if on Windows.
RNDIS
descriptor should be used whereas for MacOSCDC-ECM
should be used.Testing a device on both MacOS and Windows the correct descriptor is used, but I am unsure how TinyUSB was informed which descriptor to use.
Beta Was this translation helpful? Give feedback.
All reactions