feat(boards/3dr/ctrl-n1): configure barometer as DPS368 (#27854)

This commit is contained in:
Alexis Guijarro
2026-07-15 19:39:15 -06:00
committed by GitHub
parent 4cf8622a13
commit 0542e1f157
2 changed files with 3 additions and 3 deletions

View File

@@ -9,8 +9,8 @@ board_adc start
iim42653 -R 14 -s -b 1 start
iim42653 -R 14 -s -b 2 start
# Internal DPS310 (barometer)
dps310 -s -b 6 start
# Internal DPS368 (barometer)
dps310 -s -b 6 -8 start
# Internal AK09940A magnetometer
ak09940a -I -b 1 -R 4 start

View File

@@ -47,7 +47,7 @@ constexpr px4_spi_bus_t px4_spi_buses[SPI_BUS_MAX_BUS_ITEMS] = {
}),
initSPIBus(SPI::Bus::SPI6, {
initSPIDevice(SPIDEV_FLASH(0), SPI::CS{GPIO::PortC, GPIO::Pin13}),
initSPIDevice(DRV_BARO_DEVTYPE_DPS310, SPI::CS{GPIO::PortE, GPIO::Pin3}),
initSPIDevice(DRV_BARO_DEVTYPE_DPS368, SPI::CS{GPIO::PortE, GPIO::Pin3}),
}),
};