cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

New Contributor II

We are trying to use hard FPU in PSoC 6, but in core_cm4.h FPU requires setting __SOFTFP__ into 0u:
pastedImage_1.png

however, it seems PSoC creator is using soft FPU by default:

pastedImage_0.png

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?

0 Likes
Reply
1 Solution
Employee

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.

View solution in original post

0 Likes
Reply
3 Replies
Employee

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.

View solution in original post

0 Likes
Reply
New Contributor II

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

0 Likes
Reply
Moderator
Moderator

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?

0 Likes
Reply
Top labels