647110e5e5
* Upstream Zephyr has in progress driver, so doing this locally here, until we can move over to that driver.
8 lines
332 B
CMake
8 lines
332 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_MCP23017 gpio_mcp23017.c)
|
|
zephyr_library_sources_ifndef(CONFIG_GPIO_MCP23017 ${ZEPHYR_BASE}/misc/empty_file.c)
|