USB OTG CubeMX middleware selection.
The only other mention i have found of this is in the following post
https://community.st.com/t5/stm32-mcus-products/usb-otg-dual-role-selection-from-cube-mx/td-p/569876
I'm using an F4 with external PHY.
Everything works fine when configuring the USB FS as exclusively device or host but i'm unable to configure CubeMX to use both.
What is the solution to this issue?
Do i have to manually copy the host/device implementations and make a frankenstein implementation?
The end goal is to have a USB Device VCP, a USB MSC and switch between them depending on the need.
I dont really need the OTG part since the switching part is handled separately outside of the CubeMX code.
Any input is appreciated.
