diff --git a/configs/HGLRC_H743_LITE/config.h b/configs/HGLRC_H743_LITE/config.h index c9f4fe806..57742f215 100644 --- a/configs/HGLRC_H743_LITE/config.h +++ b/configs/HGLRC_H743_LITE/config.h @@ -30,6 +30,9 @@ #define USE_ACC_SPI_ICM42688P #define USE_GYRO #define USE_GYRO_SPI_ICM42688P +#define USE_ACCGYRO_LSM6DSV16X +#define USE_ACCGYRO_LSM6DSK320X + #define USE_BARO #define USE_BARO_DPS310 #define USE_MAX7456 @@ -42,8 +45,6 @@ #define GYRO_1_EXTI_PIN PC5 #define GYRO_1_CS_PIN PA4 #define GYRO_1_SPI_INSTANCE SPI1 -#define USE_GYRO_CLKIN -#define GYRO_1_CLKIN_PIN PC6 #define GYRO_1_ALIGN CW180_DEG_FLIP #define SPI2_SCK_PIN PB13 @@ -94,13 +95,12 @@ #define ADC_CURR_PIN PC1 #define TIMER_PIN_MAPPING \ - TIMER_PIN_MAP(0, BEEPER_PIN, 1, -1) \ - TIMER_PIN_MAP(1, MOTOR1_PIN, 1, 0) \ - TIMER_PIN_MAP(2, MOTOR2_PIN, 1, 1) \ - TIMER_PIN_MAP(3, MOTOR3_PIN, 1, 2) \ - TIMER_PIN_MAP(4, MOTOR4_PIN, 1, 3) \ - TIMER_PIN_MAP(5, LED_STRIP_PIN, 1, 8) \ - TIMER_PIN_MAP(6, GYRO_1_CLKIN_PIN, 1, -1) + TIMER_PIN_MAP(0, BEEPER_PIN, 1, -1) \ + TIMER_PIN_MAP(1, MOTOR1_PIN, 1, 0) \ + TIMER_PIN_MAP(2, MOTOR2_PIN, 1, 1) \ + TIMER_PIN_MAP(3, MOTOR3_PIN, 1, 2) \ + TIMER_PIN_MAP(4, MOTOR4_PIN, 1, 3) \ + TIMER_PIN_MAP(5, LED_STRIP_PIN, 1, 8) #define ADC1_DMA_OPT 9 #define ADC3_DMA_OPT 10 @@ -114,9 +114,12 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_VOLTAGE_METER_SCALE 210 -#define PINIO1_PIN PC13 +#define PINIO1_PIN PE2 #define PINIO1_BOX 40 -#define PINIO1_CONFIG 129 -#define BOX_USER1_NAME "12V BEC" +#define BOX_USER1_NAME "Cam1,2" + +#define PINIO2_PIN PC13 +#define PINIO2_BOX 41 +#define BOX_USER2_NAME "12V BEC" #define BEEPER_INVERTED