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

Handling multiple L15 warning in single Overlay

Hi,

I have multiple L15 link warning (MULTIPLE CALL TO SEGMENT).

Referred to:

http://www.keil.com/support/docs/805.htm and fixed one. But how do i fix the rest.

When I use the OVERLAY command in a linker control file, or directly under BL51 Misc, I am not able to add more than one. I tried comma, semi-colon etc but nothing works.

How do I use the command - OVERLAY (sfname ! *), for multiple functions that I need to remove from overlay.

Thanks

Regards,
R

Parents
  • With assembler code, the coder can see all code and know what happens.

    With C code and the C compiler needing helper functions and playing around with auto variables upgraded to global variables, it really isn't obvious what happens when having an 8051 function shared between ISR and main loop. So best to avoid it.

Reply
  • With assembler code, the coder can see all code and know what happens.

    With C code and the C compiler needing helper functions and playing around with auto variables upgraded to global variables, it really isn't obvious what happens when having an 8051 function shared between ISR and main loop. So best to avoid it.

Children