Skip to content

Commit

Permalink
fmu-v6x:CUAV HW Version changes
Browse files Browse the repository at this point in the history
  • Loading branch information
davids5 authored and dagar committed Feb 6, 2023
1 parent 58cc105 commit 3c10e34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boards/px4/fmu-v6x/init/rc.board_sensors
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions boards/px4/fmu-v6x/src/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3c10e34

Please sign in to comment.