- Tue May 08, 2012 8:22 am
#144122
Hi, i have written a very simple code for my controller (i am a newbie to stm32 controller programming) and the code gives following errors
123.axf: Error: L6218E: Undefined symbol assert_param (referred from misc.o).
i have included the files misc.c in the std peripherals library too.
and i have absolutely no idea how to remove them and make my code work kindly help. i will share my code here too
///////
#include "stm32f2xx.h"
#include "stm32f2xx_gpio.h"
#include "stm32f2xx_spi.h"
#include "misc.h"
#include "stm32f2xx_rcc.h"
int main()
{
int x;
while (1)
{
}
}
123.axf: Error: L6218E: Undefined symbol assert_param (referred from misc.o).
i have included the files misc.c in the std peripherals library too.
and i have absolutely no idea how to remove them and make my code work kindly help. i will share my code here too
///////
#include "stm32f2xx.h"
#include "stm32f2xx_gpio.h"
#include "stm32f2xx_spi.h"
#include "misc.h"
#include "stm32f2xx_rcc.h"
int main()
{
int x;
while (1)
{
}
}