Dear All,
I created a serial.lib file with four functions, and added to new project . in main i called only 2 function which is present in lib file. so its giving me an warning "*** WARNING L16: UNCALLED FUNCTION, IGNORED FOR OVERLAY PROCESS" this is because of other 2 function which is not called in main.
how to clear this warning...
Thanks & regards Kiran Kumar D
"then how standard lib like stdio,conio are created with all functions in a single lib."
One source file for each function - as stated.
"if i make each function with different files, then there will be huge number of files."
Only if you have a "huge" number of functions in your library!
You said that you have 4 functions - so 4 source files is hardly a "huge" number, is it?!
There is still only one library file.
"how can i manage like default library."
Surprisingly enough, by using the Library Manager:
http://www.keil.com/support/man/docs/lib51/ http://www.keil.com/support/man/docs/libx51/