Hello, I'm facing a difficulty using CubeMx generated code with USB (CDC with VBus sensing).
HAL_GPIO_EXTI_Callback is declared as "weak" so for managing some GPIO's interrupts, I declared my own call back to "catch gpio's interruption" and everything works fine. Now I'm trying to add USB CDC and it appears that in usb_conf.c file, HAL_GPIO_EXTI_Callback is redefine to manage VBus detection. So now I have in my project a double declaration for this callback : in the user code and in the code generated by CubeMx.
Is there any simple way to deal with this?