Optimization causes "No open pipes!" STM32H723ZGT6
This is on a STM32H723ZGT6
Ok for testing i went to a blank project with only the usb turned on.
Set as
USB OTG HS
DEVICE ONLY
HID
Using the defaults for everything. With no optimization it works and shows up correctly. With any kind of optimization turned on it wont show up in device manager but i can see in "USB DEVICE VIEWER" tool that its being seen by the computer, everything is read correctly but it has the error "*!*ERROR: No open pipes!" and it has 0 listed for open pipes.
Maybe a bad assumption but I would assume with it working correctly with no optimization and then not working with optimization that this is not a physical issue but more of the compiler doing something weird?
Sometimes i also get a "low power" error as well to the no pipes but i always get the no pipes error.
Any thoughts, ideas or rabbit trails for me to go down would be much appreciated as I'm lost not being very experienced with usb.
Thanks!
