This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to put a generated ".lib" file into a fixed flash section

Hello Champs,

Customer needs to put a generated ".lib" file into a fixed flash section, would you please kindly suggest how to configure in the original ".lib" project to realize it?

Thanks!

Best Regards,

Linda

  • I presume the build is organized as separate CCS projects.  One project builds the library from source code.   Just for now, presume the name of that library is original.lib.  The other project is a executable program which calls functions in original.lib.  The project which creates original.lib needs no changes.  The project which creates the executable program must change the linker command file.  The changes needed are detailed in the  Allocate a Single Input Section from a Library part of the larger article Linker Command File Primer.

    Thanks and regards,

    -George