From 6095615dd6b66f8a04ba345c1d5546b127e07a37 Mon Sep 17 00:00:00 2001 From: Chan-hunter <1164248684@qq.com> Date: Fri, 26 Jan 2024 10:58:55 +0800 Subject: [PATCH] Add BETAFPVG473.config --- configs/default/BEFH-BETAFPVG473.config | 116 ++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 configs/default/BEFH-BETAFPVG473.config diff --git a/configs/default/BEFH-BETAFPVG473.config b/configs/default/BEFH-BETAFPVG473.config new file mode 100644 index 000000000..958c5c50b --- /dev/null +++ b/configs/default/BEFH-BETAFPVG473.config @@ -0,0 +1,116 @@ +# Betaflight / STM32G47X (SG47) 4.3.0 Jun 14 2022 / 00:51:21 (229ac66) MSP API: 1.44 + +#define USE_GYRO +#define USE_ACC +#define USE_GYRO_SPI_ICM42688P +#define USE_ACC_SPI_ICM42688P +#define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_SPI_BMP280 +#define USE_BARO_SPI_DPS310 +#define USE_FLASH +#define USE_FLASH_M25P16 +#define USE_MAX7456 +board_name BETAFPVG473 +manufacturer_id BEFH + +# resource +resource BEEPER 1 A08 +resource MOTOR 1 B00 +resource MOTOR 2 B01 +resource MOTOR 3 B06 +resource MOTOR 4 C13 +resource LED_STRIP 1 B02 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 C10 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 C11 +resource I2C_SCL 1 A15 +resource I2C_SDA 1 B07 +resource LED 1 C15 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 B03 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MISO 3 B04 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource SPI_MOSI 3 B05 +resource ADC_BATT 1 A00 +resource ADC_CURR 1 A01 +resource BARO_CS 1 C06 +resource FLASH_CS 1 C14 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 A04 + +# timer +timer B02 AF2 +# pin B02: TIM5 CH1 (AF2) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer B06 AF5 +# pin B06: TIM8 CH1 (AF5) +timer C13 AF6 +# pin C13: TIM8 CH4N (AF6) + +# dma +dma SPI_MOSI 1 7 +# SPI_MOSI 1: DMA1 Channel 8 Request 11 +dma SPI_MOSI 2 8 +# SPI_MOSI 2: DMA2 Channel 1 Request 13 +dma SPI_MOSI 3 9 +# SPI_MOSI 3: DMA2 Channel 2 Request 15 +dma SPI_MISO 1 10 +# SPI_MISO 1: DMA2 Channel 3 Request 10 +dma SPI_MISO 2 11 +# SPI_MISO 2: DMA2 Channel 4 Request 12 +dma SPI_MISO 3 12 +# SPI_MISO 3: DMA2 Channel 5 Request 14 +dma ADC 1 6 +# ADC 1: DMA1 Channel 7 Request 5 +dma pin B02 1 +# pin B02: DMA1 Channel 2 Request 72 +dma pin B00 2 +# pin B00: DMA1 Channel 3 Request 63 +dma pin B01 3 +# pin B01: DMA1 Channel 4 Request 64 +dma pin B06 4 +# pin B06: DMA1 Channel 5 Request 49 +dma pin C13 5 +# pin C13: DMA1 Channel 6 Request 52 + +# feature +feature RX_SERIAL +feature TELEMETRY +feature OSD +feature AIRMODE + +# serial +serial 1 64 115200 57600 0 115200 + +# master +set baro_spi_device = 2 +set baro_hardware = BMP280 +set serialrx_provider = CRSF +set blackbox_device = SPIFLASH +set dshot_idle_value = 450 +set dshot_burst = OFF +set dshot_bitbang = OFF +set current_meter = ADC +set battery_meter = ADC +set beeper_inversion = ON +set beeper_od = OFF +set max7456_spi_bus = 2 +set flash_spi_bus = 3 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW180 +set gyro_1_align_yaw = 1800 \ No newline at end of file