forked from Archive/PX4-Autopilot
fmu-v6x:CUAV HW Version changes
This commit is contained in:
parent
58cc105493
commit
3c10e34a49
|
@ -70,7 +70,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Internal magnetometer on I2c
|
# Internal magnetometer on I2c
|
||||||
if ver hwtypecmp V6X21
|
if ver hwtypecmp V6X002001
|
||||||
then
|
then
|
||||||
rm3100 -I -b 4 start
|
rm3100 -I -b 4 start
|
||||||
else
|
else
|
||||||
|
@ -81,7 +81,7 @@ fi
|
||||||
ist8310 -X -b 1 -R 10 start
|
ist8310 -X -b 1 -R 10 start
|
||||||
|
|
||||||
# Possible internal Baro
|
# Possible internal Baro
|
||||||
if ver hwtypecmp V6X21
|
if ver hwtypecmp V6X002001
|
||||||
then
|
then
|
||||||
icp201xx -I -a 0x64 start
|
icp201xx -I -a 0x64 start
|
||||||
else
|
else
|
||||||
|
@ -92,7 +92,7 @@ if ver hwtypecmp V6X00 V6X10
|
||||||
then
|
then
|
||||||
bmp388 -I start
|
bmp388 -I start
|
||||||
else
|
else
|
||||||
if ver hwtypecmp V6X21
|
if ver hwtypecmp V6X002001
|
||||||
then
|
then
|
||||||
icp201xx -X start
|
icp201xx -X start
|
||||||
else
|
else
|
||||||
|
|
|
@ -135,6 +135,8 @@
|
||||||
*
|
*
|
||||||
* Note that these are unshifted addresses.
|
* Note that these are unshifted addresses.
|
||||||
*/
|
*/
|
||||||
|
#define BOARD_MTD_NUM_EEPROM 2 /* MTD: base_eeprom, imu_eeprom*/
|
||||||
|
|
||||||
#define PX4_I2C_OBDEV_SE050 0x48
|
#define PX4_I2C_OBDEV_SE050 0x48
|
||||||
|
|
||||||
#define GPIO_I2C2_DRDY1_BMP388 /* PG5 */ (GPIO_INPUT|GPIO_FLOAT|GPIO_EXTI|GPIO_PORTG|GPIO_PIN5)
|
#define GPIO_I2C2_DRDY1_BMP388 /* PG5 */ (GPIO_INPUT|GPIO_FLOAT|GPIO_EXTI|GPIO_PORTG|GPIO_PIN5)
|
||||||
|
|
Loading…
Reference in New Issue