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.
Tool/software: TI C/C++ Compiler
Hi,
I'm working on a CC26X2R1 launchpad demo, which builds without any errors.
When entering the linking stage, the build time takes about 20 minutes.
The project I am building is the cli_ftd (openthread example, code composer studio, simplelink_cc26x2_sdk_2_20_00_36 (examples/rtos/CC26X2R1_LAUNCHXL/thread/cli_ftd)).
I have not found out yet how to enter the verbose mode with the linker. Can anyone tell me how to work this out or does anybody have experience with the long time it takes to link?
(the only text appearing on my console is '<Linking>').
Regards,
Daan
Change the build option --opt_level from 4 to 3, and it builds much faster. However, this will also cause your cycles and memory usage to increase. The amount of increase may or may not matter. If it does matter, consider building with --opt_level=3 during early phases of the project, then changing to --opt_level=4 during later phases.
For more background on this build option, see the section titled Link-Time Optimization in the ARM compiler manual.
Thanks and regards,
-George