Im getting this error and after googling i cannot find a precise solution for my question.
here is my main.c
/* Includes ------------------------------------------------------------------*/ #include "main.h" #include "stm32f1xx_hal.h" #include <stdio.h> #include <string.h> #include <sim_900_nav.c> /* USER CODE BEGIN Includes */
in above main.c lines when i use printf something that works very fine.
i have added sim_900_nav.c to write my own driver and i used sample code below
#include <stdio.h> void nav_code(){ int i2_ex; printf("anna_naveeenu %i \n\r",i2_ex); }
the above code is compiling with error. below is error description
UART\UART.axf: Error: L6200E: Symbol nav_code multiply defined (by sim_900_nav.o and main.o). Not enough information to list image symbols. Not enough information to list the image map.
can someone help me??
thank you naveen
Thank you dear.. it worked.
Best regards naveen