Showing results for 
Search instead for 
Did you mean: 

assert_param(expr) defined in two files?

Ceco
Associate

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?

 

 

1 REPLY 1
TDK
Super User

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.

If you feel a post has answered your question, please click "Accept as Solution".