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-on product C-STAT, ensuring code quality as well as proving alignment with standards such as MISRA C:2012.

05

On-demand training included

When you buy a license of IAR Embedded Workbench for STM8, you get access to free training courses through our IAR Academy on Demand offering.

Product overview

Watch this video to get an overview of IAR Embedded Workbench for STM8 and learn how to get started working with the tools.

Latest releases

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

Latest 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

Wide support for MCU devices

Supported STM8 devices

IAR Embedded Workbench for STM8 supports a wide range of STM8 devices.

See all supported devices
stm8_supporteddevices.png

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?

We are present worldwide to help you wherever you are, and we are happy to answer any questions you might have about our products.

Get quote

Want to use this product in your development projects? Our sales team is here to guide you to the right solution. Complete this form, and we will get back to you with a price quote tailored to your needs.

* 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

The ISO/ANSI C/C++ Compliance level varies between the different compilers. For complete information, please refer to the IAR C/C++ Compiler user documentation in your chosen product.

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 free of charge and allows you to try the software for 14 days to evaluate its efficiency and ease of use. 

You will be asked to register to get your license when you click download.

Please note the following for the 14-day time-limited version:

  • Time limit for evaluation license is 14 days
  • Not allowed to be used for product development or any kind of commercial use
  • Source code for runtime libraries is not included
  • No support for MISRA C
  • Limited technical support
Download

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.