fmu-v6x:CUAV HW Version changes

This commit is contained in:
David Sidrane 2022-07-07 09:10:17 -07:00 committed by Daniel Agar
parent 21daa0f398
commit e284d4aa52
2 changed files with 5 additions and 3 deletions

View File

@ -70,7 +70,7 @@ else
fi
# Internal magnetometer on I2c
if ver hwtypecmp V6X21
if ver hwtypecmp V6X002001
then
rm3100 -I -b 4 start
else
@ -81,7 +81,7 @@ fi
ist8310 -X -b 1 -R 10 start
# Possible internal Baro
if ver hwtypecmp V6X21
if ver hwtypecmp V6X002001
then
icp201xx -I -a 0x64 start
else
@ -92,7 +92,7 @@ if ver hwtypecmp V6X000000 V6X001000
then
bmp388 -I start
else
if ver hwtypecmp V6X21
if ver hwtypecmp V6X002001
then
icp201xx -X start
else

View File

@ -135,6 +135,8 @@
*
* Note that these are unshifted addresses.
*/
#define BOARD_MTD_NUM_EEPROM 2 /* MTD: base_eeprom, imu_eeprom*/
#define PX4_I2C_OBDEV_SE050 0x48
#define GPIO_I2C2_DRDY1_BMP388 /* PG5 */ (GPIO_INPUT|GPIO_FLOAT|GPIO_EXTI|GPIO_PORTG|GPIO_PIN5)