The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_I2C_SIFIVE

Sifive I2C driver

Type: bool

Help

Enable I2C support on SiFive Freedom

Direct dependencies

(I2C && BOARD_HIFIVE1_REVB) || (SOC_SERIES_RISCV_SIFIVE_FREEDOM && I2C)

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definitions

At boards/riscv/hifive1_revb/Kconfig.defconfig:29

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config I2C_SIFIVE
    bool
    default y
    depends on I2C && BOARD_HIFIVE1_REVB

At drivers/i2c/Kconfig.sifive:4

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:42drivers/i2c/Kconfig:38

Menu path: (Top) → Device Drivers → I2C Drivers

config I2C_SIFIVE
    bool "Sifive I2C driver"
    depends on SOC_SERIES_RISCV_SIFIVE_FREEDOM && I2C
    help
      Enable I2C support on SiFive Freedom

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