STM32F103 Soft-FP

Sysprogs forums Forums VisualGDB STM32F103 Soft-FP

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36269
    IanJ
    Participant

    Hi,

    I have a STM32F103 Blue Pill project using VS2022/VisualGDB and can’t get command atof t work, it always return empty.
    I think this comes down to the software FPU is not enabled.

    Can anyone tell me where/how to enable this in VisualGDB properties.

    Googling the issue it’s suggested that CFLAGS settings may need set, but this must have been an old version of VisualGDB as stuff has moved and I can’t find CFLAGS.

    PS. I have an Arduino IDE based STM32F103 Blue Pill project from years ago where float etc just worked fine, so I guess the software FP was enabled by default.

    Any help appreciated.

    Ian.

    #36270
    support
    Keymaster

    Hi,

    The exact location of the setting depends on the project type. It is normally either in VisualGDB Project Properties, or VS-level properties that can be edited by right-clicking on the project in Solution Explorer. You can find more information about various project types here: https://visualgdb.com/documentation/projects/overview/

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