From 67c9a04223f9e8879aaed6c755615e88d515d1bf Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Fri, 2 Dec 2022 11:59:13 +0000 Subject: [PATCH] AP_HAL_ChibiOS: support for MambaF405-2022B Co-authored-by: vidmantas zemleris --- .../AP_HAL_ChibiOS/hwdef/MambaF405-2022/hwdef.dat | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MambaF405-2022/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MambaF405-2022/hwdef.dat index 60787e55da..1334f0d269 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MambaF405-2022/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MambaF405-2022/hwdef.dat @@ -15,3 +15,13 @@ PB1 TIM3_CH4 TIM3 PWM(6) GPIO(55) PB3 TIM2_CH2 TIM2 PWM(7) GPIO(56) PB11 USART3_RX USART3 NODMA + +# MambaF405-2022B board +SPIDEV icm42688 SPI1 DEVID2 MPU6000_CS MODE3 1*MHZ 8*MHZ + +IMU Invensensev3 SPI:icm42688 ROTATION_ROLL_180_YAW_270 + +# enable SPL06 baro +BARO SPL06 I2C:0:0x76 +define AP_BARO_SPL06_ENABLED 1 +