Embedded Coder モデル コンフィギュレーション パラメーター: コード生成のカスタム コードのインクルードディレクトリ with ルネサス製コンパイラCC-RX

4 Ansichten (letzte 30 Tage)
Toshifumi Sone
Toshifumi Sone am 27 Feb. 2021
Bearbeitet: Toshifumi Sone am 27 Feb. 2021
お世話になります。
 モデルコンフィギュレーションパラメーター内のコード生成のカスタムコードのインクルードディレクトリの設定方法について御教示下さい。
 https://jp.mathworks.com/help/rtw/ref/include-directories.html
 の内容を見ると、2つ目のパス、3つ目のパスは「”」にてはさむ必要があると記載されている様に見受けられます。
  •  該当するコンフィギュレーションパラメータのBOXにもいくつかのパスを改行することなく、スペースだけでわ け、2つめ3つめは「”」で挟むようにする必要があるのでしょうか?
 ToolChainを利用してルネサス製マイコン用コンパイラCC-RXを呼び出す事は成功したのですが、
 アセンブラのmacrxというコマンドを呼び出すことが出来ないというエラーが出力されました。
 
 下記の様にToolchainを指定しております。
% From Renesas ccrx documentation:
% ccrx -isa=rxv1 -output=obj=tp.obj tp1.c tp2.c
tool = tc.getBuildTool('C Compiler');
tool.setName( 'Renesas C Compiler'); % Descriptive name for you own identification
tool.setCommand( 'ccrx'); % Compiler command name
tool.setPath( ''); % Assumes the ccrx is defined on system path. Otherwise provide aboslute path to compiler installed folder
tool.setDirective( 'IncludeSearchPath', '-include');
tool.setDirective( 'PreprocessorDefine', '-define');
tool.setDirective( 'OutputFlag', '-output=obj=');
どうぞ宜しくお願いします。

Antworten (0)

Kategorien

Mehr zu 配布 finden Sie in Help Center und File Exchange

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!