SPRUJG0C December 2024 – October 2026 F29H850DM , F29H850TU , F29H859TU-Q1 , F29P329SM-Q1 , F29P589DM-Q1 , F29P589DU-Q1
Applications can include pre-compiled libraries, but can not use all the functions present in those libraries. To make sure the linker excludes unused functions in libraries and application code, make sure both are built with the below compiler option:
-ffunction-sections
Each function is then placed in a specific section, like .text.<function_name>, otherwise each function is placed in .text.