2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library()
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_BITBANG i2c_bitbang.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_CC32XX i2c_cc32xx.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_DW i2c_dw.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_ESP32 i2c_esp32.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_GPIO i2c_gpio.c)
|
2018-07-04 00:20:19 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_IMX i2c_imx.c)
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_MCUX i2c_mcux.c)
|
2019-01-17 05:11:45 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_MCUX_LPI2C i2c_mcux_lpi2c.c)
|
2018-05-23 15:26:53 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NRFX_TWI i2c_nrfx_twi.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_NRFX_TWIM i2c_nrfx_twim.c)
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_QMSI i2c_qmsi.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_QMSI_SS i2c_qmsi_ss.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_SAM_TWI i2c_sam_twi.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_SAM_TWIHS i2c_sam_twihs.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_SBCON i2c_sbcon.c)
|
2018-11-28 07:02:13 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_SIFIVE i2c_sifive.c)
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_NIOS2 i2c_nios2.c)
|
2018-10-31 02:32:47 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_GECKO i2c_gecko.c)
|
2019-04-02 03:09:44 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_RV32M1_LPI2C i2c_rv32m1_lpi2c.c)
|
2019-03-07 09:03:48 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_SAM0 i2c_sam0.c)
|
2018-03-28 18:06:12 +08:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_STM32_V1
|
2017-10-27 21:43:34 +08:00
|
|
|
i2c_ll_stm32_v1.c
|
|
|
|
i2c_ll_stm32.c
|
|
|
|
)
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_I2C_STM32_V2
|
2017-10-27 21:43:34 +08:00
|
|
|
i2c_ll_stm32_v2.c
|
|
|
|
i2c_ll_stm32.c
|
|
|
|
)
|
|
|
|
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE i2c_handlers.c)
|
2018-02-23 19:02:02 +08:00
|
|
|
|
|
|
|
add_subdirectory_ifdef(CONFIG_I2C_SLAVE slave)
|