We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have Declared all my declaration in one file called ADeclaration.h and included this file in all my module C files.
i.e.
i have
MAIN.c (MAIN) Port_IO.c (PORT_IO) STORAGE.c (STORAGE) TEMPERATURE.c (TEMPERATURE) CONVERT.c (CONVERT) UART.c (UART) RTC.c (RTC) I2C.c (I2C) ISR.c(ISR) FLASH.c (FLASH)
All the declaration of this files are in Adeclaration.h
now i am getting my project.M51 with Program Size: data=157.5 xdata=5988 code=11148 LINK/LOCATE RUN COMPLETE. 29 WARNING(S), 294 ERROR(S)
and the target is not created
most of the error are like
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS SYMBOL: LOCAL MODULE: STORAGE.obj
You have a huge number of errors and warnings there!!
:-0
It is highly likely that many of them will be related!
Don't worry unduly about this one error until you have fixed all the other errors and warnings!