zephyr/drivers/gpio/Kconfig.emul_sdl
Pieter De Gendt ff8a90b1de drivers: gpio: Add SDL emulated GPIO support
This commit adds a driver to simulate GPIO state and interrupts
using the keyboard when using SDL.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2022-10-03 10:12:03 +02:00

14 lines
324 B
Plaintext

# GPIO emulation using SDL keyboard events
#
# Copyright (c) 2022, Basalte bv
# SPDX-License-Identifier: Apache-2.0
config GPIO_EMUL_SDL
bool "SDL GPIO emulation"
default y
depends on DT_HAS_ZEPHYR_GPIO_EMUL_SDL_ENABLED
depends on GPIO_EMUL
depends on HAS_SDL
help
Enable GPIO emulation using SDL keyboard events.