Hello community!
I use the dongle PCA10059 (nrf52840) for my hardware. I already enable -DARM_MATH_CM4 and link library libarm_cortexM4lf_math.a with CMake. I can include arm_math.h in my project and use arm_power_f32 for example. But I also need to use sqrt function so I try to call arm_sqrt_f32 but I have an error return. "arm_math.h:5633: undefined reference to `sqrtf'"
I understand that compiler doesn't find math.h library. I'm not an expert of CMake so how I can enable math.h in the SDK Mesh? My project is in the example folder. I already try to add
-lm but same issue. Can you guide me ?
Thank you,