forked from Archive/PX4-Autopilot
kakuteh7/7mini/h7v2: Add ICM42686p as alternative
This adds the ICM42686p as a possible alternative to the existing IMUs. Apparently, the ICM20689 was never actually used in these boards. Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
parent
2363c03bfe
commit
ef20708a98
|
@ -14,7 +14,7 @@ CONFIG_COMMON_DISTANCE_SENSOR=y
|
|||
CONFIG_DRIVERS_DSHOT=y
|
||||
CONFIG_DRIVERS_GPS=y
|
||||
CONFIG_DRIVERS_IMU_BOSCH_BMI270=y
|
||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM20689=y
|
||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM42688P=y
|
||||
CONFIG_DRIVERS_IMU_INVENSENSE_MPU6000=y
|
||||
CONFIG_COMMON_LIGHT=y
|
||||
CONFIG_COMMON_MAGNETOMETER=y
|
||||
|
|
|
@ -8,7 +8,7 @@ board_adc start
|
|||
# but there might also be an MPU6000
|
||||
if ! mpu6000 -R 6 -s start
|
||||
then
|
||||
icm20689 -R 6 -s start
|
||||
icm42688p -R 6 -s start
|
||||
fi
|
||||
|
||||
bmp280 -X start
|
||||
|
|
|
@ -14,7 +14,7 @@ CONFIG_COMMON_DISTANCE_SENSOR=y
|
|||
CONFIG_DRIVERS_DSHOT=y
|
||||
CONFIG_DRIVERS_GPS=y
|
||||
CONFIG_DRIVERS_IMU_BOSCH_BMI270=y
|
||||
CONFIG_DRIVERS_IMU_INVENSENSE_MPU6000=y
|
||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM42688P=y
|
||||
CONFIG_COMMON_LIGHT=y
|
||||
CONFIG_COMMON_MAGNETOMETER=y
|
||||
CONFIG_COMMON_OPTICAL_FLOW=y
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
#------------------------------------------------------------------------------
|
||||
board_adc start
|
||||
|
||||
bmi270 -R 6 -s start
|
||||
if ! bmi270 -s -q start
|
||||
then
|
||||
icm42688p -R 0 -s start
|
||||
fi
|
||||
|
||||
bmp280 -X start
|
||||
|
|
|
@ -14,7 +14,7 @@ CONFIG_COMMON_DISTANCE_SENSOR=y
|
|||
CONFIG_DRIVERS_DSHOT=y
|
||||
CONFIG_DRIVERS_GPS=y
|
||||
CONFIG_DRIVERS_IMU_BOSCH_BMI270=y
|
||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM20689=y
|
||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM42688P=y
|
||||
CONFIG_DRIVERS_IMU_INVENSENSE_MPU6000=y
|
||||
CONFIG_COMMON_LIGHT=y
|
||||
CONFIG_COMMON_MAGNETOMETER=y
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
#------------------------------------------------------------------------------
|
||||
board_adc start
|
||||
|
||||
bmi270 -s start
|
||||
if ! bmi270 -s -q start
|
||||
then
|
||||
icm42688p -R 0 -s start
|
||||
fi
|
||||
|
||||
bmp280 -X start
|
||||
|
|
Loading…
Reference in New Issue