- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do you change the default compiler parameters from
-mfloat-abi=softfp -mfpu=fpv4-sp-d16
to using the hard fpu?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Geona Mary:
When make using this method,link error. this link lib will be old, why.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
How do we generate the makefile with the build error ? Is it possible to bypass this ?
Without this makefile we can't proceed to the next step