Discussion Forum

Getting *** WARNING L16: UNCALLED FUNCTION, IGNORED FOR OVERLAY PROCESS

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Sihan Goi
Posted
29-Nov-2007 09:08 GMT
Toolset
C51
New! Getting *** WARNING L16: UNCALLED FUNCTION, IGNORED FOR OVERLAY PROCESS

I'm working on uVision3 on a Cypress NX2LP-Flex board, and I'm getting the above message when I call a few, but not all of the I2C functions from the EZUSB library. For example when I just call EZUSB_InitI2C(), I'll get that warning. I've checked the Keil tech support articles and the closest I can see is at http://www.keil.com/support/docs/2316.htm and http://www.keil.com/support/docs/875.htm except this is an "uncalled segment" rather than an "uncalled function". The descriptions don't seem to match my case either...

Any ideas?

Read-Only
Author
erik malund
Posted
29-Nov-2007 14:01 GMT
Toolset
C51
New! The most likely cause

uncalled segment refer to dara, uncalled function refer to code.

The most likely cause is that, in some module, you have some variable(s) defined that are not used.

Erik

Read-Only
Author
Neil Kurzman
Posted
29-Nov-2007 21:49 GMT
Toolset
C51
New! RE: Getting *** WARNING L16: UNCALLED FUNCTION, IGNORED FOR OVERLAY PROCESS

If you have the source comment out the unused function.
If it is a .lib file you may want to do a dummy call to the function.

Next Thread | Thread List | Previous Thread Start a Thread | Settings