From 7f376b5417209d8ad7b391ce4e25c2e763d42235 Mon Sep 17 00:00:00 2001 From: SugaarK <83344205+sugaarK@users.noreply.github.com> Date: Tue, 23 Jul 2024 16:48:42 +1000 Subject: [PATCH] fix YYRC targets --- configs/EAGLEF405/config.h | 9 +++++---- configs/EAGLEF722/config.h | 6 ++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/configs/EAGLEF405/config.h b/configs/EAGLEF405/config.h index d9c2af8b..5c8d72c5 100644 --- a/configs/EAGLEF405/config.h +++ b/configs/EAGLEF405/config.h @@ -50,14 +50,15 @@ #define UART2_TX_PIN PA2 #define UART3_TX_PIN PB10 #define UART4_TX_PIN PA0 +#define UART5_TX_PIN PC12 #define UART6_TX_PIN PC6 -#define UART1_RX_PIN PA7 +#define UART1_RX_PIN PB7 #define UART2_RX_PIN PA3 #define UART3_RX_PIN PC11 #define UART4_RX_PIN PA1 #define UART5_RX_PIN PD2 #define UART6_RX_PIN PC7 -#define INVERTER_PIN_UART1 PC0 +#define INVERTER_PIN_UART1 PC0 #define I2C1_SCL_PIN PB8 #define I2C1_SDA_PIN PB9 #define LED0_PIN PC15 @@ -72,13 +73,13 @@ #define SPI2_SDO_PIN PB15 #define SPI3_SDO_PIN PB5 #define ADC_VBAT_PIN PC5 +#define ADC_RSSI_PIN PC2 #define ADC_CURR_PIN PC3 #define FLASH_CS_PIN PB12 #define MAX7456_SPI_CS_PIN PA15 #define GYRO_1_EXTI_PIN PC4 -#define GYRO_1_CS_PIN PA0 +#define GYRO_1_CS_PIN PA4 #define USB_DETECT_PIN PA10 -#define PULLDOWN_PIN_UART1 PC0 #define PINIO1_PIN PC1 #define TIMER_PIN_MAPPING \ diff --git a/configs/EAGLEF722/config.h b/configs/EAGLEF722/config.h index ecb095b2..f7a22696 100644 --- a/configs/EAGLEF722/config.h +++ b/configs/EAGLEF722/config.h @@ -50,8 +50,9 @@ #define UART2_TX_PIN PA2 #define UART3_TX_PIN PB10 #define UART4_TX_PIN PA0 +#define UART5_TX_PIN PC12 #define UART6_TX_PIN PC6 -#define UART1_RX_PIN PA7 +#define UART1_RX_PIN PB7 #define UART2_RX_PIN PA3 #define UART3_RX_PIN PC11 #define UART4_RX_PIN PA1 @@ -71,11 +72,12 @@ #define SPI2_SDO_PIN PB15 #define SPI3_SDO_PIN PB5 #define ADC_VBAT_PIN PB0 +#define ADC_RSSI_PIN PC2 #define ADC_CURR_PIN PC3 #define FLASH_CS_PIN PB12 #define MAX7456_SPI_CS_PIN PA15 #define GYRO_1_EXTI_PIN PC4 -#define GYRO_1_CS_PIN PA0 +#define GYRO_1_CS_PIN PA4 #define USB_DETECT_PIN PA10 #define PINIO1_PIN PC1