flags to use to enable FPU on STM32H5 MCUs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-26 2:51 AM
In this document it's stated that STM32H5 devices implements the FPv5 floating-point extensions.
From there, how do I know the proper flags to pass to gcc to enable the FPU?
-mfpu=fpv5-sp-d16
-mfpu=fpv5-d16
other ?
Solved! Go to Solution.
- Labels:
-
STM32H5 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-26 4:05 AM - edited ‎2023-12-26 4:08 AM
You are using...CubeIDE ? ( no info given)
in menu -> project -> properties :
-> -mfpu=fpv5-sp-d16 -mfloat-abi=hard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-26 4:05 AM - edited ‎2023-12-26 4:08 AM
You are using...CubeIDE ? ( no info given)
in menu -> project -> properties :
-> -mfpu=fpv5-sp-d16 -mfloat-abi=hard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-26 6:41 AM
Perfect thank you. I'm having trouble installing CubeIDE on my PC, but thought I would easily find the information somewhere. I Accept the Solution but I would like to know if this is documented somewhere.
