Skip to content

pico_float_none is not supported on Risc-V #2673

@will-v-pi

Description

@will-v-pi

When calling pico_set_float_implementation(${TARGET} none), such as done by pico_minimize_runtime, it adds -msoft-float which is an Arm-only compile option

I think the fix is to wrap

target_compile_options(pico_float_none INTERFACE -msoft-float)
in if (NOT PICO_RISCV) so it doesn't get added for Risc-V binaries, but I'm not sure if there's a different option that should be passed instead?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions