Compiler settings for Processor-In-the-Loop
3 views (last 30 days)
I am getting that PIL executes the source code using the same toolchain that I would use for programming (compiler, assembler, linker). What is not clear for me is when and how I can set the same options for that. For example, the same compiler used within Code Composer Studio (CCS) from Texas Instruments can be used to run PIL, but when I use CCS with its IDE (or by command window), I have the chance to set some option for the compiler, such as optimization options.
How can I set it as well before PIL to be sure that the executable running on the target looks like that one I would generate by CCS?
Thanks ahead for a kindly reply.
Prasanth on 24 Nov 2020
I understand that you are looking for how the toolchain is selected by Simulink, and also how to modify the toolchain settings.
The default value for the 'Toolchain' parameter in 'Configuration Parameters->Codegeneration' settings is 'Automatically locate an installed toolchain', which detects the most current toolchain from the available toolchains for the host.
You can change the 'Toolchain' settings for the chosen toolchain in the 'Configuration Parameters->Codegeneration' settings tab.
Refer to the following documentation link to get more insights on the 'Toolchain' parameter setting.