Having trouble using STM32F4 standard peripheral library

Comments

1 comment

  • Avatar
    Ron Menelli

    You need to set the User Include Directories property for the project to include the full path of the StdPeriph directory. I have the StdPeriph in a directory at the same level as my project directory, so I use $(ProjectDir)/../STM32F4xx_DSP_StdPeriph_Lib_V1.0.1\Libraries\STM32F4xx_StdPeriph_Driver\inc to the User Include Directories list.

     

    After you do that, you can just #include "stm32f4xx_whatever.h" in your files.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.