IAR Embedded Workbench for STM8

The complete development toolchain IAR Embedded Workbench for STM8 provides one toolbox in one view, giving you one uninterrupted workflow.

01

User-friendly IDE

Integrated development environment with project management tools and editor including linker and library tools, example projects and code templates.

02

Powerful build tools

The IAR C/C++ Compiler is a highly optimizing C and C++ compiler for STM8. It offers configuration files for all STM8 devices, relocating STM8 assembler and run-time libraries.

03

Comprehensive debugger

The C-SPY Debugger provides a STM8 simulator, RTOS-aware debugging with built-in plugin for OSEK Run Time Interface ORTI, as well as support for STice Emulator system and ST-Link debug probe. C-SPY Debugger plugin SDK available for 3rd party debuggers is also included.

04

Integrated code analysis

IAR Embedded Workbench for STM8 provides integrated static code analysis through the add-C-STAT, ensuring code quality as well as proving alignment with standards such as MISRA C:2012.

Latest releases

We are constantly updating and refining our tools with new features, new device support and extended capabilities.

Version 3.11

Improved Source Browser
The following improvements have been made to the Source Browser:

  • The source browser data is generated faster as it is now running as a separate thread.
  • New Source Browser Log window.
  • Status indicator in the status bar.
  • Enhanced feedback in case source browsing data cannot be generated.

Documentation Comments support in the editor
The editor can distinguish comments that start with /**, /*!, /// or //! as Documentation Comments. Inside a Documentation Comment, the editor can recognize keywords that begin with \ or @. If the keyword is recognized as a doxygen keyword, the Documentation Comment will appear in tooltips and parameter hints for variables and functions. See IAR Embedded Workbench IDE Project Management and Building Guide for more information.

Newer version of C-STAT
The static analysis tool C-STAT has been updated with 20 additional rules, a number of bugfixes and better reporting function.

Support new debugger
Support for STLINK-V3 has been added.

Read complete release notes

Version 3.10

Updated IDE

The IDE has a new graphical profile, enhancements to window management and docking, customizable toolbars, a revised Information Center, and new tutorials.

Extended functionality in C-STAT

The static analysis tool C-STAT has been extended with approximately 150 new checks including 90 new MISRA C:2012 checks and two new packages of checks. There are also new options to enable or disable the false positives elimination phase of the analysis and to exclude files from the analysis. C-STAT message suppression can now be controlled by directives placed in comments in the source files.

Added support for new devices

Complete device support for the following new devices: STM8S001J3, ASTWBC5V,STWBC, STWBC-EP, STWBC-MC, STWBC-WA

Updated user documentation

The IDE Project Management and Building Guide and the C-SPY Debugging Guide have been updated to reflect the product changes.

Read full release notes

What type of license do you need?

Our tools are available in a flexible license model to suit your company needs. Together with our support and update agreements, you get the support you need in multiple time zones and multiple languages. Send a request for quote or contact sales to get started.

Read more about Licenses

Want to know more about this product?

We are available to answer any questions about our products. To help you make the most out of your experience, you can also find plenty of information in our Learn section and at the customer portal My Pages.

Request for quote

Complete this request for quote form and our sales team will contact you with a price offering tailored for your needs. We look forward to your request!

* read our Privacy policy

User guides and documentation

Languages and standards

The IAR C/C++ compilers offer different dialects of the C and C++ programming languages, as well as different extensions specific for embedded programming (please note that not all language standards are supported for all target implementations). The compiler can be instructed to disable extensions for strict conformance to the standards. 

A wide range of industry-standard debug and image formats compatible with most popular debuggers and emulators are supported. This includes ELF/DWARF where applicable.

ISO/ANSI C/C++ Compliance

The IAR C/C++ compilers adhere to a freestanding implementation of the following C programming language standards:

  • INCITS/ISO/IEC 9899:2018, known as C18 (Latest version only).
  • The compiler supports all C++17 features. The C++ library supports C++14 with no C++17 additions.  (Latest version only).
  • ISO/IEC 14882:2015, known as C++14
  • INCITS/ISO/IEC 9899:2012, known as C11
  • ANSI X3.159-1989, known as C89

IEEE 754 standard

IAR Embedded Workbench supports the IEEE 754 standard for floating-point arithmetic.

MISRA C

MISRA C is a software development standard for the C programming language developed by MISRA, The Motor Industry Software Reliability Association. Its aims are to facilitate code safety, portability and reliability in the context of embedded systems, specifically those systems programmed in ISO C.

The first edition of the MISRA C standard, "Guidelines for the use of the C language in vehicle based software", was produced in 1998. In 2004, a second edition was produced with many substantial changes to the guidelines, including a complete renumbering of the rules. Additionally MISRA C:2012 with extended support and MISRA C++:2008 for identifying unsafe code constructs in the C++ standard have also been added to the standards.

IAR Embedded Workbench features an add-on product C-STAT so you can check compliance with rules as defined by MISRA C:2004, MISRA C++:2008 and MISRA C:2012.

Test validation

We use the following commercial test suites to test conformance of our tools to the standards:

  • Plum Hall Validation test suite for ISO/IEC C conformance
  • Perennial EC++ Validation Suite for C++ conformance
  • Dinkum C++ Proofer to test how our libraries conform to the C and C++ standard as well as test our STL implementation against the C++ standard.

In addition to the commercial suites, we use several in-house test suites for testing new features, regression testing, corrected errors, etc.

Download free trial

IAR Embedded Workbench for STM8 - Free trial version

The evaluation license is completely free of charge and allows you to try the integrated development environment and evaluate its efficiency and ease of use. When you start the product for the first time, you will be asked to register to get your evaluation license.

After download and installation, you have the following evaluation options to choose from:

  • a 30-day time-limited but fully functional license
  • a size-limited Kickstart license without any time limit

Restrictions to the 30-day time-limited evaluation

  • A 30-day time limitation.
  • Source code for runtime libraries is not included.
  • No support for MISRA C.
  • Limited technical support.
  • Must not be used for product development or any other kind of commercial use.

Restrictions to the Kickstart, size-limited evaluation

  • A 4 Kbyte code size limitation.
  • Source code for runtime libraries is not included.
  • No support for MISRA C.
  • Limited technical support.
Download 318.42 MB

We do no longer support Internet Explorer. To get the best experience of iar.com, we recommend upgrading to a modern browser such as Chrome or Edge.