NOTES:
If upgrade firmware to betaflight 4.4.x , need to add custom Defines “GYRO_SPI_ICM42688P ACC_SPI_ICM42688P” from build configuration of betaflight configurator otherwise gyro will not working .
If you want to enable Barometer , please connect to betaflight configurator and go to CLI command ,then type the following command:
resource I2C_SCL 2 B10
resource I2C_SDA 2 B11
set baro_bustype = I2C
set baro_i2c_device = 2
save