chipKIT® Development Platform

Inspired by Arduino™


Created Sun, 28 Sep 2014 18:41:57 +0000 by hustav


Sun, 28 Sep 2014 18:41:57 +0000

Hi Folks,

What is necessary to link CMSIS libraries in MPIDE?

I would like to run FFT code from the CMSIS DSP lib. I would like to make some performance tests for FFT in my MAX32 board. My code is compiling ok, but the linker provides the following error messages:

/Applications/ skipping incompatible /Applications/ when searching for -larm_cortexM4l_math /Applications/ cannot find -larm_cortexM4l_math collect2: ld returned 1 exit status

My test code:

#define ARM_MATH_CM4 #include <arm_math.h>

arm_cfft_radix4_instance_q15 C; arm_rfft_instance_q15 S;

q15_t out[640]; q15_t outsq[1280];

void setup() { }

void loop() { arm_rfft_q15(&S,out,outsq); arm_cmplx_mag_squared_q15(outsq,out,256); }

Thanks, Gustavo.


Sun, 28 Sep 2014 19:43:44 +0000

It would appear you are trying to use an ARM library on a MIPS processor. That's not going to work... ever...