25 lines
565 B
C
25 lines
565 B
C
#if defined(CONFIG_HAS_DTS_I2C)
|
|
|
|
#ifndef CONFIG_ADXL372_DEV_NAME
|
|
#define CONFIG_ADXL372_DEV_NAME ""
|
|
#endif
|
|
#ifndef CONFIG_ADXL372_I2C_ADDR
|
|
#define CONFIG_ADXL372_I2C_ADDR 0
|
|
#define CONFIG_ADXL372_I2C_MASTER_DEV_NAME ""
|
|
#endif
|
|
|
|
#endif /* CONFIG_HAS_DTS_I2C */
|
|
|
|
#if defined(CONFIG_HAS_DTS_SPI)
|
|
|
|
#ifndef CONFIG_ADXL372_DEV_NAME
|
|
#define CONFIG_ADXL372_DEV_NAME ""
|
|
#endif
|
|
#ifndef CONFIG_ADXL372_SPI_DEV_NAME
|
|
#define CONFIG_ADXL372_SPI_DEV_NAME ""
|
|
#define CONFIG_ADXL372_SPI_DEV_SLAVE 0
|
|
#define CONFIG_ADXL372_SPI_BUS_FREQ 8000000
|
|
#endif
|
|
|
|
#endif /* CONFIG_HAS_DTS_SPI */
|