Undefined reference to 'SystemFrequency' in STM32_ctl.c

Comments

5 comments

  • Avatar
    Paul Curtis

    It's supposed to be the core operating frequency.  This can't be derived for a generic executable.  I believe that Michael said that ARM have renamed this particular thing again in the latest CMSIS.

    0
    Comment actions Permalink
  • Avatar
    Darcy Williams

    Thanks Paul, I guess we just need to hard-code this or add it to the compiler definitions then I guess? 

    0
    Comment actions Permalink
  • Avatar
    Darcy Williams

    Does the CTL play nice with v3.0.2 of the STM Firmware Library?

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Copy one of the stm32_ctl_board.c files from the samples directory - on XP this is

    C:\Documents and Settings\<user>\Local Settings\Application Data\Rowley Associates Limited\CrossWorks for ARM\packages\samples\STM32\ST_STM3210B_EVAL\stm32_ctl_board.c

    I haven't tried the latest STM Firmware Library - there have been reports that SysTickHandler has been renamed....

    0
    Comment actions Permalink
  • Avatar
    Darcy Williams

    Thanks, i'll have a play with that over the weekend

    0
    Comment actions Permalink

Please sign in to leave a comment.