2020-05-27 10:48:15 +10:00
|
|
|
if(CONFIG_ZMK_KSCAN_GPIO_DRIVER)
|
|
|
|
zephyr_include_directories(.)
|
|
|
|
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(
|
2020-06-25 00:06:35 +10:00
|
|
|
kscan_gpio_matrix.c
|
|
|
|
kscan_gpio_direct.c
|
2020-10-22 14:15:55 +11:00
|
|
|
kscan_gpio_demux.c
|
2020-05-27 10:48:15 +10:00
|
|
|
)
|
2020-07-18 12:43:19 +10:00
|
|
|
|
2020-07-21 10:54:58 +10:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_EC11 ec11.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_EC11_TRIGGER ec11_trigger.c)
|
2020-10-27 08:01:57 +11:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ZMK_BATTERY_VOLTAGE_DIVIDER battery_voltage_divider.c)
|
2020-05-27 10:48:15 +10:00
|
|
|
endif()
|