Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
How can I enable hardware floating point (hardfp) compilation for Arm® Cortex®-M4 processor in PSoC Creator™ 4.2?
PSoC Creator 4.2 adds command line options, and because of the order in which it adds the options, you cannot add the
flag as a linker option in PSoC Creator. Instead, you can:
Export the project to a Makefile.
Modify the Makefile’s CFLAGS to use the hard floating point operations.
Modify library paths to point to the hard floating point libraries.
The floating-point libraries are shipped with PSoC Creator 4.2 and higher. These library variants have names that end with _cm4f.a (for Crypto and BLE) or _M4f.a (for CapSense®). You can copy the libraries from the installation directories to your build environment and rename the libraries, or you can update your Makefile to use the ‘f’ variants from within the Cypress installation directories.
The default installation of PSoC Creator 4.2 contains relevant libraries in the following paths: