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
找到问题了,
在... \devices\CMSIS\Include\core_ca7.h文件里加 #include "intrinsics.h"头文件就可以了
Hello Suhas M V
我也遇到同样的问题,请问您解决了吗?是IAR版本的问题?
Add #include <instrinsics.h> to the files that have these errors.
It does't work with IAR 8.*,The iar 7.80.4 working good
Are you selecting the MCU in IAR is not correct?