1 Reply Latest reply on Jan 21, 2018 10:02 PM by geon

    enabling hardfp psoc 6


      How do you change the default compiler parameters from


        -mfloat-abi=softfp -mfpu=fpv4-sp-d16


      to using the hard fpu?

        • 1. Re: enabling hardfp psoc 6

          Hello Shane,


          Since PSoC Creator passes hardcoded softfp as a compiler parameter and appends the custom flags to the end of the command line; we are unable to compile hardfp using PSoC Creator 4.2 Beta 2. As a workaround, enable export to Makefile in Build Settings > Target IDEs and adjust the ABI parameters in platform and toolchain specific configuration file (platform_debug.mk / platform_release.mk). Use this makefile and updated platform_debug.mk / platform_release.mk to generate hardfp elf. We are planning to publish a Knowledge Base Article. Meanwhile, please find attached document for reference.


          Best Regards,
          Geona Mary