SPRUJG0B December 2024 – November 2025 F29H850TU , F29H859TU-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.