This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to build Energy Code v.2 Library with IAR 6.10?

Has anyone managed to build the Energy Code library using IAR 6.10?

When i start rebuilding the 47197 toolkit there are 2 errors.

One for the greater version of the IAR compiler,

Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Jorg\Desktop\slac488\Code Library\emeter\emeter-toolkit\include\isr_compat.h 85

which i suppose is resolved through modifying isrcompat.h?

And one 

Error[25]: #error '"Must define USE_LARGE_CODE_MODEL (to either 0 or 1)."'. C:\Program Files\IAR Systems\Embedded Workbench 7.0\430\INC\macros.m43 23

How the last one can be resolved?

**Attention** This is a public forum