__fp16 (Halfprecision floating point) problem

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by bap on Tue May 15 09:28:06 MST 2012
I have the LPC1114 LPCXpresso board and LPCXpresso v4.2.2 [Build 275]. In my code I use the half precision floating point (__fp16). I have set the compiler flag -mfp16-format=ieee, but when linking I get the error: "undefined reference to `__aeabi_f2h'." I probably only need to set a linker flag, but I don't know which one and I haven't found the solution yet. So if anyone could point me in the right direction it would be much appreciated.