USB VCP Example code for U5 that works?
I'm trying to get a basic example of USB comms working on an STM32U575 chip working. I've looked into several bits of example code, but they all just say "it should just work" and don't.
STM32CubeU5 Example. This seems like a logical choice, as it's packaged in the FW pack that I'm currently using. But I can't get the VSCode STM32Cube extension to recognize that it's a project and build. I've tried moving the STM32CubeIDE directory contents (.cproject, .project, etc.) to the root of the application directory, but it's still not being recognized. Also, looking into Core directory, I don't see any code that demonstrates USB data transfer. It looks like a template for starting with AzureRTOS, but nothing beyond that. What am I missing?
USB_Device Middleware. This is one example that describes using a middleware called USB_DEVICE, and then calls to a function CDC_Transmit_FS(). There are several other examples floating around with this. However, I can't find that middleware and I also can't find that function anywhere in the included files when I enable the USBX middleware. (The last one is somewhat obvious, but I'm not really seeing much to help me decipher things). Is the USB_DEVICE middleware deprecated? Or only for other MCU families?
Are there any other examples I can try out that will work out of the box so I can poke around the code?
Also, because I need higher bandwidth than the USB FS can provide, I'm already planning on upgrading to the H7 series. So if there's a better/more reliable example for the H7 Nucleo board, I'm open to try that.
