Hey, so I just ran into the same thing while trying to figure out how to make a dual-role device on my own (since there is basically no support for this in CubeMX as far as I can tell). I think I have figured out a way to make HAL_HCD and HAL_PCD co...