Hello everyone,
I've been trying to get started with a STM32FDiscovery (with STM32F100RB controller) board in uVision. However, when I compile my program I get the error-
L6218E "undefined symbol assert_param (referred from file stm32f10x_gpio.c)" and a further 48 warnings-
'#223 D: function "assert_param" declared implicitly'
at various lines in the included peripheral files. The peripheral files I included were stm32f10x_gpio.c, stm32f10x_misc.c, and stm32f10x_rcc.c from the an3268 firmware package provided by ST.
I've included the same files in another project I copied from my old computer, and that project compiles just fine. Hours of scanning through the files have turned up no differences in code between the two projects and I still have the same problem when I start a new project.
Please help!
Review the DEFINES and PATHS within the metadata of the project(s) as these impact the files used and the code built. Look at the Example and Template projects.
Check also the project specific stm32f10x_conf.h file
stm32vldiscovery_package\Project\Examples\GPIOToggle\stm32f10x_conf.h