From 440313c1d8c27f01f0f81a361422bbefa151b0cc Mon Sep 17 00:00:00 2001 From: HAKRC Date: Mon, 14 Oct 2024 15:24:22 +0800 Subject: [PATCH 01/10] add BLADE_PRO_H7 --- configs/BLADE_PRO_H7/config.h | 150 ++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 configs/BLADE_PRO_H7/config.h diff --git a/configs/BLADE_PRO_H7/config.h b/configs/BLADE_PRO_H7/config.h new file mode 100644 index 00000000..2d3aaa55 --- /dev/null +++ b/configs/BLADE_PRO_H7/config.h @@ -0,0 +1,150 @@ +/* + * This file is part of Betaflight. + * + * Betaflight is free software. You can redistribute this software + * and/or modify this software under the terms of the GNU General + * Public License as published by the Free Software Foundation, + * either version 3 of the License, or (at your option) any later + * version. + * + * Betaflight is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this software. + * + * If not, see . + */ + +#pragma once + +#define FC_TARGET_MCU STM32H743 + +#define BOARD_NAME BLADE_PRO_H7 +#define MANUFACTURER_ID RUSH + +#define USE_ACC +#define USE_ACC_SPI_MPU6500 +#define USE_GYRO +#define USE_GYRO_SPI_MPU6500 +#define USE_ACC_SPI_MPU6000 +#define USE_GYRO_SPI_MPU6000 +#define USE_ACC_SPI_ICM42688P +#define USE_GYRO_SPI_ICM42688P +#define USE_ACC_SPI_ICM42605 +#define USE_GYRO_SPI_ICM42605 +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_MAX7456 +#define USE_FLASH +#define USE_FLASH_M25P16 + +#define BEEPER_PIN PA15 +#define MOTOR1_PIN PB0 +#define MOTOR2_PIN PB1 +#define MOTOR3_PIN PA0 +#define MOTOR4_PIN PA1 +#define MOTOR5_PIN PA2 +#define MOTOR6_PIN PA3 +#define MOTOR7_PIN PD12 +#define MOTOR8_PIN PD13 +#define SERVO1_PIN PE5 +#define SERVO2_PIN PE6 +#define SERVO3_PIN PD15 +#define SERVO4_PIN PD14 + +#define LED_STRIP_PIN PA8 +#define UART1_TX_PIN PA9 +#define UART2_TX_PIN PD5 +#define UART3_TX_PIN PD8 +#define UART4_TX_PIN PB9 +#define UART6_TX_PIN PC6 +#define UART7_TX_PIN PE8 +#define UART8_TX_PIN PE1 +#define UART1_RX_PIN PA10 +#define UART2_RX_PIN PD6 +#define UART3_RX_PIN PD9 +#define UART4_RX_PIN PB8 +#define UART6_RX_PIN PC7 +#define UART7_RX_PIN PE7 +#define UART8_RX_PIN PE0 +#define I2C1_SCL_PIN PB6 +#define I2C2_SCL_PIN PB10 +#define I2C1_SDA_PIN PB7 +#define I2C2_SDA_PIN PB11 +#define LED0_PIN PE3 +#define LED1_PIN PE4 +#define SPI1_SCK_PIN PA5 +#define SPI2_SCK_PIN PB13 +#define SPI3_SCK_PIN PB3 +#define SPI4_SCK_PIN PE12 +#define SPI1_SDI_PIN PA6 +#define SPI2_SDI_PIN PB14 +#define SPI3_SDI_PIN PB4 +#define SPI4_SDI_PIN PE13 +#define SPI1_SDO_PIN PD7 +#define SPI2_SDO_PIN PB15 +#define SPI3_SDO_PIN PB5 +#define SPI4_SDO_PIN PE14 + +#define ADC_VBAT_PIN PC0 +#define ADC_RSSI_PIN PC5 +#define ADC_CURR_PIN PC1 +#define ADC_EXTERNAL1_PIN PC4 +#define PINIO1_PIN PD10 +#define PINIO2_PIN PD11 +#define FLASH_CS_PIN PE2 +#define MAX7456_SPI_CS_PIN PB12 +#define GYRO_1_EXTI_PIN PB2 +#define GYRO_2_EXTI_PIN PE15 +#define GYRO_1_CS_PIN PC15 +#define GYRO_2_CS_PIN PE11 + + +#define TIMER_PIN_MAPPING \ + TIMER_PIN_MAP( 0, PA15, 1, 0) \ + TIMER_PIN_MAP( 1, PB0 , 2, 0) \ + TIMER_PIN_MAP( 2, PB1 , 2, 1) \ + TIMER_PIN_MAP( 3, PA0 , 2, 2) \ + TIMER_PIN_MAP( 4, PA1 , 2, 3) \ + TIMER_PIN_MAP( 5, PA2 , 2, 4) \ + TIMER_PIN_MAP( 6, PA3 , 2, 5) \ + TIMER_PIN_MAP( 7, PD12, 1, 6) \ + TIMER_PIN_MAP( 8, PD13, 1, 7) \ + TIMER_PIN_MAP( 9, PD14, 1, 12) \ + TIMER_PIN_MAP(10, PD15, 1, -1) \ + TIMER_PIN_MAP(11, PE5 , 1, 0) \ + TIMER_PIN_MAP(12, PE6 , 1, -1) \ + TIMER_PIN_MAP(13, PA8 , 1, 14) + + + +#define ADC1_DMA_OPT 8 +#define ADC3_DMA_OPT 9 +#define TIMUP1_DMA_OPT 0 +#define TIMUP3_DMA_OPT 2 +#define TIMUP4_DMA_OPT 1 +#define TIMUP5_DMA_OPT 0 + +#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH +#define MAG_I2C_INSTANCE (I2CDEV_1) +#define BARO_I2C_INSTANCE (I2CDEV_2) +#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH +#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC +#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC +#define DEFAULT_CURRENT_METER_SCALE 250 +#define BEEPER_INVERTED +#define MAX7456_SPI_INSTANCE SPI2 +#define PINIO1_CONFIG 129 +#define PINIO1_BOX 39 +#define PINIO2_BOX 40 +#define FLASH_SPI_INSTANCE SPI3 +#define GYRO_1_SPI_INSTANCE SPI1 +#define GYRO_1_ALIGN CW180_DEG +#define GYRO_2_SPI_INSTANCE SPI4 +#define GYRO_2_ALIGN CW270_DEG + From c7aef91199671ff9a0ee1ece4d931d8f46b81f0d Mon Sep 17 00:00:00 2001 From: HAKRC <33365327+HAKRC@users.noreply.github.com> Date: Sat, 21 Dec 2024 14:53:21 +0800 Subject: [PATCH 02/10] Update config.h --- configs/BLADE_PRO_H7/config.h | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/configs/BLADE_PRO_H7/config.h b/configs/BLADE_PRO_H7/config.h index 2d3aaa55..783d25fc 100644 --- a/configs/BLADE_PRO_H7/config.h +++ b/configs/BLADE_PRO_H7/config.h @@ -27,10 +27,8 @@ #define MANUFACTURER_ID RUSH #define USE_ACC -#define USE_ACC_SPI_MPU6500 -#define USE_GYRO -#define USE_GYRO_SPI_MPU6500 #define USE_ACC_SPI_MPU6000 +#define USE_GYRO #define USE_GYRO_SPI_MPU6000 #define USE_ACC_SPI_ICM42688P #define USE_GYRO_SPI_ICM42688P @@ -108,26 +106,26 @@ #define TIMER_PIN_MAPPING \ TIMER_PIN_MAP( 0, PA15, 1, 0) \ TIMER_PIN_MAP( 1, PB0 , 2, 0) \ - TIMER_PIN_MAP( 2, PB1 , 2, 1) \ - TIMER_PIN_MAP( 3, PA0 , 2, 2) \ - TIMER_PIN_MAP( 4, PA1 , 2, 3) \ - TIMER_PIN_MAP( 5, PA2 , 2, 4) \ - TIMER_PIN_MAP( 6, PA3 , 2, 5) \ - TIMER_PIN_MAP( 7, PD12, 1, 6) \ - TIMER_PIN_MAP( 8, PD13, 1, 7) \ - TIMER_PIN_MAP( 9, PD14, 1, 12) \ - TIMER_PIN_MAP(10, PD15, 1, -1) \ + TIMER_PIN_MAP( 2, PB1 , 2, 0) \ + TIMER_PIN_MAP( 3, PA0 , 2, 0) \ + TIMER_PIN_MAP( 4, PA1 , 2, 0) \ + TIMER_PIN_MAP( 5, PA2 , 2, 0) \ + TIMER_PIN_MAP( 6, PA3 , 2, 0) \ + TIMER_PIN_MAP( 7, PD12, 1, 0) \ + TIMER_PIN_MAP( 8, PD13, 1, 0) \ + TIMER_PIN_MAP( 9, PD14, 1, 0) \ + TIMER_PIN_MAP(10, PD15, 1, 0) \ TIMER_PIN_MAP(11, PE5 , 1, 0) \ - TIMER_PIN_MAP(12, PE6 , 1, -1) \ - TIMER_PIN_MAP(13, PA8 , 1, 14) + TIMER_PIN_MAP(12, PE6 , 1, 0) \ + TIMER_PIN_MAP(13, PA8 , 1, 0) #define ADC1_DMA_OPT 8 #define ADC3_DMA_OPT 9 #define TIMUP1_DMA_OPT 0 -#define TIMUP3_DMA_OPT 2 -#define TIMUP4_DMA_OPT 1 +#define TIMUP3_DMA_OPT 0 +#define TIMUP4_DMA_OPT 0 #define TIMUP5_DMA_OPT 0 #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH From 2d983cb434234b3b949bbfa280a9edd07b63b19a Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 24 Dec 2024 01:47:53 +0100 Subject: [PATCH 03/10] Update configs/BLADE_PRO_H7/config.h --- configs/BLADE_PRO_H7/config.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/configs/BLADE_PRO_H7/config.h b/configs/BLADE_PRO_H7/config.h index 783d25fc..603620cd 100644 --- a/configs/BLADE_PRO_H7/config.h +++ b/configs/BLADE_PRO_H7/config.h @@ -105,19 +105,19 @@ #define TIMER_PIN_MAPPING \ TIMER_PIN_MAP( 0, PA15, 1, 0) \ - TIMER_PIN_MAP( 1, PB0 , 2, 0) \ - TIMER_PIN_MAP( 2, PB1 , 2, 0) \ - TIMER_PIN_MAP( 3, PA0 , 2, 0) \ - TIMER_PIN_MAP( 4, PA1 , 2, 0) \ - TIMER_PIN_MAP( 5, PA2 , 2, 0) \ - TIMER_PIN_MAP( 6, PA3 , 2, 0) \ - TIMER_PIN_MAP( 7, PD12, 1, 0) \ - TIMER_PIN_MAP( 8, PD13, 1, 0) \ - TIMER_PIN_MAP( 9, PD14, 1, 0) \ - TIMER_PIN_MAP(10, PD15, 1, 0) \ - TIMER_PIN_MAP(11, PE5 , 1, 0) \ - TIMER_PIN_MAP(12, PE6 , 1, 0) \ - TIMER_PIN_MAP(13, PA8 , 1, 0) + TIMER_PIN_MAP( 0, PB0 , 2, 0 ) \ + TIMER_PIN_MAP( 1, PB1 , 2, 1 ) \ + TIMER_PIN_MAP( 2, PA0 , 2, 2 ) \ + TIMER_PIN_MAP( 3, PA1 , 2, 3 ) \ + TIMER_PIN_MAP( 4, PA2 , 2, 4 ) \ + TIMER_PIN_MAP( 5, PA3 , 2, 5 ) \ + TIMER_PIN_MAP( 6, PD12, 1, 6 ) \ + TIMER_PIN_MAP( 7, PD13, 1, 7 ) \ + TIMER_PIN_MAP( 8, PD14, 1, -1 ) \ + TIMER_PIN_MAP( 9, PD15, 1, -1 ) \ + TIMER_PIN_MAP( 10, PE5 , 1, -1 ) \ + TIMER_PIN_MAP( 11, PE6 , 1, -1 ) \ + TIMER_PIN_MAP( 12, PA8 , 1, 10 ) From 0c80536cdd4e25d72c998e5c289dbac14b039464 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 24 Dec 2024 01:51:00 +0100 Subject: [PATCH 04/10] Some coding style revisions --- configs/BLADE_PRO_H7/config.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/configs/BLADE_PRO_H7/config.h b/configs/BLADE_PRO_H7/config.h index 603620cd..cf2740b5 100644 --- a/configs/BLADE_PRO_H7/config.h +++ b/configs/BLADE_PRO_H7/config.h @@ -102,7 +102,6 @@ #define GYRO_1_CS_PIN PC15 #define GYRO_2_CS_PIN PE11 - #define TIMER_PIN_MAPPING \ TIMER_PIN_MAP( 0, PA15, 1, 0) \ TIMER_PIN_MAP( 0, PB0 , 2, 0 ) \ @@ -119,8 +118,6 @@ TIMER_PIN_MAP( 11, PE6 , 1, -1 ) \ TIMER_PIN_MAP( 12, PA8 , 1, 10 ) - - #define ADC1_DMA_OPT 8 #define ADC3_DMA_OPT 9 #define TIMUP1_DMA_OPT 0 @@ -129,9 +126,9 @@ #define TIMUP5_DMA_OPT 0 #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH -#define MAG_I2C_INSTANCE (I2CDEV_1) -#define BARO_I2C_INSTANCE (I2CDEV_2) -#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH +#define MAG_I2C_INSTANCE I2CDEV_1 +#define BARO_I2C_INSTANCE I2CDEV_2 +#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 250 @@ -145,4 +142,3 @@ #define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI4 #define GYRO_2_ALIGN CW270_DEG - From 939cce868e4825baf24f506a5ade07a7b6a6bebb Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 24 Dec 2024 01:52:59 +0100 Subject: [PATCH 05/10] Some order --- configs/BLADE_PRO_H7/config.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configs/BLADE_PRO_H7/config.h b/configs/BLADE_PRO_H7/config.h index cf2740b5..cc4593a5 100644 --- a/configs/BLADE_PRO_H7/config.h +++ b/configs/BLADE_PRO_H7/config.h @@ -42,6 +42,7 @@ #define USE_FLASH_M25P16 #define BEEPER_PIN PA15 + #define MOTOR1_PIN PB0 #define MOTOR2_PIN PB1 #define MOTOR3_PIN PA0 @@ -50,12 +51,14 @@ #define MOTOR6_PIN PA3 #define MOTOR7_PIN PD12 #define MOTOR8_PIN PD13 + #define SERVO1_PIN PE5 #define SERVO2_PIN PE6 #define SERVO3_PIN PD15 #define SERVO4_PIN PD14 #define LED_STRIP_PIN PA8 + #define UART1_TX_PIN PA9 #define UART2_TX_PIN PD5 #define UART3_TX_PIN PD8 @@ -70,12 +73,15 @@ #define UART6_RX_PIN PC7 #define UART7_RX_PIN PE7 #define UART8_RX_PIN PE0 + #define I2C1_SCL_PIN PB6 #define I2C2_SCL_PIN PB10 #define I2C1_SDA_PIN PB7 #define I2C2_SDA_PIN PB11 + #define LED0_PIN PE3 #define LED1_PIN PE4 + #define SPI1_SCK_PIN PA5 #define SPI2_SCK_PIN PB13 #define SPI3_SCK_PIN PB3 @@ -93,10 +99,13 @@ #define ADC_RSSI_PIN PC5 #define ADC_CURR_PIN PC1 #define ADC_EXTERNAL1_PIN PC4 + #define PINIO1_PIN PD10 #define PINIO2_PIN PD11 + #define FLASH_CS_PIN PE2 #define MAX7456_SPI_CS_PIN PB12 + #define GYRO_1_EXTI_PIN PB2 #define GYRO_2_EXTI_PIN PE15 #define GYRO_1_CS_PIN PC15 From 1dba26b283ebc99154ad843a60fd4e0451703afe Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 24 Dec 2024 01:56:31 +0100 Subject: [PATCH 06/10] Fix timer map index --- configs/BLADE_PRO_H7/config.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/configs/BLADE_PRO_H7/config.h b/configs/BLADE_PRO_H7/config.h index cc4593a5..9bb71313 100644 --- a/configs/BLADE_PRO_H7/config.h +++ b/configs/BLADE_PRO_H7/config.h @@ -112,20 +112,20 @@ #define GYRO_2_CS_PIN PE11 #define TIMER_PIN_MAPPING \ - TIMER_PIN_MAP( 0, PA15, 1, 0) \ - TIMER_PIN_MAP( 0, PB0 , 2, 0 ) \ - TIMER_PIN_MAP( 1, PB1 , 2, 1 ) \ - TIMER_PIN_MAP( 2, PA0 , 2, 2 ) \ - TIMER_PIN_MAP( 3, PA1 , 2, 3 ) \ - TIMER_PIN_MAP( 4, PA2 , 2, 4 ) \ - TIMER_PIN_MAP( 5, PA3 , 2, 5 ) \ - TIMER_PIN_MAP( 6, PD12, 1, 6 ) \ - TIMER_PIN_MAP( 7, PD13, 1, 7 ) \ - TIMER_PIN_MAP( 8, PD14, 1, -1 ) \ - TIMER_PIN_MAP( 9, PD15, 1, -1 ) \ - TIMER_PIN_MAP( 10, PE5 , 1, -1 ) \ - TIMER_PIN_MAP( 11, PE6 , 1, -1 ) \ - TIMER_PIN_MAP( 12, PA8 , 1, 10 ) + TIMER_PIN_MAP( 0, PA15, 1, 0) \ + TIMER_PIN_MAP( 1, PB0 , 2, 0 ) \ + TIMER_PIN_MAP( 2, PB1 , 2, 1 ) \ + TIMER_PIN_MAP( 3, PA0 , 2, 2 ) \ + TIMER_PIN_MAP( 4, PA1 , 2, 3 ) \ + TIMER_PIN_MAP( 5, PA2 , 2, 4 ) \ + TIMER_PIN_MAP( 6, PA3 , 2, 5 ) \ + TIMER_PIN_MAP( 7, PD12, 1, 6 ) \ + TIMER_PIN_MAP( 8, PD13, 1, 7 ) \ + TIMER_PIN_MAP( 9, PD14, 1, -1 ) \ + TIMER_PIN_MAP( 10, PD15, 1, -1 ) \ + TIMER_PIN_MAP( 11, PE5 , 1, -1 ) \ + TIMER_PIN_MAP( 12, PE6 , 1, -1 ) \ + TIMER_PIN_MAP( 13, PA8 , 1, 10 ) #define ADC1_DMA_OPT 8 #define ADC3_DMA_OPT 9 From 0459ba39e3f6c55793f3220911fb4ed3811ae64f Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 24 Dec 2024 22:15:54 +0100 Subject: [PATCH 07/10] Update configs/BLADE_PRO_H7/config.h Co-authored-by: ot0tot <36753790+ot0tot@users.noreply.github.com> --- configs/BLADE_PRO_H7/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/BLADE_PRO_H7/config.h b/configs/BLADE_PRO_H7/config.h index 9bb71313..7f704fdd 100644 --- a/configs/BLADE_PRO_H7/config.h +++ b/configs/BLADE_PRO_H7/config.h @@ -112,7 +112,7 @@ #define GYRO_2_CS_PIN PE11 #define TIMER_PIN_MAPPING \ - TIMER_PIN_MAP( 0, PA15, 1, 0) \ + TIMER_PIN_MAP( 0, PA15, 1, -1) \ TIMER_PIN_MAP( 1, PB0 , 2, 0 ) \ TIMER_PIN_MAP( 2, PB1 , 2, 1 ) \ TIMER_PIN_MAP( 3, PA0 , 2, 2 ) \ From 860dba1d21cc58fb0ffbbc9affcd6933d10bb0e0 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 24 Dec 2024 22:16:09 +0100 Subject: [PATCH 08/10] Update configs/BLADE_PRO_H7/config.h Co-authored-by: ot0tot <36753790+ot0tot@users.noreply.github.com> --- configs/BLADE_PRO_H7/config.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configs/BLADE_PRO_H7/config.h b/configs/BLADE_PRO_H7/config.h index 7f704fdd..40bd7469 100644 --- a/configs/BLADE_PRO_H7/config.h +++ b/configs/BLADE_PRO_H7/config.h @@ -129,10 +129,6 @@ #define ADC1_DMA_OPT 8 #define ADC3_DMA_OPT 9 -#define TIMUP1_DMA_OPT 0 -#define TIMUP3_DMA_OPT 0 -#define TIMUP4_DMA_OPT 0 -#define TIMUP5_DMA_OPT 0 #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH #define MAG_I2C_INSTANCE I2CDEV_1 From 06de6692a76d0fcf8e15278bf9d52f0d63e57cb3 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 24 Dec 2024 22:16:26 +0100 Subject: [PATCH 09/10] Update configs/BLADE_PRO_H7/config.h Co-authored-by: ot0tot <36753790+ot0tot@users.noreply.github.com> --- configs/BLADE_PRO_H7/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/BLADE_PRO_H7/config.h b/configs/BLADE_PRO_H7/config.h index 40bd7469..175e6eb0 100644 --- a/configs/BLADE_PRO_H7/config.h +++ b/configs/BLADE_PRO_H7/config.h @@ -131,6 +131,7 @@ #define ADC3_DMA_OPT 9 #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH +#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_ON #define MAG_I2C_INSTANCE I2CDEV_1 #define BARO_I2C_INSTANCE I2CDEV_2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH From d98013488b5e8d6f3698149165342c1fa5374a60 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 24 Dec 2024 22:16:46 +0100 Subject: [PATCH 10/10] Update configs/BLADE_PRO_H7/config.h Co-authored-by: ot0tot <36753790+ot0tot@users.noreply.github.com> --- configs/BLADE_PRO_H7/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/BLADE_PRO_H7/config.h b/configs/BLADE_PRO_H7/config.h index 175e6eb0..59de50db 100644 --- a/configs/BLADE_PRO_H7/config.h +++ b/configs/BLADE_PRO_H7/config.h @@ -141,8 +141,8 @@ #define BEEPER_INVERTED #define MAX7456_SPI_INSTANCE SPI2 #define PINIO1_CONFIG 129 -#define PINIO1_BOX 39 -#define PINIO2_BOX 40 +#define PINIO1_BOX 40 +#define PINIO2_BOX 41 #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG