2025-10-17 12:51 AM
I have a project for STM32F777 generated by STM32CubeMX 6.15.0.
The macro definition of #define assert_param(expr) exists in 2 include files -
stm32f7xx_hal_conf.h
and
stm32_assert.h
Both files are included on different levels of the project. Is there a reason to have two indentical definitions in the code?
2025-10-17 6:04 AM
On a new project, I can not duplicate this issue. Can you include your IOC file?
Could be that LL needs the definition but due to architecture reasons it doesn't want to include HAL files.