Renesas e2studio

From Renesas.info
Jump to navigation Jump to search

Supported Compilers for the RZA

The current supported compiler for the Renesas e2studio with the RZA.

GNU ARM Embedded Toolchain 6-2017-q2-update

IAR Embedded Workbench V8.30.1 or later

Importing External Libraries

External Library can be linked using the GCC Linker settings in the project settings. This requires that the external library was compiled using the same GNU GCC compiler. The RZA1 SDK uses GNU GCC version 6.3.1.

GCC Library Import settings Example
  1. In the e2studio right click the project and select properties.
  2. In the properties dialog select C/C++ build ->Settings.
  3. In the Settings sub-window find the tab “Tool Settings”
  4. In the list to the left select “Cross ARM C Linker”
  5. There are four panels on the right. The last two option panels need to be set.  Below is an example of what the settings might look like.
    Linker Options
    a) The -l panel sets the root name of the library that was compiled. When GCC compiler creates a library it always prepends ‘lib’ to the name. So for “librbsp.a”, we just use root name bsp.
    b) The -L specifies the directory that the library is in. Use the browse by workspace if the file is in the IDE workspace of Filesystem if the file  outside of the IDE workspace.