2025-02-27 9:45 AM
This appears to be loosely related to
If I start with Cube IDE:
File -> New -> STM32 Project then select NUCLEO-C071RB and then Ux_Host_HID_Standalone
all goes swimmingly well. However, if I start with CubeMX, then choose the same example I get errors:
I can make the Platform Settings error go away by assigning a GPIO to who knows what, per the related post, but I don't want to waste a GPIO and furthermore, I want to make changes to the project that I cannot do using the IDE-only method. Is there some other setting I'm missing in the CubeMX example creation?
2025-02-27 12:01 PM
My best guess at the moment is that the CubeMX generated version requires the dummy GPIO for
void USBH_DriverVBUS(uint8_t state);
found in usbxh_platform.c .h
I don't see this function being called anywhere though.