MC1322x demo project link error no "__iar_data_init"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC1322x demo project link error no "__iar_data_init"

2,187 Views
solar
Contributor I
I am working on a project using MC1322x Evaluation Kit. I create a demo solution on MAC ARM7 codebase. When I use IAR EWARM 5.20 compiling MyStarNetwork demo (Coordinator). I got message like that.

Warning[Lt010]: Inconsistent enum container size
D:\Projects\Freescale\My Solution\Connectivity Test
RX\Debug\Obj\Display.o and 10 other objects uses smallest
possible Init_Utils.o(MC1322x.a) uses word size

Error[Li005]: no definition for "__iar_data_init" [referenced from
D:\Projects\Freescale\My Solution\Connectivity Test
RX\Debug\Obj\Init-IAR.o]

Can anybody help me out?
Labels (1)
0 Kudos
2 Replies

278 Views
addiyi
NXP Employee
NXP Employee

Hello,

The MC1322x MAC ARM7 codebase require IAR EWARM version 5.11. You are using 5.20 which contains changes in the linker.

The 5.11 evaluation version of EWARM for Freescale:

browse to -- www.iar.com
click -- Products
click -- Compilers and debuggers
click (in left column) -- ARM
click (in left column) -- Version 5.11
click (in right column) -- Evaluation edition for Freescale ZigBee solutions

Regards,
Adrian

0 Kudos

278 Views
Mads
Contributor V
Solar,
 
Please contact IAR for compiler support. they can assist you.
 
Br,
Mads
0 Kudos