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 58cc105493
commit 3c10e34a49
No known key found for this signature in database
GPG Key ID: FD3CBA98017A69DE
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 V6X00 V6X10
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)