AnsweredAssumed Answered

Building Libs w/ MQX 3.8 and IAR 6.5

Question asked by John LaGreca on Dec 13, 2012
Latest reply on Aug 25, 2014 by micro eval

I am attempting to build the TWRK60N512 libraries and I am receiving compiler errors on some macros in the assembly files using MQX 3.8 and IAR 6.5. The libraries build fine with IAR 6.4.

 

In the BSP:

iodebug_asm.s

line 80:

ASM_PUBLIC_BEGIN(ASM_PREFIX(_io_debug_semi_write_char))

Error[40]: Bad instruction

line 81:

ASM_PUBLIC_FUNC(ASM_PREFIX(_io_debug_semi_write_char))

Error[42]: Duplicate label:'CFI'

Error[114]: Directive is not allowed

Error[40]: Bad instruction

 

These errors repeat for other macros in the file. In the PSP file cortex_boot.s I have similar errors in the macros.

 

Any ideas are appreciated.

Outcomes