boards: modalai FCv2 BSP updates (#20958)

- FCv2 MR1
 - configure TELEM2 for VOXL use case by default
 - use ICP201XX baro by default
This commit is contained in:
modaltb 2023-01-17 18:20:16 -08:00 committed by GitHub
parent 1c63d5666b
commit 8123090571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 3 deletions

View File

@ -19,7 +19,8 @@
#
# TELEM2
# TELEM2 is used to connect to VOXL via the MAV_1 mavlink channel
# MAV_0 & TELEM1 are left alone for use with SIK radio links
param set-default MAV_1_CONFIG 102
param set-default MAV_1_MODE 2
param set-default SER_TEL2_BAUD 921600

View File

@ -6,7 +6,7 @@ CONFIG_BOARD_SERIAL_TEL2="/dev/ttyS4"
CONFIG_DRIVERS_ACTUATORS_MODALAI_ESC=y
CONFIG_DRIVERS_ADC_ADS1115=y
CONFIG_DRIVERS_ADC_BOARD_ADC=y
CONFIG_COMMON_BAROMETERS=y
CONFIG_DRIVERS_BAROMETER_INVENSENSE_ICP201XX=y
CONFIG_DRIVERS_BATT_SMBUS=y
CONFIG_DRIVERS_CAMERA_CAPTURE=y
CONFIG_DRIVERS_CAMERA_TRIGGER=y

View File

@ -2,3 +2,11 @@
#
# board specific defaults
#------------------------------------------------------------------------------
# Like FCV1, MAV_1 mavlink channel is used to talk to VOXL via onboard mode
# unlike FCV1, TELEM1 is used to connect to VOXL instead of TELEM2
param set-default MAV_0_CONFIG 0
param set-default MAV_1_CONFIG 101
param set-default MAV_1_MODE 2
param set-default MAV_1_RATE 0
param set-default SER_TEL1_BAUD 921600

View File

@ -24,4 +24,4 @@ icm42688p -s -b 2 -R 12 start
bmm150 -I start
# Internal I2C baro
bmp388 -I start
icp201xx -I start