Question
STM32Cube_FW_F7_V1.12.0 may have a bug
In the file \STM32Cube_FW_F7_V1.12.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pcd.c at line 144 is the instruction: assert_param(IS_PCD_ALL_INSTANCE(hpcd->Instance))
However, I cannot find the macro IS_PCD_ALL_INSTANCE defined anywhere. Note that in STM32Cube_FW_F7_V1.11.0, this macro was defined in \STM32Cube_FW_F7_V1.11.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pcd.h at line 315 and 316.
