when I use IAR to compile the code which download from your Official website,IAR project was built by myself. after compile it notice wrong like below
Error[e46]: Undefined external "_IQ15mpy" referred in DualRaySmokeAFE_HAL_AFE_FR235x_SACL3 ( E:\working\project\DualRayFR2355\si\Debug\Obj\DualRaySmokeAFE_HAL_AFE_FR235x_SACL3.r43 )Error[e46]: Undefined external "_IQ15div" referred in DualRaySmokeAFE_HAL_AFE_FR235x_SACL3 ( E:\working\project\DualRayFR2355\si\Debug\Obj\DualRaySmokeAFE_HAL_AFE_FR235x_SACL3.r43 )Error while running Linker
when I mask the two lines code,the compile result is OK
tempC = _IQ15mpy((_IQ15(ADCData) – calib_30C) , _IQ15(105-30));
tempC = _IQ15div( tempC , (calib_105C – calib_30C) );
I saw the library code is “IQmathLib.a”, I doubt it only use by CCS Compiler,how to use this library to IAR built success?
Susan Yang:
可以在IAR使用的
您可以参考下
software-dl.ti.com/…/MSP430-IQmathLib-UsersGuide.pdf
The following tool chains are supported:
Texas Instruments Code Composer Studio
IAR Embedded Workbench for MSP430 and MSP432请问您现在使用的是哪个例程?是否可以给出路径?我可以使用IAR来测试一下
ZJ S:
回复 Susan Yang:
例程地址www.ti.com/…/slaa930
Susan Yang:
回复 ZJ S:
是的,目前的例程是CCS下的,并未给出IAR下面的工程
请您将您的工程上传一下,我来测试一下,谢谢
ZJ S:
回复 Susan Yang:
对了,是加密的,你自己按最早的那版官网下载的搭建一个工程试试就好了
Susan Yang:
回复 ZJ S:
好的 我来新建试一下后回复
Susan Yang:
回复 ZJ S:
很高兴能帮到您!谢谢您对TI产品的支持!