This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UNCALLED SEGMENT ?CO?...

Hi all,

When the linker outputs:
*** WARNING 16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?CO?SCHEDULE

Does anyone know how to find out exactly what constant's causing it?

Thank you,

Anh

Parents
  • The ?CO?SCHEDULE segments refers to all the constant or code segments (not program segments, those begin with ?PR?) in the schedule.c file. This warning is telling you that one of these is not used and is ignored for overlay analysis.

    This is probably OK unless you store function pointers in a table or something like that. If you do, refer to the function pointer application note at http://www.keil.com/appnotes/docs/apnt_129.asp.

    You can avoid this warning by either a) using the constant/code variables you declare or by b) using the linker's overlay directive to remove that segment from overlay analysis.

    Jon

Reply
  • The ?CO?SCHEDULE segments refers to all the constant or code segments (not program segments, those begin with ?PR?) in the schedule.c file. This warning is telling you that one of these is not used and is ignored for overlay analysis.

    This is probably OK unless you store function pointers in a table or something like that. If you do, refer to the function pointer application note at http://www.keil.com/appnotes/docs/apnt_129.asp.

    You can avoid this warning by either a) using the constant/code variables you declare or by b) using the linker's overlay directive to remove that segment from overlay analysis.

    Jon

Children