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_BQ274XX_LAZY_CONFIGURE

Configure on first usage instead of init

Type: bool

Help

Configuring the sensor can take a long time, which
we can delay till the first sample request and keep
the boot time as short as possible.

Direct dependencies

BQ274XX && SENSOR

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/sensor/bq274xx/Kconfig:13

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:62drivers/sensor/Kconfig:75

Menu path: (Top) → Device Drivers → Sensor Drivers → BQ274xx Fuel Gauge

config BQ274XX_LAZY_CONFIGURE
    bool "Configure on first usage instead of init"
    depends on BQ274XX && SENSOR
    help
      Configuring the sensor can take a long time, which
      we can delay till the first sample request and keep
      the boot time as short as possible.

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