* Use SPI for sending serial data. * Supports 1-4 shift registers chained together by setting `ngios` property appropriately.
8 lines
304 B
CMake
8 lines
304 B
CMake
# Copyright (c) 2020 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
zephyr_library_named(zmk__drivers__gpio)
|
|
zephyr_library_include_directories(${CMAKE_SOURCE_DIR}/include)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_GPIO_595 gpio_595.c)
|
|
zephyr_library_sources_ifdef(CONFIG_GPIO_MCP23017 gpio_mcp23017.c)
|