Compiler settings for Processor-In-the-Loop

3 ビュー (過去 30 日間)
Marco Massaro
Marco Massaro 2020 年 10 月 15 日
コメント済み: Fabio Marrocolo 2021 年 9 月 30 日
Hello,
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.
Regards,
Marco
  1 件のコメント
Fabio Marrocolo
Fabio Marrocolo 2021 年 9 月 30 日
Hi Marco,
Reading your posts, it appears that you are trying to "build" an hardware support package for the Texsas Instruments TMS570 series.
I have the same problem for my project. I am trying to interface the TMS570LC4357 with Simulink, I am evolving to know if you have information (or suggestions) to help me get started.
Thanks.

サインインしてコメントする。

回答 (1 件)

Prasanth
Prasanth 2020 年 11 月 24 日
Hi Marco,
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.
  1 件のコメント
Marco Massaro
Marco Massaro 2021 年 1 月 12 日
編集済み: Marco Massaro 2021 年 1 月 12 日
I set the ert.tlc and the Target HW as "Hardware Implementation", but CCS does not figure in the list in "Toolchain settings". So I cannot follow your indication.
I use Matlab 2020a and CCS v9

サインインしてコメントする。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by