Porting STM32H7 Composite-Audio-HID to STM32G4
I am trying to develop a HID and UAC Composite Device with STM32G491.
I was proceeding with the implementation with reference to I-CUBE-USBD-Composite, but although it is recognized as a Composite Device from Windows 11, a problem like this occurs and I cannot find a solution, so I try porting the Composite_Audio_HID.
I succeeded in building it with STM32CubeIDE, but when I executed it on my board, I got a HardFault_Error when USB_WritePMA() was called in the middle of USBD_LL_SetupStage().
My project is available here.
Please let me know if you have any advice.