USB Host "ALL Classes"
Hello everyone, I'm a bit confused about using USB.
I need to use the USB port both to create a CDC connection with a PC and to read/write data from USB flash drives.
Initially, I wanted to create a project that could handle both HOST and DEVICE modes, but I see that I would have to generate two separate projects and then manually copy some libraries.
I also tried the USB Dual Role configuration, but I don't understand its purpose as it doesn't generate anything related to USB.
Then, I saw that I can create a configuration like USB HOST with mode HOST SUPPORTING ALL CLASSES so I’m asking if with this mode I can do both things, and if you could point me to any examples of how to do this.
I thank you in advance.
