CONFIG_GPIO_EMUL
Emulated GPIO driver
Type: bool
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.
Direct dependencies
(Includes any dependencies from ifs and menus.)
Defaults
No defaults. Implicitly defaults to n
.
Kconfig definition
At <Zephyr>/drivers/gpio/Kconfig.emul:6
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:42
→ <Zephyr>/drivers/Kconfig:36
→ <Zephyr>/drivers/gpio/Kconfig:92
Menu path: (Top) → Device Drivers → GPIO Drivers
config GPIO_EMUL
bool "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.)