Possible Bug Found/Feature Request

Sysprogs forums Forums VisualGDB Possible Bug Found/Feature Request

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13277
    codex653
    Participant

    Hi,

    I was working on a library for an Unscented Kalman Filter on the SMT32F767 and ended up doing a lot of performance characterization under single and double precision math. One of the problems I ran into was how VisualGDB represented the FPU support for my device. The STM32F767 has a double precision FPU (one of the prime reasons why I chose that device), but I discovered after many weeks that even though I selected the hardware floating point support option in the GDB project settings, it would default to only compiling for single precision math. As you can imagine, my code took a huge performance hit. It was only after messing around with the Visual Studio ARM project properties settings did I find that I had to explicitly tell the compiler which ARM floating point unit type I was using, on top of any GDB settings. In my case that is fpv5-d16. I’ve attached an image as a reference.

    Is there some option I missed in the VisualGDB project settings that would allow me to choose between single/double precision math when supported by the device? If not, is there a way for me to make a formal feature request to have something like that added in?

     

    Attachments:
    You must be logged in to view attached files.
    #13292
    support
    Keymaster

    Hi,

    Sorry about that. This is a known issue that has been partially fixed in the STM32 BSP 4.5R3. Please update your BSP to that version (and also use the GNU ARM Toolchain) – it should get the correct VFP version to work.

    We will address this issue in the next release of our toolchain as well.

    #13298
    codex653
    Participant

    No worries! Thanks for the help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.