Undefined reference to 'SystemFrequency' in STM32_ctl.c
Hi all,
I've just started playing with the CTL on an STM32, and after creating a new CTL project for this core I get this compile error. This is without having added anything myself or changed any of the default files added to the project. Is 'SystemFrequency' supposed to be the HCLK frequency of the core? One of the APB frequencies? I can't work out how to search the online documentation for that keyword either so I'm not sure if that's something that's supposed to be set up with a new project.
C:/Users/me/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/packages/targets/STM32/STM32_ctl.c:52: undefined reference to `SystemFrequency'
CrossStudio 2.0.4, STM32 support package 2.3
Any thoughts?
Thanks
-
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....
Please sign in to leave a comment.
Comments
5 comments