| #if defined(CONFIG_HAS_DTS_I2C) |
| |
| #ifndef DT_ADT7420_NAME |
| #define DT_ADT7420_NAME "" |
| #define DT_ADT7420_I2C_ADDR 0 |
| #define DT_ADT7420_I2C_MASTER_DEV_NAME "" |
| #define DT_ADT7420_GPIO_DEV_NAME "" |
| #define DT_ADT7420_GPIO_PIN_NUM 0 |
| #endif |
| |
| #ifndef DT_ADXL362_DEV_NAME |
| #define DT_ADXL362_DEV_NAME "" |
| #define DT_ADXL362_SPI_DEV_NAME "" |
| #define DT_ADXL362_SPI_DEV_SLAVE 0 |
| #define DT_ADXL362_SPI_MAX_FREQUENCY 0 |
| #endif |
| |
| #ifndef DT_ADXL372_DEV_NAME |
| #define DT_ADXL372_DEV_NAME "" |
| #define DT_ADXL372_I2C_ADDR 0 |
| #define DT_ADXL372_I2C_MASTER_DEV_NAME "" |
| #define DT_ADXL372_GPIO_DEV_NAME "" |
| #define DT_ADXL372_GPIO_PIN_NUM 0 |
| #endif |
| |
| #ifndef DT_APDS9960_DRV_NAME |
| #define DT_APDS9960_DRV_NAME "" |
| #define DT_APDS9960_I2C_DEV_NAME "" |
| #define DT_APDS9960_GPIO_DEV_NAME "" |
| #define DT_APDS9960_GPIO_PIN_NUM 0 |
| #endif |
| |
| #ifndef DT_BOSCH_BME280_0_LABEL |
| #define DT_BOSCH_BME280_0_LABEL "" |
| #define DT_BOSCH_BME280_0_BASE_ADDRESS 0 |
| #define DT_BOSCH_BME280_0_BUS_NAME "" |
| #define DT_BOSCH_BME280_BUS_I2C 1 |
| #endif |
| |
| #ifndef DT_CCS811_NAME |
| #define DT_CCS811_NAME "" |
| #define DT_CCS811_I2C_MASTER_DEV_NAME "" |
| #define DT_CCS811_I2C_ADDR 0 |
| #endif |
| |
| #ifndef DT_NXP_FXAS21002_0_LABEL |
| #define DT_NXP_FXAS21002_0_LABEL "" |
| #define DT_NXP_FXAS21002_0_BASE_ADDRESS 0 |
| #define DT_NXP_FXAS21002_0_BUS_NAME "" |
| #define DT_NXP_FXAS21002_0_INT2_GPIOS_CONTROLLER "" |
| #define DT_NXP_FXAS21002_0_INT2_GPIOS_PIN 0 |
| #endif |
| |
| #ifndef DT_FXOS8700_NAME |
| #define DT_FXOS8700_NAME "" |
| #define DT_FXOS8700_I2C_NAME "" |
| #define DT_FXOS8700_I2C_ADDRESS 0 |
| #define DT_FXOS8700_GPIO_NAME "" |
| #define DT_FXOS8700_GPIO_PIN 0 |
| #endif |
| |
| #ifndef DT_ST_HTS221_0_LABEL |
| #define DT_ST_HTS221_0_LABEL "" |
| #define DT_ST_HTS221_0_BUS_NAME "" |
| #define DT_ST_HTS221_0_BASE_ADDRESS 0 |
| #define DT_ST_HTS221_0_DRDY_GPIOS_PIN 0 |
| #define DT_ST_HTS221_0_DRDY_GPIOS_CONTROLLER "" |
| #endif |
| |
| #ifndef CONFIG_LIS2MDL_GPIO_PIN_NUM |
| #define CONFIG_LIS2MDL_GPIO_DEV_NAME "" |
| #define CONFIG_LIS2MDL_GPIO_PIN_NUM 0 |
| #endif |
| |
| #ifndef CONFIG_LIS2MDL_I2C_ADDR |
| #define CONFIG_LIS2MDL_I2C_ADDR 0 |
| #define CONFIG_LIS2MDL_I2C_MASTER_DEV_NAME "" |
| #endif |
| |
| #ifndef DT_LIS3MDL_NAME |
| #define DT_LIS3MDL_NAME "" |
| #define DT_LIS3MDL_I2C_MASTER_DEV_NAME "" |
| #define DT_LIS3MDL_I2C_ADDR 0x1e |
| #endif |
| |
| #ifndef DT_LPS25HB_DEV_NAME |
| #define DT_LPS25HB_DEV_NAME "" |
| #define DT_LPS25HB_I2C_ADDR 0 |
| #define DT_LPS25HB_I2C_MASTER_DEV_NAME "" |
| #endif |
| |
| #ifndef DT_LSM6DS0_DEV_NAME |
| #define DT_LSM6DS0_DEV_NAME "" |
| #define DT_LSM6DS0_I2C_ADDR 0 |
| #define DT_LSM6DS0_I2C_MASTER_DEV_NAME "" |
| #endif |
| |
| #ifndef DT_MAX_MAX30101_0_LABEL |
| #define DT_MAX_MAX30101_0_BUS_NAME "" |
| #define DT_MAX_MAX30101_0_LABEL "" |
| #endif |
| |
| #ifndef CONFIG_GPIO_SX1509B_DEV_NAME |
| #define CONFIG_GPIO_SX1509B_DEV_NAME "" |
| #define CONFIG_GPIO_SX1509B_I2C_ADDR 0 |
| #define CONFIG_GPIO_SX1509B_I2C_MASTER_DEV_NAME "" |
| #endif |
| |
| #ifndef DT_ST_LSM6DSL_0_LABEL |
| #define DT_ST_LSM6DSL_0_LABEL "" |
| #define DT_ST_LSM6DSL_0_BASE_ADDRESS 0x6a |
| #define DT_ST_LSM6DSL_0_BUS_NAME "" |
| #define DT_ST_LSM6DSL_0_IRQ_GPIOS_CONTROLLER "" |
| #define DT_ST_LSM6DSL_0_IRQ_GPIOS_PIN 0 |
| #define DT_ST_LSM6DSL_BUS_I2C 1 |
| #endif |
| |
| #ifndef DT_ST_LPS22HB_PRESS_0_LABEL |
| #define DT_ST_LPS22HB_PRESS_0_LABEL "" |
| #define DT_ST_LPS22HB_PRESS_0_BASE_ADDRESS 0 |
| #define DT_ST_LPS22HB_PRESS_0_BUS_NAME "" |
| #endif |
| |
| #ifndef DT_ST_VL53L0X_0_LABEL |
| #define DT_ST_VL53L0X_0_LABEL "" |
| #define DT_ST_VL53L0X_0_BASE_ADDRESS 0 |
| #define DT_ST_VL53L0X_0_BUS_NAME "" |
| #endif |
| |
| #ifndef DT_ST_LSM303DLHC_MAGN_0_LABEL |
| #define DT_ST_LSM303DLHC_MAGN_0_LABEL "" |
| #define DT_ST_LSM303DLHC_MAGN_0_BUS_NAME "" |
| #define DT_ST_LSM303DLHC_MAGN_0_BASE_ADDRESS 0x1e |
| #endif |
| |
| #ifndef DT_ST_LIS2DH_0_LABEL |
| #define DT_ST_LIS2DH_0_LABEL "" |
| #define DT_ST_LIS2DH_0_BASE_ADDRESS 0x19 |
| #define DT_ST_LIS2DH_0_BUS_NAME "" |
| #define DT_ST_LIS2DH_0_IRQ_GPIOS_CONTROLLER "" |
| #define DT_ST_LIS2DH_0_IRQ_GPIOS_PIN 0 |
| #define DT_ST_LIS2DH_0_BUS_I2C 1 |
| #endif |
| |
| #ifndef DT_SENSIRION_SHT3XD_0_LABEL |
| #define DT_SENSIRION_SHT3XD_0_LABEL "" |
| #define DT_SENSIRION_SHT3XD_0_ALERT_GPIOS_CONTROLLER "" |
| #define DT_SENSIRION_SHT3XD_0_ALERT_GPIOS_FLAGS 0 |
| #define DT_SENSIRION_SHT3XD_0_ALERT_GPIOS_PIN 0 |
| #define DT_SENSIRION_SHT3XD_0_BASE_ADDRESS 0x44 |
| #define DT_SENSIRION_SHT3XD_0_BUS_NAME "" |
| #endif |
| |
| #ifndef DT_ST_LIS2DS12_0_LABEL |
| #define DT_ST_LIS2DS12_0_LABEL "" |
| #define DT_ST_LIS2DS12_0_BUS_NAME "" |
| #define DT_ST_LIS2DS12_0_BASE_ADDRESS 0x19 |
| #define DT_ST_LIS2DS12_0_IRQ_GPIOS_CONTROLLER "" |
| #define DT_ST_LIS2DS12_0_IRQ_GPIOS_PIN 0 |
| #define DT_ST_LIS2DS12_BUS_I2C 1 |
| #endif |
| |
| #ifndef DT_LIS2MDL_DEV_NAME |
| #define DT_LIS2MDL_DEV_NAME "" |
| #define DT_LIS2MDL_I2C_ADDRESS 0x1e |
| #define DT_LIS2MDL_I2C_MASTER_DEV_NAME "" |
| #define DT_LIS2MDL_INT_GPIO_DEV_NAME "" |
| #define DT_LIS2MDL_INT_GPIO_PIN_NUM 0 |
| #endif |
| |
| #ifndef DT_LSM9DS0_MFD_DEV_NAME |
| #define DT_LSM9DS0_MFD_DEV_NAME "" |
| #define DT_LSM9DS0_MFD_I2C_ADDRESS 0x1d |
| #define DT_LSM9DS0_MFD_I2C_MASTER_DEV_NAME "" |
| #endif |
| |
| #ifndef DT_LSM9DS0_GYRO_DEV_NAME |
| #define DT_LSM9DS0_GYRO_DEV_NAME "" |
| #define DT_LSM9DS0_GYRO_I2C_ADDRESS 0x1d |
| #define DT_LSM9DS0_GYRO_I2C_MASTER_DEV_NAME "" |
| #define DT_LSM9DS0_GYRO_INT_GPIO_DEV_NAME "" |
| #define DT_LSM9DS0_GYRO_INT_GPIO_PIN 1 |
| #endif |
| |
| #endif /* CONFIG_HAS_DTS_I2C */ |
| |
| #if defined(CONFIG_HAS_DTS_SPI) |
| |
| #ifndef DT_ADXL372_DEV_NAME |
| #define DT_ADXL372_DEV_NAME "" |
| #define DT_ADXL372_SPI_DEV_NAME "" |
| #define DT_ADXL372_SPI_DEV_SLAVE 0 |
| #define DT_ADXL372_SPI_BUS_FREQ 8000000 |
| #endif |
| |
| #ifndef DT_BOSCH_BMI160_0_LABEL |
| #define DT_BOSCH_BMI160_0_LABEL "" |
| #define DT_BOSCH_BMI160_0_BASE_ADDRESS 0 |
| #define DT_BOSCH_BMI160_0_BUS_NAME "" |
| #define DT_BOSCH_BMI160_0_INT_GPIOS_CONTROLLER "" |
| #define DT_BOSCH_BMI160_0_INT_GPIOS_PIN 0 |
| #define DT_BOSCH_BMI160_0_SPI_MAX_FREQUENCY 6400000 |
| #endif |
| |
| #ifndef DT_ST_LIS2DH_0_LABEL |
| #define DT_ST_LIS2DH_0_LABEL "" |
| #define DT_ST_LIS2DH_0_BASE_ADDRESS 0 |
| #define DT_ST_LIS2DH_0_BUS_NAME "" |
| #define DT_ST_LIS2DH_0_IRQ_GPIOS_CONTROLLER "" |
| #define DT_ST_LIS2DH_0_IRQ_GPIOS_PIN 0 |
| #define DT_ST_LIS2DH_0_SPI_MAX_FREQUENCY 6400000 |
| #define DT_ST_LIS2DH_0_BUS_SPI 1 |
| #endif |
| |
| #ifndef DT_ST_LSM6DSL_0_LABEL |
| #define DT_ST_LSM6DSL_0_LABEL "" |
| #define DT_ST_LSM6DSL_0_BASE_ADDRESS 0 |
| #define DT_ST_LSM6DSL_0_BUS_NAME "" |
| #define DT_ST_LSM6DSL_0_IRQ_GPIOS_CONTROLLER "" |
| #define DT_ST_LSM6DSL_0_IRQ_GPIOS_PIN 0 |
| #define DT_ST_LSM6DSL_0_SPI_MAX_FREQUENCY 6400000 |
| #define DT_ST_LSM6DSL_BUS_SPI 1 |
| #endif |
| |
| #ifndef DT_ST_LIS2DS12_0_LABEL |
| #define DT_ST_LIS2DS12_0_LABEL "" |
| #define DT_ST_LIS2DS12_0_BUS_NAME "" |
| #define DT_ST_LIS2DS12_0_SPI_MAX_FREQUENCY 100000 |
| #define DT_ST_LIS2DS12_0_BASE_ADDRESS 1 |
| #define DT_ST_LIS2DS12_0_IRQ_GPIOS_CONTROLLER "" |
| #define DT_ST_LIS2DS12_0_IRQ_GPIOS_PIN 0 |
| #define DT_ST_LIS2DS12_BUS_SPI 1 |
| #endif |
| |
| #ifndef DT_MICROCHIP_ENC28J60_0_LABEL |
| #define DT_MICROCHIP_ENC28J60_0_BASE_ADDRESS 0 |
| #define DT_MICROCHIP_ENC28J60_0_BUS_NAME "" |
| #define DT_MICROCHIP_ENC28J60_0_INT_GPIOS_CONTROLLER "" |
| #define DT_MICROCHIP_ENC28J60_0_INT_GPIOS_FLAGS 0 |
| #define DT_MICROCHIP_ENC28J60_0_INT_GPIOS_PIN 0 |
| #define DT_MICROCHIP_ENC28J60_0_LABEL "" |
| #define DT_MICROCHIP_ENC28J60_0_LOCAL_MAC_ADDRESS_0 0 |
| #define DT_MICROCHIP_ENC28J60_0_LOCAL_MAC_ADDRESS_1 0 |
| #define DT_MICROCHIP_ENC28J60_0_LOCAL_MAC_ADDRESS_2 0 |
| #define DT_MICROCHIP_ENC28J60_0_LOCAL_MAC_ADDRESS_3 0 |
| #define DT_MICROCHIP_ENC28J60_0_LOCAL_MAC_ADDRESS_4 0 |
| #define DT_MICROCHIP_ENC28J60_0_LOCAL_MAC_ADDRESS_5 0 |
| #define DT_MICROCHIP_ENC28J60_0_SPI_MAX_FREQUENCY 0 |
| #endif |
| |
| #endif /* CONFIG_HAS_DTS_SPI */ |