lpcware

VFP compiler options

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by bunrockter on Fri Oct 12 19:44:56 MST 2012
I am using the LPC4350 & I have been using the HARD option with the crossworks compiler without any issues. However, after adding in the emWIN libraries provided by NXP, I get a linking error because they didn't build the library using the HARD option with the compiler, and so it complains that my objects use the VFP Register Definitions the the emWIN libs don't.

1)Is there a penalty for using or not using the HARD compiler FPU option (As I understand it, the SoftFP uses the FPU, but uses integer registers to transfer the data to the FPU?)

2)Should I not be using the HARD option

3)Is there a build of the emWin libs that use the HARD option when compiled?


Thanks,

Bun

Outcomes