:orphan: .. title:: CONFIG_GPIO_EMUL .. kconfig:: CONFIG_GPIO_EMUL CONFIG_GPIO_EMUL ################ *[EXPERIMENTAL] Emulated GPIO driver* Type: ``bool`` Help ==== .. code-block:: none Enable the emulated GPIO driver. Mainly used for testing, this driver allows for an arbitrary number of emulated GPIO controllers to be instantiated. Furthermore, the emulated pins can be "wired" using the regular GPIO callback API and the additional API available in drivers/gpio/gpio_emul.h . Configuration for each GPIO instance is accomplished using device tree and an example of such a configuration is in tests/drivers/gpio/gpio_basic_api/boards/native_posix_64.overlay If unsure, say N. Direct dependencies =================== \ :kconfig:`GPIO ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/gpio/Kconfig.emul:6`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:36`` → ``/gpio/Kconfig:84`` Menu path: (Top) → Device Drivers → GPIO Drivers .. code-block:: kconfig config GPIO_EMUL bool "[EXPERIMENTAL] Emulated GPIO driver" depends on GPIO help Enable the emulated GPIO driver. Mainly used for testing, this driver allows for an arbitrary number of emulated GPIO controllers to be instantiated. Furthermore, the emulated pins can be "wired" using the regular GPIO callback API and the additional API available in drivers/gpio/gpio_emul.h . Configuration for each GPIO instance is accomplished using device tree and an example of such a configuration is in tests/drivers/gpio/gpio_basic_api/boards/native_posix_64.overlay If unsure, say N. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*