mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +08:00
feat(boards/3dr/ctrl-n1): configure barometer as DPS368 (#27854)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}),
|
||||
}),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user