Renesas


Renesas Electronics Corporation (TSE: 6723), the world's number one supplier of microcontrollers, is a premier supplier of advanced semiconductor solutions including microcontrollers, SoC solutions and a broad range of analog and power devices.

You are viewing an older revision! See the latest version

GR PEACH Trouble Shooting

Information

Japanese version is available in lower part of this page.
このページの後半に日本語版が用意されています.

[Export]Compilation fails after Export to DS-5 or e2 studio

In programs by using RGA library currently, the compilationcan fails if you export to DS-5 or e2 studio. The compilation successes if you export with GCC (ARM Embedded) or import it with mbed CLI.
This is because there is a problem with Exporter function. The each workaround is shown below.

[DS-5]
When you export to DS-5, you can avoid build errors by the following step.

  1. Right-click on the project name and select "Property".
  2. Select "C / C ++ Build" - "Settings".
  3. Select "Tool Settings" tab.
  4. Select "ARM C++ Compiler" - "Includes".
  5. Add ""${workspace_loc: / $ {ProjName} /mbed_config.h}"" to the "Pre-include" column.
  6. Press "OK" button at the bottom of "Property".


[e2 studio]
When you export to e2 studio, you can avoid build errors by the following step.

  1. Right-click on the project name and select "Property".
  2. Select "C / C ++ Build" - "Settings".
  3. Select "Tool Settings" tab.
  4. Select "Cross ARM C++ Compiler" - "Includes".
  5. Add ""${workspace_loc: / $ {ProjName} /mbed_config.h}"" to the "Include files" column.
  6. Select "Cross ARM C++ Linker" - "Libraries".
  7. Put "PNG_Zip" under "RGA" in the "Libraries" column.
  8. Press "OK" button at the bottom of "Property".


[Export]DS-5又はe2 studioへExportするとコンパイルが失敗する

現在RGAを使うサンプルでは、DS-5とe2 studioでExportするとコンパイルが失敗します。GCC(ARM Embedded)でExportするか、mbed CLIでimportすればコンパイルは成功します。
これはExporterの機能に問題があるためです。
それぞれの回避策を以下に示します。

[DS-5]
DS-5にExportする際、以下の手順でビルドエラーを回避できます。

  1. プロジェクト名を右クリックして、「Property」を選択してください
  2. 「C/C++ Build」-「Settings」を選択してください
  3. 「Tool Settings」タブを選択してください
  4. 「ARM C++ Compiler」-「Includes」を選択してください
  5. 「Pre-include」欄に「"${workspace_loc:/${ProjName}/mbed_config.h}"」を追加してください
  6. 「Property」最下段の「OK」を押してください


[e2 studio]
e2 studioにExportする際、以下の手順でビルドエラーを回避できます。

  1. プロジェクト名を右クリックして、「Property」を選択してください
  2. 「C/C++ Build」-「Settings」を選択してください
  3. 「Tool Settings」タブを選択してください
  4. 「Cross ARM C++ Compiler」-「Includes」を選択してください
  5. 「Include files」欄に「"${workspace_loc:/${ProjName}/mbed_config.h}"」を追加してください
  6. 「Cross ARM C++ Linker」-「Libraries」を選択してください
  7. 「Libraries」欄にある「PNG_Zip」を「RGA」の下に並び替えてください
  8. 「Property」最下段の「OK」を押してください

All wikipages