Link Errors L1822

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

Link Errors L1822

630 次查看
ayoansalim
Contributor I

Does anyone know why exactly I am getting these errors? 

link error.JPG

I have already changed the standard settings -> Compiler for HC12 -> enabled floating points.

Would really appreciate if anyone could help me with that.

float.JPG

0 项奖励
2 回复数

537 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Besides, please refer discussion of this thread:

Enabling floating point 


Have a great day,
Jun Zhang

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励

537 次查看
kef2
Senior Contributor IV

Creating new project you told project wizard you do not want floating point.

Linker complains because library included in your project doesn't contain _FADD, cos and other floating point routines. See \CWS12v5.1\lib\hc12c\readme.txt on your drive for, then delete reference to bad *.lib and re-add the right one.

Looks like you have ansisi.lib included while you want ansisf.lib.

0 项奖励