CMSIS-DSP compilation issue on RP2040

Hi!

I am trying to use the pre-installed CMSIS-DSP library in the Arduino Web Editor (Arduino Cloud) with RP2040 (Raspberry Pi Pico), but, unfortunately, I am encountering some compilation issues. Here is the code I am testing:

#include "arm_math.h"

void setup() {
    
}

void loop() {
  float frame_time[2048];
  float frame_freq[2048];

  arm_rfft_fast_instance_f32 cmsis_rfft;

  arm_rfft_fast_init_f32(&cmsis_rfft, 2048);
  
  // Compute FFT
  arm_rfft_fast_f32(&cmsis_rfft, &frame_time[0], &frame_freq[0], 0);
}

The problem I got is reported in the screenshot

Should I create the CMSIS-DSP library for Arduino IDE manually?

Many thanks in advance for your help!

Gian Marco

Hi @gimmy987. It is quite perplexing. I thought maybe the problem was an incompatibility introduced in the "Arduino Mbed OS RP2040 Boards" platform since the time of the latest release of the library. So I tried using Arduino IDE (because we don't have control over the platform version on Arduino Cloud) to compile it locally with the version 2.1.0 of the "Arduino Mbed OS RP2040 Boards" platform that was current at the time of the library, and even the previous version 2.0.0 that was current at the time of the library development. But the same error occurred. So I can only conclude that the claim of the library's compatibility with the RP2040 was never tested by the developers.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.