Skip to content

Commit

Permalink
add SPA06 to Kakute hwdef
Browse files Browse the repository at this point in the history
add SPA06 support to Kakute H7 Wing, F4 model

add define AP_BARO_SPL06_ENABLED to kakute F4
  • Loading branch information
vincentpoont2 committed Nov 21, 2024
1 parent a69b777 commit 277efb5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/KakuteF4/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ IMU Invensense SPI:mpu6000 ROTATION_YAW_180

# one baro
BARO BMP280 I2C:0:0x76
BARO SPL06 I2C:0:0x76
define AP_BARO_BACKEND_DEFAULT_ENABLED 0
define AP_BARO_BMP280_ENABLED 1
define AP_BARO_SPL06_ENABLED 1

# enable logging to dataflash
define HAL_LOGGING_DATAFLASH_ENABLED 1
Expand Down
1 change: 1 addition & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/KakuteH7-Wing/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ IMU Invensensev3 SPI:icm42688 ROTATION_PITCH_180_YAW_270

# BMP280 integrated on I2C4 bus
BARO BMP280 I2C:0:0x76
BARO SPL06 I2C:0:0x76

define HAL_OS_FATFS_IO 1

Expand Down
1 change: 1 addition & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ IMU Invensensev3 SPI:icm42688 ROTATION_ROLL_180_YAW_270

# one BARO
BARO BMP280 I2C:0:0x76
BARO SPL06 I2C:0:0x76

define HAL_OS_FATFS_IO 1

Expand Down
1 change: 1 addition & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/KakuteH7Mini/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ IMU Invensensev3 SPI:icm42688 ROTATION_PITCH_180_YAW_90

# one BARO
BARO BMP280 I2C:0:0x76
BARO SPL06 I2C:0:0x76

# setup for OSD
define OSD_ENABLED 1
Expand Down

0 comments on commit 277efb5

Please sign in to comment.