mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
boards: remove unused IMU sensors from 6X
It turns out ICM20602 and ICM20948 are not actually started/probed on the px4/v6x platform. We should be able to remove them without repercussions and save some flash.
This commit is contained in:
@@ -23,9 +23,7 @@ CONFIG_DRIVERS_GPS=y
|
|||||||
CONFIG_DRIVERS_HEATER=y
|
CONFIG_DRIVERS_HEATER=y
|
||||||
CONFIG_DRIVERS_IMU_ANALOG_DEVICES_ADIS16470=y
|
CONFIG_DRIVERS_IMU_ANALOG_DEVICES_ADIS16470=y
|
||||||
CONFIG_DRIVERS_IMU_BOSCH_BMI088=y
|
CONFIG_DRIVERS_IMU_BOSCH_BMI088=y
|
||||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM20602=y
|
|
||||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM20649=y
|
CONFIG_DRIVERS_IMU_INVENSENSE_ICM20649=y
|
||||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM20948=y
|
|
||||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM42670P=y
|
CONFIG_DRIVERS_IMU_INVENSENSE_ICM42670P=y
|
||||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM42688P=y
|
CONFIG_DRIVERS_IMU_INVENSENSE_ICM42688P=y
|
||||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM45686=y
|
CONFIG_DRIVERS_IMU_INVENSENSE_ICM45686=y
|
||||||
|
|||||||
@@ -180,7 +180,6 @@ constexpr px4_spi_bus_all_hw_t px4_spi_buses_all_hw[BOARD_NUM_SPI_CFG_HW_VERSION
|
|||||||
|
|
||||||
initSPIFmumID(V6X_16, {
|
initSPIFmumID(V6X_16, {
|
||||||
initSPIBus(SPI::Bus::SPI1, {
|
initSPIBus(SPI::Bus::SPI1, {
|
||||||
initSPIDevice(DRV_IMU_DEVTYPE_ICM20602, SPI::CS{GPIO::PortI, GPIO::Pin9}, SPI::DRDY{GPIO::PortF, GPIO::Pin2}),
|
|
||||||
}, {GPIO::PortI, GPIO::Pin11}),
|
}, {GPIO::PortI, GPIO::Pin11}),
|
||||||
initSPIBus(SPI::Bus::SPI2, {
|
initSPIBus(SPI::Bus::SPI2, {
|
||||||
initSPIDevice(DRV_IMU_DEVTYPE_ICM42688P, SPI::CS{GPIO::PortH, GPIO::Pin5}, SPI::DRDY{GPIO::PortA, GPIO::Pin10}),
|
initSPIDevice(DRV_IMU_DEVTYPE_ICM42688P, SPI::CS{GPIO::PortH, GPIO::Pin5}, SPI::DRDY{GPIO::PortA, GPIO::Pin10}),
|
||||||
|
|||||||
Reference in New Issue
Block a user