When I use CubeMX to generate a middleware USB HID device I can enumerate successfully with a Nucleo-144 board. However, when I try the exact same setup except use the custom HID option the device manager reports Error 10
Error10 = "Extra end collection found or end collection not found". CubeMX version 5.4.0 Compiling under IAR version 8.40. NUcleo-H743Z. Heap is set to 0x1000 per forum post.