We are trying to use hard FPU in PSoC 6, but in core_cm4.h FPU requires setting __SOFTFP__ into 0u:
however, it seems PSoC creator is using soft FPU by default:
In this thread, GeonaM_26 has explained how to make new Makefile to change softfp into hardfp:https://community.cypress.com/thread/32197?q=Using%20hard%20FPU
but, this requires compiling the whole project outside of PSoC creator. Is there any way to change this parameter without manipulating a Makefile?
Solved! Go to Solution.
You can use the ModusToolbox tool instead of PSoC Creator. That configuration can easily be changed in a Eclipse based environment.
However, the tool does not support UDBs yet, in case you are using it.
You can use the ModusToolbox tool instead of PSoC Creator. That configuration can easily be changed in a Eclipse based environment.
However, the tool does not support UDBs yet, in case you are using it.
It seems we need to eventually switch to Modus ToolBox ; however, we actually do use UDB in our project. Do I have to use arm gnu toolchain to compile the make file? I have tried it and it is giving me errors at time of make:
Export/prebuildCortexM0p.sh
make (e=-1): Error -1
make: *** [prebuild_CortexM0p] Error -1
Ensure that you follow the steps in enabling hardfp psoc 6
Could you share the PSoC Creator project to recreate the issue at our end?