Skip to content

Commit

Permalink
Mamba H743 2022B - Update ICM gyro version (#317)
Browse files Browse the repository at this point in the history
* Mamba H743 2022B - Update ICM gyro version

The DIATONE Mamba H743 2022B flight controller it use ICM42688P instead of ICM42605, which seems to have been available on version 1 of the FC.

I am not aware of 2022B (v2) version been sold with ICM42605.

* Remove BMI270

---------

Co-authored-by: Mark Haslinghuis <[email protected]>
  • Loading branch information
jesuslg123 and haslinghuis authored Feb 6, 2024
1 parent 720caf5 commit 8f977e8
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions configs/MAMBAH743_2022B/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
#define BOARD_NAME MAMBAH743_2022B
#define MANUFACTURER_ID DIAT

#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_ACCGYRO_BMI270
#define USE_GYRO_SPI_ICM42605
#define USE_ACC_SPI_ICM42605
#define USE_ACC_SPI_ICM42688P
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#define USE_GYRO_SPI_ICM42688P
#define USE_BARO
#define USE_BARO_DPS310
#define USE_FLASH
#define USE_FLASH_M25P16
Expand Down Expand Up @@ -118,7 +118,6 @@
#define TIMUP5_DMA_OPT 0
#define TIMUP8_DMA_OPT 4

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define MAG_I2C_INSTANCE (I2CDEV_1)
//TODO #define SDCARD_MODE OFF
Expand All @@ -132,11 +131,9 @@
#define DEFAULT_CURRENT_METER_SCALE 80
#define PINIO1_CONFIG 129
#define PINIO1_BOX 0
#define USE_SPI_GYRO
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN_YAW 0
#define USE_SPI_GYRO
#define GYRO_2_SPI_INSTANCE SPI4
#define GYRO_2_ALIGN CW270_DEG
#define GYRO_2_ALIGN_YAW 2700

0 comments on commit 8f977e8

Please sign in to comment.