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]Compile can not success after Export to DS-5 or e2 studio

In programs by using RGA library currently, the compile can not success if you export with DS-5 or e2 studio. The compile can success 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 with DS-5, you can avoid build errors by doing the following procedure.

  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 with e2 studio, you can avoid build errors by doing the following procedure.

  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".


現在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