cancel
Showing results for 
Search instead for 
Did you mean: 

no definition for ''__iar_data_init3''

life758
Associate II
Posted on November 20, 2015 at 14:14

Hello everybody

I want to declare a vector to save data on it (in assembly code).

I use this declaration:

      SECTION MYDATA:DATA (2)

        DATA

Result DS8   3 ;  allocates space (3 bytes)

When I compile, IAR give me this error:

Error[Lp001]: no definition for ''__iar_data_init3'' [needed to initialize section MYDATA (asm.o #6)] 

Anyone have any idea how to fix this?

regards
2 REPLIES 2
Amel NASRI
ST Employee
Posted on November 26, 2015 at 17:14

Hi engkyr,

If you didn't yet find a solution for this issue, I suggest you describe it in

https://www.iar.com/support/#%21?tab=resources

.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

life758
Associate II
Posted on November 27, 2015 at 11:55

Thanks Mayla,

At the end I didn't use any directive. I did it ''manually''