diff --git a/boards/px4/fmu-v6x/init/rc.board_sensors b/boards/px4/fmu-v6x/init/rc.board_sensors index 6a710e7a75..8d23b561f1 100644 --- a/boards/px4/fmu-v6x/init/rc.board_sensors +++ b/boards/px4/fmu-v6x/init/rc.board_sensors @@ -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 diff --git a/boards/px4/fmu-v6x/src/board_config.h b/boards/px4/fmu-v6x/src/board_config.h index e0f6270394..f662b1c478 100644 --- a/boards/px4/fmu-v6x/src/board_config.h +++ b/boards/px4/fmu-v6x/src/board_config.h @@ -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)