Skip to main content
glias37
Visitor II
August 23, 2016
Question

Assert_param problem

  • August 23, 2016
  • 1 reply
  • 496 views
Posted on August 23, 2016 at 21:23

Hello all,

I'm a begineer with the ARM Discovery kit (STM32F4) and I'm trying to compile a test program when I try to compile it, an error appears : 

no definition for ''assert_param''. What I can do ? where does the code of this macro is ?

regards
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    August 23, 2016
    Posted on August 23, 2016 at 21:34

    You should review the project templates provided with the libraries

    assert_param would normally get defined in project unique stm32f4xx_conf.h as a result of you defining USE_FULL_ASSERT, and #including ''stm32f4xx.h''

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..