Has anyone successfully gotten the DSP libraries for CMSIS 2.1 to compile under codewarrior? I am trying to use the SIMD integer instructions.
See Attached project. I added the Header and sources files as well as defined "__GNUC__" and defined the symbols "ARM_MATH_CM4". I get an error called "illegal number" that appears to be emitted by the assembler.
It seems that the problem lies in the inline assembly code used for the SIMD instructions. For example in core_cm4.simd.h:
__ASM volatile ("sadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) );
it doesn't appear that CW likes this style of inline arguments (a string with arguments)
Can someone from the compiler team chime in?