This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_FLOAT_HARD

Enable hard-float calling convention

Type: bool

Help

This option enables the hard-float calling convention.

Direct dependencies

FPU && RISCV

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At arch/riscv/Kconfig:16

Included via Kconfig:8Kconfig.zephyr:37arch/Kconfig:12

Menu path: (Top) → RISCV Options

config FLOAT_HARD
    bool "Enable hard-float calling convention"
    default y
    depends on FPU && RISCV
    help
      This option enables the hard-float calling convention.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)