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.
I'm using the emWin graphics library. It has a small number of configuration files that are specific to the given hardware and display. I either have to generate a emWin library that includes these configuration files - which will be different for each target hardware, or its documentation states that I can include all of the emWin files in a given CCS project if the linker is a "smart linker" that will only link in the object files that are used and not all of the libraries object files.
CCS version 10.4.00006. Does the linker have this ability? Are there any link flags that need to be set?
Thanks, Doug
Does the linker have this ability?
Yes. The linker brings in an object file from a library only it if supplies the definition of a symbol (usually a function, but it could be a data object) that is referenced by the code already in the program.
Are there any link flags that need to be set?
No.
Thanks and regards,
-George