AnsweredAssumed Answered

How to specify memory location for specific functions?

Question asked by jon_harris8 on Oct 12, 2017
Latest reply on Nov 10, 2017 by jon_harris8

Is there a way I can locate specific functions in a particular memory location?  In my case, I want to put functions that are executed only once or infrequently into L2, making space in L1 for critical code and data.  Can I do this based on function names, input files, or some other mechanism?  Some of this is driver code from ADI.  There is also code I've written.  In that case, I can add pragma's directives, etc. to the source, whereas it is less convenient to do so in ADI driver code.

Further, I have some code in a 3rd party .dlb library.  I would like to place some of the API's from that code in L2.

Outcomes