top of page

Peterjanvanderburgh Group

Public·9 members

IAR Embedded Workbench for AVR: Support for C18 and C++17 Language Standards

IAR Embedded Workbench for AVR V6.10.2 12: A Complete Development Toolchain for AVR Microcontrollers

If you are looking for a powerful, user-friendly, and comprehensive development toolchain for AVR microcontrollers, you might want to check out IAR Embedded Workbench for AVR V6.10.2 12. This software provides everything you need to develop, build, and debug high-quality embedded applications for AVR devices.

IAR Embedded Workbench For AVR V6.10.2 12


What is IAR Embedded Workbench for AVR?

IAR Embedded Workbench for AVR is a complete development toolchain that includes an integrated development environment (IDE), a highly optimizing C/C++ compiler, a relocating AVR assembler, a linker and library tools, a C-SPY debugger, and an integrated code analysis tool. It also provides example projects and code templates for various AVR families and applications.

Features and benefits of IAR Embedded Workbench for AVR

Some of the features and benefits of using IAR Embedded Workbench for AVR are:

  • It supports all AVR Classic, ATmega, and FPSLIC devices, including devices with the enhanced cores.

  • It generates compact and efficient code that maximizes the performance and power efficiency of your application.

  • It offers advanced debugging capabilities, such as hardware breakpoints, watchpoints, trace, data logging, RTOS-aware debugging, power debugging, and more.

  • It integrates with various hardware debuggers, such as JTAGICE mkII, JTAGICE3, Atmel-ICE, STK500/600, AVR Dragon, and more.

  • It includes an AVR simulator that allows you to test your code without any hardware.

  • It supports static code analysis through the add-on product C-STAT, which helps you ensure code quality and compliance with standards such as MISRA C:2012.

  • It provides free training courses through the IAR Academy on Demand offering.

  • It offers flexible licensing options, such as node-locked licenses, network licenses, dongle licenses, etc.

Supported devices and platforms

IAR Embedded Workbench for AVR supports all devices in the following families:

  • AVR Classic

  • ATmega


You can find the complete list of supported devices here.

IAR Embedded Workbench for AVR runs on Windows XP (32-bit), Windows Vista (32-bit), Windows 7 (32-bit or 64-bit), Windows 8 (32-bit or 64-bit), Windows 8.1 (32-bit or 64-bit), Windows 10 (32-bit or 64-bit), or Windows Server (32-bit or 64-bit).

What's new in IAR Embedded Workbench for AVR V6.10.2 12?

IAR Embedded Work bench for AVR V6.10.2 12 is the latest version of the software, released in June 2023. It introduces several new features and improvements, such as:

New linker

The linker has been rewritten to provide faster linking, better memory usage, and more flexibility. The new linker supports:

  • Link-time optimization (LTO), which performs interprocedural optimization across the whole program at link time, resulting in smaller and faster code.

  • Linker feedback, which allows you to generate a report with information about the code size, memory usage, and optimization opportunities for your project.

  • Linker configuration files, which let you customize the linker behavior and settings using a text file.

  • Linker command files, which enable you to pass additional commands and options to the linker using a text file.

  • Linker map files, which give you detailed information about the memory layout and symbol allocation of your program.

Support for the C18 and C++17 language standards

The compiler now supports the latest versions of the C and C++ language standards, C18 and C++17. These standards introduce new features and enhancements to the languages, such as:

  • C18: Improved compatibility with C++, improved support for Unicode characters, improved support for atomic operations, etc.

  • C++17: New keywords such as constexpr if, auto, and noexcept, new library features such as std::optional, std::variant, and std::string_view, new template features such as fold expressions and deduction guides, etc.

You can select the language standard to use in the project options.

Additional GNU C language extensions

The compiler now supports more GNU C language extensions, such as:

  • __attribute__((packed)), which instructs the compiler to pack structure members with the smallest possible alignment.

  • __attribute__((aligned(n))), which specifies a minimum alignment for a variable or structure field.

  • __attribute__((section("name"))), which places a variable or function in a specific section of memory.

  • __attribute__((weak)), which marks a function or variable as weakly defined, meaning that it can be overridden by another definition with the same name.

  • __attribute__((alias("target"))), which creates an alias for another function or variable.

Unicode support

The IDE now supports Unicode characters in source files, project names, paths, and messages. You can use UTF-8 or UTF-16 encoding for your source files and select the encoding in the editor options. You can also use Unicode characters in string literals and comments in your code.

Editor and IDE enhancements

The editor and IDE have been improved with several new features and options, such as:

  • A new dark theme option that changes the color scheme of the IDE to a darker one.

  • A new code folding feature that allows you to collapse and expand blocks of code in the editor.

  • A new code completion feature that suggests possible symbols and keywords as you type in the editor.

  • A new code formatting feature that automatically indents and aligns your code according to your preferences.

  • A new code navigation feature that lets you jump to the definition or declaration of a symbol in your code.

  • A new code refactoring feature that helps you rename variables, functions, types, etc. in your code.

  • A new code generation feature that helps you create stubs for functions, variables, classes, etc. in your code.

Iarbuild enhancements

Iarbuild is a command-line tool that allows you to build projects from scripts or batch files. It has been enhanced with several new options and features, such as:

  • A new option to specify the output directory for the build results.

  • A new option to specify the configuration name for the build.

  • A new option to specify the device name for the build.

  • A new option to specify additional compiler or linker options for the build.

  • A new option to generate a linker feedback report for the build.

64-bit Windows application

The IDE is now available as a 64-bit Windows application, which allows it to use more memory and handle larger projects. You can choose between the 32-bit or 64-bit version when installing the software.

Visual Studio Code support

You can now use Visual Studio Code as an alternative editor for your projects. Visual Studio Code is a free and open-source code editor that supports various languages and platforms. You can install the IAR Embedded Workbench for AVR extension for Visual Studio Code, which provides features such as:

  • Syntax highlighting and code formatting for C and C++.