2018-07-26 09:11 AM
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.
2018-12-18 10:43 AM
I can confirm the bug is in V1.14.0. There is exactly 1 occurrence of "IS_PCD_ALL_INSTANCE" in the entire v1.14 tree, and that's on line 154 of "STM32Cube_FW_F7_V1.14.0/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pcd.c":
assert_param(IS_PCD_ALL_INSTANCE(hpcd->Instance));
2018-12-18 10:55 AM
Note that the macro is defined in V1.11 in "../Inc/stm32f7xx_hal_pcd.h"
2018-12-18 12:02 PM
You'd think some of the static analysis tools, be it LINT, MIRSA, or something else would flag this kind of nonsense? The sign-off on these releases continues to be sloppy.