Renesas e2studio

From Renesas.info
Revision as of 20:09, 29 June 2021 by Zkmike (talk | contribs) (Rensas RZ e2studio IDE support page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Supported Compilers

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.

  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 three panels on the right. The last two option panels need to me set.  Below is an example of what the settings might look like.
    1. GCC Library Import settings Example
      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 bsp.
    2. 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.