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

2 views (last 30 days)
Toshifumi Sone
Toshifumi Sone on 27 Feb 2021
Edited: Toshifumi Sone on 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=');
どうぞ宜しくお願いします。

Answers (0)

Categories

Find more on 配布 in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!