Loaded the zip files for the M360 and tried to compile the examples and getting 6 of these errors.
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned C:\Analog Devices\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163
short const volatile *)" (declared at line 187 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.60.1\arm\
With the CMSIS box checked. Try on both IAR 7.40 and 7.60 workbench version.
Can you share the full path of where your code is? This isn't related to your question I just want to make sure you're using the latest version of the ADuCM360 software.
If you don't have…
If you don't have it, this is it anyway ftp://ftp.analog.com/pub/MicroConverter/ADuCMxxxV1.3/
The issue you are experiencing is because we included core_cm3.h at a time before it was included with IAR.
By selecting the use CMSIS box IAR is including it's own version of core_cm3.h which is newer and incompatible with the older version.
The solution is to delete or rename the core_cm3.h in the common folder.
I downloaded this from the ADUCM360 Tools page
C:\Analog Devices\ADuCM360361 code examples and function libraries
I tried the exe you pointed me to.
It still gives the same errors. Also when I used the
Index of ftp://ftp.analog.com/pub/MicroConverter/ADuCMxxxV1.3/
exe file it installed the projects and doc dirs but said it could not find the IAR or Segger installation. I have 2 working versions of IAR and several Segger versions directories.
Deleting the core_cm3.h from the tools common dir solved the problem.