Discussion in "ARM Development" started by    Amit Kumar Das    Jul 7, 2015.
Tue Jul 07 2015, 08:16 pm
#1
Let me define the problem details.
Each peripheral have a .c file & .h file
Error :- xxx.axf: Error: L6218E: Undefined symbol LCD_ClearScreen (referred from rtc.o).
The function LCD_ClearScreen is well defined in lcd.c file.
I had included lcd.h file in rtc.c
I have used the function LCD_ClearScreen in rtc.c
while declaring extern LCD_ClearScreen also the error occurs.
If function is declared again in rtc.c file it compiles otherwise error L6218E.
How to solve it. The compiler is KEIL
Mon Jul 13 2015, 04:11 pm
#2
is .c file included in the project for build? can you post a screenshot of project explorer window where all files in project are listed?
Sun Jul 19 2015, 09:47 am
#3
Yes they are fine. I have included everything. Unable to post screen shot coz. there are more than 25 .c & .h files.
Mon Jul 20 2015, 10:12 am
#4
Ok then, check if you did not mention "LCD_ClearScreen" as a static function in your lcd.c file.
Mon Jul 20 2015, 09:14 pm
#5
thanks for your help.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

AntoniaRoons
Fri Apr 19 2024, 09:59 pm
carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am