2 Replies Latest reply on Apr 29, 2019 3:45 AM by shli_2554466

    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
          GeonaP_26

          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

          • 2. Re: enabling hardfp psoc 6
            shli_2554466

            Geona Mary:

                

               When make using this method,link error. this link lib will be old, why.