2010-08-09 05:25 PM
IAR Ilink problem
2011-05-17 05:01 AM
I just checked my Kickstart version of EWARM 5.50.3 here at home which doesn't have the library source (the full 5.50.5 version at work does) and __iar_copy_init3 is defined in the IAR runtime libraries. My guess is that you've unticked the Linker option in the IDE to include these and hence that function is not being found.
2011-05-17 05:01 AM
Hi Stuart, thanks for your reply.
I am writing in Assembler and therefore not using any runtime libraries. Was I correct in my assumption that I should not be getting this error? Perhaps you could explain the ''initialize'' directive (I don' understand what I read in the IAR Development guide) it would help? Cheers2011-05-17 05:01 AM
Some stuff in the runtime libraries, such as the low-level initialization code, is written in assembler. You should include the runtime libraries even if your main code is only in assembler. The linker will only include what it needs to resolve missing symbols.
BTW if you're writing exclusively in assembler I'd bypass the .icf file directives which are more for C coded applications and implement things yourself.