AnsweredAssumed Answered

Error[Li005]: no definition for "__MCR", IAR tool linking error

Question asked by Suhas M V on Oct 14, 2018
Latest reply on Nov 7, 2018 by Suhas M V

Hello,

 

I am using  MCUXpresso SDK_2.2_MCIM6ULL and I am trying to build the file in IAR Embedded Workbench for ARM v8.30.2, as I am new to this tool I was trying with the demo code given in SDK_2.2_MCIM6ULL, when I try to Make the file the following errors were found. Can somebody help in letting me know the reason for the error.

 

IAR ELF Linker V8.30.2.160/W32 for ARM
Copyright 2007-2018 IAR Systems AB.
Error[Li005]: no definition for "__MCR" [referenced from C:\nxp\SDK_2.2_MCIM6ULL\boards\evkmcimx6ull\demo_apps\hello_world\iar\ddr_debug\obj\board.o]


Error[Li005]: no definition for "__MRC" [referenced from C:\nxp\SDK_2.2_MCIM6ULL\boards\evkmcimx6ull\demo_apps\hello_world\iar\ddr_debug\obj\board.o]


   8 072 bytes of readonly  code memory
   1 204 bytes of readwrite code memory
   1 944 bytes of readonly  data memory
  19 988 bytes of readwrite data memory
Errors: 2
Warnings: none
Link time:   0.09 (CPU)   0.09 (elapsed)
Error while running Linker
Total number of errors: 2
Total number of warnings: 0

 

Thanks,

SUHAS M V

Outcomes