How to use USBX on H7 for simultaneous host and device?
I've been trying to get a new project up and running on a custom H743 board, using AzureRTOS for the first time. This board has both USB ports, with FS set up as a device and HS set up as a host, with an external PHY. I have had this same hardware successfully running different firmware with ST's older drivers, and both ports work.
It seems like the code doesn't handle having both device and host ports active, even though CubeMX allows you to set it up that way. I run into some issues with both host and device drivers calling _ux_system_initialize, and that seems to trash some of the host's data structures when called by the device's driver code.
Either I'm missing something, or the code simply doesn't work for this configuration. I hope it's the former. Are there any code examples of running host and device on the same system?
