In a SES nRF9160 project I need to use the CMSIS DSP libraries for the M33 chip.
I add the folowing defines in my Zephyr conf file:
CONFIG_CMSIS_DSP=y CONFIG_CMSIS_DSP_SUPPORT=y CONFIG_CMSIS_DSP_FASTMATH=y CONFIG_CMSIS_DSP_COMPLEXMATH=y CONFIG_CMSIS_DSP_STATISTICS=y CONFIG_CMSIS_DSP_TRANSFORM=y
This seems to add all of the files in each directory and the linker does not remove them resulting in a bin file approaching 512K which is not viable.
Is there a way that the linker will disregard unused files and functions?
How can I determine which files and functions are used if I have to copy everything that is used and only that is used under a new directory instead of using the above defines?
Thanks David
This forum is about the core/cpu not compilers/tools. Esp. not Zephyr. Anyway, since you did not tell which compiler/linker one can only guess. But the manual for your linker might tell you.