Skip to main content
John Hite
Associate III
January 12, 2017
Solved

stm32f437xx.h

  • January 12, 2017
  • 6 replies
  • 1277 views
Posted on January 12, 2017 at 22:36

Where can one find the current version of stm32f437xx.h?

Thanks,

jh

    This topic has been closed for replies.
    Best answer by Tesla DeLorean
    Posted on January 13, 2017 at 21:37

    You are mixing include and source files front two different libraries, and that's not going to work at all well

    You want to match stm32f437xx.h with 

    stm32f4xx_hal_gpio.c, not stm32f4xx_gpio.c

    STM32Cube_FW_F4_V1.9.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f437xx.h

    STM32Cube_FW_F4_V1.9.0\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c

    OR

    STM32F4xx_DSP_StdPeriph_Lib_V1.8.0\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h

    STM32F4xx_DSP_StdPeriph_Lib_V1.8.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_gpio.c

    6 replies

    Tesla DeLorean
    Guru
    January 12, 2017
    Posted on January 12, 2017 at 22:47

    Where did the one you have come from?

    The SPL you define the model and it pulls the appropriate structures from stm32f4xx.h

    #define STM32F427_437xx

    STM32F4xx_DSP_StdPeriph_Lib_V1.8.0\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h

    Under Cube

    STM32Cube_FW_F4_V1.9.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f446xx.h

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    John Hite
    John HiteAuthor
    Associate III
    January 12, 2017
    Posted on January 12, 2017 at 23:16

     ,

     ,

    The current version came from svn for a previous version of the project.

    What is this model that is to be defined? In what file do I place the statement

    ♯ define STM32F427_437xx

     ,

    ?

    We are not using HAL or CMSIS and therefore not using Cube.

    Thanks,

    jh

    Tesla DeLorean
    Guru
    January 13, 2017
    Posted on January 13, 2017 at 01:55

    For the SPL I typically pass it as a command line define for the compiler.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..