diff --git a/conf/modules/baro_ms5611_spi.xml b/conf/modules/baro_ms5611_spi.xml index 281bc6f94f..0ab146a0ad 100644 --- a/conf/modules/baro_ms5611_spi.xml +++ b/conf/modules/baro_ms5611_spi.xml @@ -6,8 +6,8 @@ Baro MS5611 (SPI) Measurement Specialties MS5611-01BA pressure sensor (SPI) - - + +
@@ -18,6 +18,21 @@ + + MS5611_SPI_DEV ?= spi1 + MS5611_SPI_DEV_LOWER=$(shell echo $(MS5611_SPI_DEV) | tr A-Z a-z) + MS5611_SPI_DEV_UPPER=$(shell echo $(MS5611_SPI_DEV) | tr a-z A-Z) + + MS5611_SLAVE_IDX ?= spi_slave0 + MS5611_SLAVE_IDX_LOWER=$(shell echo $(MS5611_SLAVE_IDX) | tr A-Z a-z) + MS5611_SLAVE_IDX_UPPER=$(shell echo $(MS5611_SLAVE_IDX) | tr a-z A-Z) + + include $(CFG_SHARED)/spi_master.makefile + + + + +