LPC4088QSB, emWin and mbed

15 Mar 2014

I want to get the emWin lib running on my LPC4088QSB and downloaded the 5.22 version with hardware floating point. There was an instruction on how to use in the mbed environment and that worked. Then I exported the project to LPCXpresso and got linker errors like 'my program uses VFP instructions, libemWin_m4fp does not'. Floating point usage is set to 'abi-hard', that is also the setting for the mbed compiler, but with this setting it is not working. It works only when I build the mbed lib with 'abi-soft' and compile&link my project also with 'abi-soft'. Is the mbed compiler doing some magic? Can the online compiler check the library and change the fp calling conventions?