Link Errors L1822

cancel
Showing results for 
Search instead for 
Did you mean: 

Link Errors L1822

299 Views
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 Kudos
2 Replies

206 Views
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 Kudos

206 Views
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 Kudos