IAR Embedded Workbench® for Arm®

This guide outlines the procedure to extend an existing IAR Embedded Workbench® for Arm® installation with STM32C5xx device support.

The patch is applicable to IAR Embedded Workbench® for Arm® version 9.20.1 or any later release.

Tip

The patch file STMicroelectronics.stm32c5xx.2.0.0.iar.zip could be found in IDEs_patches/EWARM/ directory inside stm32c5xx_dfp or STMicroelectronics.stm32c5xx_dfp.2.0.0.pack.

Tip

This patch is also applicable to IAR Build Tools for Arm, as they share the same IAR Arm Compiler and device support files.

Attention

This patch is only needed if your installed IAR Embedded Workbench® for Arm® version does not already include support for STM32C5xx devices.

If you have a recent version of IAR Embedded Workbench® for Arm®, please check the release notes to see if STM32C5xx support is already included before applying this patch.

Patch Content

The STMicroelectronics.stm32c5xx.2.0.0.iar.zip archive provides the following STM32C5xx collateral:

  • Device part-number definitions (*.menu, *.i79)

  • Linker configuration files (*.icf)

  • Device description file (*.ddf)

  • Flash loader files (*.board, *.flash, …)

  • System View Description files (*.svd)

Prerequisites

  • A working installation of IAR Embedded Workbench® for Arm® (version 9.20.1 or any later release).

  • Permissions to modify files inside the IAR Embedded Workbench® for Arm® installation directory (administrator/root rights may be required).

Installation Steps

The patch may be deployed either automatically by using the provided scripts (recommended) or manually by copying the files into the IAR Embedded Workbench® for Arm® installation tree.

Automatic Installation

Use the script that matches your operating system:

Operating System

Install Script

Windows

install_patch.bat

Linux

install_patch.sh

  1. Locate your IAR Embedded Workbench® for Arm® installation directory, typically:

    • Windows: C:\Program Files\IAR Systems\Embedded Workbench 9.x or C:\iar\ewarm-9.xx.x

    • Linux: /opt/iarsystems/bxarm-9.xx.x

  2. Close all running instances of IAR Embedded Workbench® for Arm®.

  3. Run the appropriate install script (from a terminal or command prompt), specifying the IAR Embedded Workbench® for Arm® installation directory when prompted.

Important

Linux : ensure install_patch.sh is executable ( chmod +x install_patch.sh)

Important

If required by your environment, run the script with elevated permissions (e.g., “Run as administrator” on Windows or use sudo on Linux).

The script performs the following actions:

  • Requests the IAR Embedded Workbench® for Arm® installation directory.

  • Removes any previous STM32C5xx patch content.

  • Installs the updated STM32C5xx patch files.

Manual Installation

  1. Close all running instances of IAR Embedded Workbench® for Arm®.

  2. Extract the contents of STMicroelectronics.stm32c5xx.2.0.0.iar.zip into <IAR install directory>/arm and allow the operating system to overwrite existing STM32C5xx files if prompted.