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

OVERLAY

I am using the OVERLAY directive as following:

OVERLAY(func0 ! *,func1 ! *,func2 ! *,func3 ! *,func4 ! *,func5 ! *)

to Excludes the functions from overlay analysis and locates its data and bit segments in non-overlaid memory

I don't see any memory usage changes. Am I doing anything wrong?

Thanks,

Anh

Parents
  • "I don't see any memory usage changes."

    Do you mean that they're still overlaid despite your directive, or were they just never overlaid in the first place?

    Have you looked at the Application Note about Function Pointers, and searched the knowledgebase? These materials give some more detailed explanations & examples of the overlay mechanism & how to control it.

Reply
  • "I don't see any memory usage changes."

    Do you mean that they're still overlaid despite your directive, or were they just never overlaid in the first place?

    Have you looked at the Application Note about Function Pointers, and searched the knowledgebase? These materials give some more detailed explanations & examples of the overlay mechanism & how to control it.

Children