Atmel AVR and EEPROM_X_MAPPED

Technical Note 49023

Architectures:

AVR

Component:

compiler

Updated:

11/6/2015 12:31 PM

Introduction

Using EEPROM in Atmel AVR XMEGA and IAR Embedded Workbench for AVR, I get a linker message similar to:

Error[e27]: Entry some_eeprom_entry in module ?EEPROM_X_MAPPED redefined in module ?EEPROM_X_UNMAPPED

Suggested solution

Upgrade to IAR Embedded Workbench for AVR version 6.30.2 or newer.

Alternative solution

Add the library source file eeprom_xmega.s90 to your project.

Note

Location of eeprom_xmega.s90:

$TOOLKIT_DIR$\src\lib\eeprom_xmega.s90

Note

Problem found in IAR Embedded Workbench for AVR version 6.21.3.

 

All product names are trademarks or registered trademarks of their respective owners

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.