revert moving the mcp23017 driver into its own folder
This commit is contained in:
parent
1bba0904c9
commit
bda838e427
6 changed files with 6 additions and 12 deletions
|
@ -1,5 +1,8 @@
|
|||
# Copyright (c) 2022 The ZMK Contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
add_subdirectory_ifdef(CONFIG_GPIO_MCP23017 mcp23017)
|
||||
add_subdirectory_ifdef(CONFIG_GPIO_MAX7318 max7318)
|
||||
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)
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
rsource "mcp23017/Kconfig"
|
||||
rsource "max7318/Kconfig"
|
||||
rsource "Kconfig.mcp23017"
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
# 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)
|
Loading…
Add table
Reference in a new issue