Arduino Due, libarm_cortexM3l_math.a

I want to use libarm_cortexM3l_math.a with Arduino Due. Project includes:

#include <Arduino.h>
#define ARM_MATH_CM3
#include <arm_math.h>


Comiling fails with message:

.pioenvs\due\src\main.cpp.o: In function setup': main.cpp:(.text.setup+0x18): undefined reference toarm_max_f32’
collect2.exe: error: ld returned 1 exit status
*** [.pioenvs\due\firmware.elf] Error 1

libarm_cortexM3l_math.a is part of sam/CMSIS

What configuration i’m missing here?

Can you try Project using arm_math.h on nRF52 results in Linker Error - #6 by maxgerhardt but with your libarm_cortexM3l_math.a file (here)

That’s exactly how it works. Thank you very much!