eiQ time series studio Classsification ARM compiler error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

eiQ time series studio Classsification ARM compiler error

583 次查看
jvmreis
Contributor I

Hello,

I'm working with eIQ Time Series Studio to generate a classification model for the EVKB-IMXRT1050 board. I selected the ARM Compiler and enabled the float abi option (set to hard) in the generation settings (see attached image).

However, after importing the generated library into my MCUXpresso project, I'm getting the following build error:

undefined reference to `__hardfp_sqrtf`

This happens during linking, and it seems like the compiler is looking for a hard-float version of sqrtf() but can't find the corresponding implementation.

I’ve already ensured that my project is set to:

  • CPU: Cortex-M7

  • FPU Type: fpv5-sp-d16

  • Floating-point ABI: hard

Despite this, the error persists.

Could anyone clarify:

  1. Is this a known issue when using the ARM Compiler mode in eIQ Time Series Studio?

  2. Do I need to link against any specific math library when using hard-float?

  3. Is there a workaround or configuration I missed?

Thanks in advance for your help!

jvmreis_2-1750339332285.png

 

 

 

0 项奖励
回复
1 回复

486 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @jvmreis ,

Thanks for your interest in NXP MIMXRT series!

ARM toolchain is using for MDK project, please have a try with GCC toolchain.  I tested it in MCUXpressoIDE and it worked well.

Gavin_Jia_0-1752053413043.png

 

Best regards,
Gavin

0 项奖励
回复