2022-09-07 20:30:23 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-05-25 06:27:04 +08:00
|
|
|
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/smbus.h)
|
|
|
|
|
2022-09-07 20:30:23 +08:00
|
|
|
zephyr_library()
|
|
|
|
|
2023-12-07 15:58:42 +08:00
|
|
|
zephyr_library_sources(smbus_utils.c)
|
|
|
|
|
2022-09-07 21:36:24 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SMBUS_SHELL smbus_shell.c)
|
2022-09-08 21:51:10 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SMBUS_INTEL_PCH intel_pch_smbus.c)
|
2023-12-07 15:58:42 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SMBUS_STM32 smbus_stm32.c)
|
2022-09-07 20:30:23 +08:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE smbus_handlers.c)
|