Atmel AVR and EEPROM_X_MAPPED

Technical Note 49023

Targets:
AVR

Component:
Compiler

Updated:
2/6/2014 9:50 AM

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

Related Tech Notes

© IAR Systems 1995-2016 - All rights reserved.