* Move away from DT_LABEL. * Move to DEVICE_DT_GET for non-behavior device access. * Move various drivers to `gpio_spec_dt` and `DT` related macros. * Remove mcp23017 while at it, since better upstream driver is available.
8 lines
302 B
CMake
8 lines
302 B
CMake
# Copyright (c) 2022 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_MAX7318 gpio_max7318.c)
|