beLow - Technical documentation
  • Compatibility
  • Installation guide
    • Installation modes
    • Installation instructions
      • Linux
        • Requirements
        • Installation
      • Windows
        • Requirements
        • Installation
  • Getting started
    • Start beLow
    • Sign up/log in
    • Setup a new project
    • Run an analysis
    • Run an optimization
  • Compatibility guide
    • Compatibility generalities
    • Compatibility specifics
    • CMake
    • Makefiles on Windows
    • STM32CubeIDE on Windows
    • IAR Embedded Workbench for ARM
    • Bazel
    • Custom Docker image
  • FAQ / Troubleshooting
    • FAQ
    • Troubleshooting
Powered by GitBook
On this page
  1. Compatibility guide

IAR Embedded Workbench for ARM

PreviousSTM32CubeIDE on WindowsNextBazel

Last updated 1 month ago

beLow is compatible with IAR Embedded Workbench for ARM. To make a project compatible with beLow, iarbuild command must be used in the Build script.

IAR Embedded Workbench for ARM creates a metadata file with extension .ewp for your project.

There are possible commands to build your project:

Incremental build
iarbuild .\path\to\MyProject.ewp -make "MyConfig"
Clean build
iarbuild .\path\to\MyProject.ewp -build "MyConfig"

We recommend that you use the incremental build for better performance.

Note that iarbuild command must be in your path when running beLow. Also IAR build process uses ARM tools such as iccarm, which directory must also be in your path.

When installing IAR Embedded Workbench 9.2, the default path of iarbuild is as follows:

C:\Program Files\IAR Systems\Embedded Workbench 9.2\common\bin

And the default path of of ARM tools, including iccarm, is:

C:\Program Files\IAR Systems\Embedded Workbench 9.2\arm\bin

For beLow to work properly with IAR Embedded Workbench for ARM, these paths should be added in your user's Path variable in the environment.

After adding these paths in the environment, open a terminal to check that the following commands work:

iarbuild --help
iccarm --help

beLowCTL should be restarted after changing the user's environment to be taken into consideration.

Once set up, check that your project can be built in the terminal.

To make your project work with beLow, enter the following scripts when requested:

For Configure section, leave blank.

For Clean section, enter:

  • Script content:

iarbuild .\path\to\MyProject.ewp -clean "MyConfig"
  • Script execution path: In the target directory

  • Shell: Pwsh

For Build section, enter:

  • Script content:

iarbuild .\path\to\MyProject.ewp -make "MyConfig"
  • Script execution path: In the target directory

  • Shell: Pwsh

Don't wrap your iarbuild command in a script, because beLow needs to recognize the command to do some instrumentations for compilation database generation. The iarbuild command must appear directly in your script.

Edit your user's environment variables