zephyr/drivers/i2c/CMakeLists.txt
Gil Pitney e5cef70abd drivers: i2c: Add support for cc32xx I2C bus
This was validated on the cc3220sf_launchxl board
using the Zephyr thermometer sample program
adapted to call the i2c driver directly, and fetching
samples from the on-board TMP006 temperature sensor.

Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2018-01-09 08:39:59 -06:00

25 lines
923 B
CMake

zephyr_sources_ifdef(CONFIG_I2C_ATMEL_SAM3 i2c_atmel_sam3.c)
zephyr_sources_ifdef(CONFIG_I2C_BITBANG i2c_bitbang.c)
zephyr_sources_ifdef(CONFIG_I2C_CC32XX i2c_cc32xx.c)
zephyr_sources_ifdef(CONFIG_I2C_DW i2c_dw.c)
zephyr_sources_ifdef(CONFIG_I2C_ESP32 i2c_esp32.c)
zephyr_sources_ifdef(CONFIG_I2C_GPIO i2c_gpio.c)
zephyr_sources_ifdef(CONFIG_I2C_MCUX i2c_mcux.c)
zephyr_sources_ifdef(CONFIG_I2C_NRF5 i2c_nrf5.c)
zephyr_sources_ifdef(CONFIG_I2C_QMSI i2c_qmsi.c)
zephyr_sources_ifdef(CONFIG_I2C_QMSI_SS i2c_qmsi_ss.c)
zephyr_sources_ifdef(CONFIG_I2C_SAM_TWI i2c_sam_twi.c)
zephyr_sources_ifdef(CONFIG_I2C_SAM_TWIHS i2c_sam_twihs.c)
zephyr_sources_ifdef(CONFIG_I2C_SBCON i2c_sbcon.c)
zephyr_sources_ifdef(CONFIG_I2C_STM32_V1
i2c_ll_stm32_v1.c
i2c_ll_stm32.c
)
zephyr_sources_ifdef(CONFIG_I2C_STM32_V2
i2c_ll_stm32_v2.c
i2c_ll_stm32.c
)
zephyr_sources_ifdef(CONFIG_USERSPACE i2c_handlers.c)