mbed: newlib-nano with floating-point support

Sysprogs forums Forums VisualGDB mbed: newlib-nano with floating-point support

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25683
    sean
    Participant

    I started a new project using the Mbed Project Wizard, but it did not give the option to compile in the newlib-nano with floating-point support – i need this for printf/scanf but i don’t even see it in the visualGDB project properties. How do i compile this in?

    #25694
    support
    Keymaster

    Hi,

    Sorry, the Advanced Mbed project subsystem relies on mbed itself to orchestrate the build and hence VisualGDB only allows changing the settings supported by the mbed-cli itself.

    Based on a quick research, it looks like supporting floating point printf/scanf with mbed-cli requires a minor modification to the build scripts (see this Github issue). Please try applying it to the mbed copy used by your project and mbed-cli launched by VisualGDB should automatically pick up the updated build rules next time you build the project.

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