Skip to main content
4316139955_stm1
Associate
October 16, 2008
Question

mixing stdbool.h and stm32f10x_type.h

  • October 16, 2008
  • 1 reply
  • 650 views
Posted on October 16, 2008 at 07:20

mixing stdbool.h and stm32f10x_type.h

    This topic has been closed for replies.

    1 reply

    4316139955_stm1
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:48

    Do you now the proper way to include stm32f10x_type.h and stdbool.h without compile error ?

    bool is defined twice. I changed the definition and it works, but I don't like to change third party libs.

    It would be nice if ST could modify it libs to be compatible with C99 stdbool.h (and C++ buildin bool as well).

    Best regards

    Marc Emery