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

3 vues (au cours des 30 derniers jours)
Toshifumi Sone
Toshifumi Sone le 27 Fév 2021
Modifié(e) : Toshifumi Sone le 27 Fév 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=');
どうぞ宜しくお願いします。

Réponses (0)

Catégories

En savoir plus sur 配布 dans Help Center et File Exchange

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!