diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9fe992bbc..2b9e1c2d7 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - id: files - uses: tj-actions/changed-files@v34 + uses: tj-actions/changed-files@v41 with: files: | configs/default/** diff --git a/Manufacturers.md b/Manufacturers.md index 5976a28ca..b1f81281e 100644 --- a/Manufacturers.md +++ b/Manufacturers.md @@ -18,19 +18,23 @@ This is the official list of manufacturer ids (`manufacturer_id` in the target c |AXFL|Axisflying|https://www.axisflying.com/| |BEFH|BETAFPV Hobby|https://betafpv.com/| |BKMN|Jason Blackman|https://github.com/blckmn| +|BSTF|BEASTFPV|http://www.beastfpv.com/| |CLRA|CLRACING LLC|https://cl-racing.myshopify.com/| |CYCL|CycloneRC|http://www.cyclone-rc.com| |DAFP|DarwinFPV|https://darwinfpv.com/| |DALR|DALRC TECHNOLOGY CO,.LIMITED|http://www.dalrc.cn/DALRC/| |DERC|DemonRC|https://demonrc.eu/| |DFRA|Drone FPV Racer|https://www.drone-fpv-racer.com/| +|DFRC|Shenzhen Jingfei Technology Co., LTD|https://dreamflyrc.com/| |DIAT|Diatone Innovations|https://www.diatoneusa.com/| |DRCL|dronercland|https://www.instagram.com/dronercland/| +|DREA|DREAMRC|https://github.com/Dreamworks-fpv| |DRRC|DroidRC|https://github.com/xiaoxiabub| |DYST|DongYang Smart Technology Co.,Ltd (dys)|http://www.dys.hk/| |EACH|eachine|https://www.eachine.com/| |EXUA|EXUAV FPV|https://github.com/Linjieqiang| |FFPV|Furious FPV|https://furiousfpv.com/| +|FFRC|FlyFishRC|https://www.flyfish-rc.com/| |FLCO|Shenzhen Flycolor Electronic Co., LTD|http://www.flycolor.net/| |FLLF|Flying Lemon FPV|https://github.com/flyinglemonfpv| |FLMO|FlyMod|https://flymod.net/| @@ -52,11 +56,12 @@ This is the official list of manufacturer ids (`manufacturer_id` in the target c |HNEC|Huizhou NIDICI Electronic Co., LTD|https://shop.nidici.com/| |HOWI|Hobbywing Technology CO., LTD.|http://hobbywing.com/| |IFRC|iFlight Innovation Technology Ltd.|https://www.iflight-rc.com/| -|JHEF|JHE\_FPV|https://github.com/atgfpeyv| +|JHEF|JHE\_FPV|https://www.jhemcu.com/| |KLEE|Kevin Lee (WhitenoiseFPV)|https://whitenoisefpv.com/| |LDAR|LDARC|http://ldarc.com/| |LMNR|Lumenier|https://www.lumenier.com/| |MARC|Mayhem RC|https://mayhemrc.com.au/| +|MEPS|MepsKing|https://www.mepsking.com/| |MERA|MerakRC|http://www.merakrc.com/| |MOLA|MotoLab|https://github.com/MotoLab| |MOQU|Modd Quad|https://www.moddquad.com/| @@ -66,6 +71,7 @@ This is the official list of manufacturer ids (`manufacturer_id` in the target c |NEBD|NewBeeDrone|https://newbeedrone.com/| |NERC|NeutronRC|https://www.facebook.com/Neutronrc-575638996448880| |NGUA|NG.UAVP|https://ng.uavp.ch/Shop| +|ODTY|OddityRC|http://www.oddityrc.com| |OPEN|OpenPilot|https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/31588369/Supported+Hardware| |PYDR|Pyro-Drone|https://pyrodrone.com/| |RAST|Racerstar|https://www.racerstar.com/| diff --git a/configs/default/AIRB-AIRBOTG4AIO.config b/configs/default/AIRB-AIRBOTG4AIO.config index ffcaca514..475f4040f 100644 --- a/configs/default/AIRB-AIRBOTG4AIO.config +++ b/configs/default/AIRB-AIRBOTG4AIO.config @@ -6,6 +6,7 @@ #define USE_BARO_DPS310 #define USE_GYRO #define USE_GYRO_SPI_ICM42688P +#define USE_ACCGYRO_LSM6DVS16X #define USE_FLASH #define USE_FLASH_W25Q128FV #define USE_MAX7456 diff --git a/configs/default/JHEF-JHEF405.config b/configs/default/BSTF-BEASTFPVF722.config similarity index 51% rename from configs/default/JHEF-JHEF405.config rename to configs/default/BSTF-BEASTFPVF722.config index 848e8aa22..7224de9f6 100644 --- a/configs/default/JHEF-JHEF405.config +++ b/configs/default/BSTF-BEASTFPVF722.config @@ -1,39 +1,52 @@ -# Betaflight / STM32F405 (S405) 4.2.0 Nov 22 2020 / 18:38:23 (afdac08b3) MSP API: 1.43 +# Betaflight / STM32F7X2 (S7X2) 4.3.2 Nov 28 2022 / 07:30:19 (60c9521) MSP API: 1.44 -board_name JHEF405 -manufacturer_id JHEF +#mcu STM32F7X2 -#define USE_GYRO -#define USE_GYRO_SPI_MPU6000 #define USE_ACC #define USE_ACC_SPI_MPU6000 -#define USE_ACCGYRO_BMI270 +#define USE_ACC_SPI_ICM42688P #define USE_BARO +#define USE_BARO_BMP280 #define USE_BARO_DPS310 #define USE_FLASH -#define USE_FLASH_M25P16 +#define USE_FLASH_W25Q128FV +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P #define USE_MAX7456 +board_name BEASTFPVF722 +manufacturer_id BSTF + # resources -resource BEEPER 1 B04 -resource MOTOR 1 B00 -resource MOTOR 2 B01 -resource MOTOR 3 C09 -resource MOTOR 4 C08 -resource MOTOR 5 B06 -resource PPM 1 B08 -resource PWM 1 B08 -resource LED_STRIP 1 B06 -resource SERIAL_TX 1 A09 +resource BEEPER 1 C13 +resource MOTOR 1 C08 +resource MOTOR 2 C09 +resource MOTOR 3 A08 +resource MOTOR 4 A09 +resource MOTOR 5 B00 +resource MOTOR 6 B01 +resource MOTOR 7 A10 +resource MOTOR 8 B04 +resource LED_STRIP 1 B03 +resource SERIAL_TX 1 B06 resource SERIAL_TX 2 A02 resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 resource SERIAL_TX 6 C06 -resource SERIAL_RX 1 A10 +resource SERIAL_RX 1 B07 resource SERIAL_RX 2 A03 resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 resource SERIAL_RX 6 C07 -resource INVERTER 2 C13 -resource LED 1 B05 + +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 + +resource LED 1 C15 + resource SPI_SCK 1 A05 resource SPI_SCK 2 B13 resource SPI_SCK 3 C10 @@ -42,87 +55,88 @@ resource SPI_MISO 2 B14 resource SPI_MISO 3 C11 resource SPI_MOSI 1 A07 resource SPI_MOSI 2 B15 -resource SPI_MOSI 3 C12 -resource ESCSERIAL 1 B08 -resource ADC_BATT 1 C02 -resource ADC_CURR 1 C01 +resource SPI_MOSI 3 B05 + +resource ADC_BATT 1 C01 +resource ADC_CURR 1 C03 + +resource PINIO 1 C02 +resource PINIO 2 C14 + resource FLASH_CS 1 A15 resource OSD_CS 1 B12 resource GYRO_EXTI 1 C04 resource GYRO_CS 1 A04 -resource USB_DETECT 1 C05 -resource PULLDOWN 1 B08 # timer -timer B08 AF3 -# pin B08: TIM10 CH1 (AF3) -timer B00 AF2 -# pin B00: TIM3 CH3 (AF2) -timer B01 AF2 -# pin B01: TIM3 CH4 (AF2) -timer C09 AF3 -# pin C09: TIM8 CH4 (AF3) timer C08 AF3 # pin C08: TIM8 CH3 (AF3) -timer B06 AF2 -# pin B06: TIM4 CH1 (AF2) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) timer A09 AF1 # pin A09: TIM1 CH2 (AF1) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) timer A10 AF1 # pin A10: TIM1 CH3 (AF1) -timer A02 AF2 -# pin A02: TIM5 CH3 (AF2) -timer A03 AF3 -# pin A03: TIM9 CH2 (AF3) -timer B10 AF1 -# pin B10: TIM2 CH3 (AF1) -timer B11 AF1 -# pin B11: TIM2 CH4 (AF1) +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) # dma -dma ADC 1 1 -# ADC 1: DMA2 Stream 4 Channel 0 -dma pin B00 0 -# pin B00: DMA1 Stream 7 Channel 5 -dma pin B01 0 -# pin B01: DMA1 Stream 2 Channel 5 -dma pin C09 0 -# pin C09: DMA2 Stream 7 Channel 7 +dma ADC 3 0 +# ADC 3: DMA2 Stream 0 Channel 2 dma pin C08 0 # pin C08: DMA2 Stream 2 Channel 0 -dma pin B06 0 -# pin B06: DMA1 Stream 0 Channel 2 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 dma pin A09 0 # pin A09: DMA2 Stream 6 Channel 0 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 dma pin A10 0 # pin A10: DMA2 Stream 6 Channel 0 -dma pin A02 0 -# pin A02: DMA1 Stream 0 Channel 6 -dma pin B10 0 -# pin B10: DMA1 Stream 1 Channel 3 -dma pin B11 0 -# pin B11: DMA1 Stream 7 Channel 3 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 # feature feature RX_SERIAL +feature TELEMETRY feature OSD +# serial +serial 1 64 115200 57600 0 115200 + # master set mag_bustype = I2C -set mag_i2c_device = 2 +set mag_i2c_device = 1 set baro_bustype = I2C -set baro_i2c_device = 2 +set baro_i2c_device = 1 +set serialrx_provider = CRSF +set adc_device = 3 set blackbox_device = SPIFLASH +set dshot_burst = ON set current_meter = ADC set battery_meter = ADC +set ibata_scale = 250 set beeper_inversion = ON set beeper_od = OFF -set osd_vbat_pos = 14570 -set osd_crosshairs_pos = 14541 -set system_hse_mhz = 8 set max7456_spi_bus = 2 -set dashboard_i2c_bus = 2 +set pinio_config = 129,129,1,1 +set pinio_box = 40,41,255,255 set flash_spi_bus = 3 set gyro_1_bustype = SPI set gyro_1_spibus = 1 set gyro_1_sensor_align = CW90 +set gyro_1_align_yaw = 900 diff --git a/configs/default/CLNE-FREEAXISF4.config b/configs/default/CLNE-FREEAXISF4.config new file mode 100644 index 000000000..3fffa9da8 --- /dev/null +++ b/configs/default/CLNE-FREEAXISF4.config @@ -0,0 +1,125 @@ +# Betaflight / STM32F411 (S411) 4.1.0 Jun 25 2019 / 10:27:57 (2a6e94d03) MSP API: 1.42 + +#mcu STM32F411 + +#define USE_GYRO +#define USE_ACC +#define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_FLASH +#define USE_FLASH_W25N01G +#define USE_MAX7456 + +board_name FREEAXISF4 +manufacturer_id CLNE + +# resources +resource BEEPER 1 B02 +resource MOTOR 1 B04 +resource MOTOR 2 B05 +resource MOTOR 3 B06 +resource MOTOR 4 B07 +resource MOTOR 5 B03 +resource MOTOR 6 B10 +resource PPM 1 A03 +resource LED_STRIP 1 A08 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_TX 12 A00 +resource SERIAL_RX 12 A00 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 C13 +resource LED 2 C14 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource ADC_BATT 1 B00 +resource ADC_CURR 1 B01 +resource FLASH_CS 1 A15 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 A01 +resource GYRO_EXTI 2 NONE +resource GYRO_CS 1 A04 +resource USB_DETECT 1 C15 + +# timer list +timer A03 AF3 +# pin A03: TIM9 CH2 (AF3) +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer B05 AF2 +# pin B05: TIM3 CH2 (AF2) +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) +timer B10 AF1 +# pin B10: TIM2 CH3 (AF1) +timer A00 AF2 +# pin A00: TIM5 CH1 (AF2) +timer A02 AF2 +# pin A02: TIM5 CH3 (AF2) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) + +# dma +dma ADC 1 1 +# ADC 1: DMA2 Stream 4 Channel 0 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin B05 0 +# pin B05: DMA1 Stream 5 Channel 5 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 +dma pin B10 0 +# pin B10: DMA1 Stream 1 Channel 3 +dma pin A00 0 +# pin A00: DMA1 Stream 2 Channel 6 +dma pin A02 0 +# pin A02: DMA1 Stream 0 Channel 6 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 + +# feature +feature RX_SERIAL +feature SOFTSERIAL +feature TELEMETRY +feature OSD +feature AIRMODE + +# master +set dshot_burst = OFF +set dshot_bitbang = OFF +set mag_bustype = I2C +set mag_i2c_device = 1 +set mag_hardware = NONE +set baro_bustype = I2C +set baro_i2c_device = 1 +set baro_hardware = NONE +set current_meter = ADC +set battery_meter = ADC +set vbat_detect_cell_voltage = 300 +set beeper_inversion = ON +set beeper_od = OFF +set system_hse_mhz = 8 +set flash_spi_bus = 2 +set blackbox_device = SPIFLASH +set max7456_spi_bus = 2 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_i2cBus = 0 +set gyro_1_i2c_address = 0 +set gyro_1_sensor_align = CW180 diff --git a/configs/default/DFRA-DFR_F722_DUAL_HD.config b/configs/default/DFRA-DFR_F722_DUAL_HD.config index fecb408c0..58663a368 100644 --- a/configs/default/DFRA-DFR_F722_DUAL_HD.config +++ b/configs/default/DFRA-DFR_F722_DUAL_HD.config @@ -3,6 +3,17 @@ board_name DFR_F722_DUAL_HD manufacturer_id DFRA +#define USE_ACC +#define USE_BARO +#define USE_FLASH +#define USE_GYRO + +#define USE_ACC_SPI_ICM20689 +#define USE_BARO_BMP280 +#define USE_FLASH_W25Q128FV +#define USE_GYRO_SPI_ICM20689 +#define USE_MAX7456 + # resources resource BEEPER 1 C15 resource MOTOR 1 C08 diff --git a/configs/default/DFRC-DREAMFLYF411.config b/configs/default/DFRC-DREAMFLYF411.config new file mode 100644 index 000000000..435b5296f --- /dev/null +++ b/configs/default/DFRC-DREAMFLYF411.config @@ -0,0 +1,100 @@ +# Betaflight / STM32F411 (S411) 4.3.0 Jun 14 2022 / 00:48:04 (229ac66) MSP API: 1.44 + +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM42688P +#define USE_ACCGYRO_BMI270 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_MAX7456 + +board_name DREAMFLYF411 +manufacturer_id DFRC + +# resources +resource BEEPER 1 C15 +resource MOTOR 1 B10 +resource MOTOR 2 B06 +resource MOTOR 3 B07 +resource MOTOR 4 B08 +resource PPM 1 A10 +resource LED_STRIP 1 A00 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource LED 1 C13 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource ADC_BATT 1 B00 +resource ADC_CURR 1 B01 +resource FLASH_CS 1 A14 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 A01 +resource GYRO_CS 1 A04 + +# timer +timer B10 AF1 +# pin B10: TIM2 CH3 (AF1) +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer B08 AF2 +# pin B08: TIM4 CH3 (AF2) +timer A00 AF2 +# pin A00: TIM5 CH1 (AF2) +timer A09 AF1 +# pin A09: TIM1 CH2 (AF1) +timer A10 AF1 +# pin A10: TIM1 CH3 (AF1) + +# dma +dma ADC 1 0 +# ADC 1: DMA2 Stream 0 Channel 0 +dma pin B10 0 +# pin B10: DMA1 Stream 1 Channel 3 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin B08 0 +# pin B08: DMA1 Stream 7 Channel 2 +dma pin A00 0 +# pin A00: DMA1 Stream 2 Channel 6 +dma pin A09 0 +# pin A09: DMA2 Stream 6 Channel 0 +dma pin A10 0 +# pin A10: DMA2 Stream 6 Channel 0 + + +# feature +feature LED_STRIP +feature OSD +feature RX_SERIAL + +# serial +serial 0 64 115200 57600 0 115200 + +# master +set serialrx_provider = CRSF +set blackbox_device = SPIFLASH +set dshot_burst = AUTO +set dshot_bitbang = OFF +set current_meter = ADC +set battery_meter = ADC +set beeper_inversion = ON +set beeper_od = OFF +set system_hse_mhz = 8 +set max7456_spi_bus = 2 +set flash_spi_bus = 2 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW270 diff --git a/configs/default/DIAT-FURYF4OSD.config b/configs/default/DIAT-FURYF4OSD.config index b57bdb1ff..595bd6887 100644 --- a/configs/default/DIAT-FURYF4OSD.config +++ b/configs/default/DIAT-FURYF4OSD.config @@ -12,6 +12,7 @@ #define USE_GYRO_SPI_ICM42688P #define USE_BARO #define USE_BARO_BMP280 +#define USE_BARO_DPS310 #define USE_FLASH #define USE_FLASH_W25Q128FV #define USE_MAX7456 @@ -108,7 +109,7 @@ set beeper_od = OFF set baro_bustype = I2C set baro_i2c_device = 1 set mag_bustype = I2C -set mag_i2c_address = 1 +set mag_i2c_device = 1 set system_hse_mhz = 8 set max7456_spi_bus = 2 set dashboard_i2c_bus = 1 diff --git a/configs/default/DIAT-MAMBAF722_I2C.config b/configs/default/DIAT-MAMBAF722_I2C.config index 5b868cd8c..85c0d1d8a 100644 --- a/configs/default/DIAT-MAMBAF722_I2C.config +++ b/configs/default/DIAT-MAMBAF722_I2C.config @@ -8,6 +8,7 @@ #define USE_ACC_SPI_MPU6500 #define USE_BARO #define USE_BARO_BMP280 +#define USE_BARO_DPS310 #define USE_FLASH #define USE_FLASH_W25Q128FV #define USE_MAX7456 diff --git a/configs/default/DREA-DREAMWORKSF722.config b/configs/default/DREA-DREAMWORKSF722.config new file mode 100644 index 000000000..cca7aa331 --- /dev/null +++ b/configs/default/DREA-DREAMWORKSF722.config @@ -0,0 +1,143 @@ +# Betaflight / STM32F7X2 (S7X2) 4.0.0 Mar 26 2019 / 19:51:34 (173e958da) MSP API: 1.41 + +#define USE_ACC +#define USE_BARO +#define USE_FLASH +#define USE_GYRO + +#define USE_ACC_SPI_MPU6000 +#define USE_GYRO_SPI_MPU6000 +#define USE_ACC_SPI_ICM20689 +#define USE_GYRO_SPI_ICM20689 +#define USE_GYRO_SPI_ICM42688P +#define USE_ACC_SPI_ICM42688P +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_FLASH_M25P16 +#define USE_MAX7456 + +board_name DREAMWORKSF722 +manufacturer_id DREA + +# resources +resource BEEPER 1 C15 +resource MOTOR 1 B00 +resource MOTOR 2 B01 +resource MOTOR 3 B04 +resource MOTOR 4 B03 +resource MOTOR 5 C09 +resource MOTOR 6 C08 +resource LED_STRIP 1 A08 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 +resource I2C_SCL 1 B06 +resource I2C_SDA 1 B07 +resource LED 1 A15 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 C10 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MISO 3 C11 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource SPI_MOSI 3 B05 +resource ADC_BATT 1 C02 +resource ADC_RSSI 1 C00 +resource ADC_CURR 1 C01 +resource PINIO 1 C14 +resource PINIO 2 B09 +resource FLASH_CS 1 C13 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_EXTI 2 C03 +resource GYRO_CS 1 B02 +resource GYRO_CS 2 A04 + +# timer +timer A03 AF3 +# pin A03: TIM9 CH2 (AF3) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer B08 AF2 +# pin B08: TIM4 CH3 (AF2) + +# dma +dma ADC 3 1 +# ADC 3: DMA2 Stream 1 Channel 2 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin C08 0 +# pin C08: DMA2 Stream 2 Channel 0 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 +dma pin B08 0 +# pin B08: DMA1 Stream 7 Channel 2 + +# feature +feature RX_SERIAL +feature MOTOR_STOP +feature LED_STRIP +feature OSD + +# master +set gyro_to_use = SECOND +set mag_hardware = NONE +set mag_bustype = I2C +set mag_i2c_device = 1 +set baro_bustype = I2C +set baro_i2c_device = 1 +set serialrx_provider = CRSF +set adc_device = 3 +set blackbox_device = SPIFLASH +set dshot_burst = ON +set dshot_bidir = ON +set motor_pwm_protocol = DSHOT600 +set align_board_yaw = -45 +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 170 +set beeper_inversion = ON +set beeper_od = OFF +set osd_vbat_pos = 2282 +set osd_current_pos = 2314 +set max7456_spi_bus = 2 +set pinio_box = 40,41,255,255 +set flash_spi_bus = 3 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW90 +set gyro_1_align_yaw = 900 +set gyro_2_spibus = 1 +set gyro_2_sensor_align = CW270 +set gyro_2_align_yaw = 2700 diff --git a/configs/default/FFRC-FLYFISHRCF405.config b/configs/default/FFRC-FLYFISHRCF405.config new file mode 100644 index 000000000..bea2e3607 --- /dev/null +++ b/configs/default/FFRC-FLYFISHRCF405.config @@ -0,0 +1,120 @@ +# Betaflight / STM32F405 (S405) 4.4.0 + +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM42688P +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P +#define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_MAX7456 + +board_name FLYFISHRCF405 +manufacturer_id FFRC + +# resources +resource BEEPER 1 C13 +resource MOTOR 1 C08 +resource MOTOR 2 C09 +resource MOTOR 3 A08 +resource MOTOR 4 A09 + +resource LED_STRIP 1 B03 + +resource SERIAL_TX 1 B06 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 B07 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 + +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 + +resource LED 1 C14 +resource LED 2 C15 + +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 C10 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MISO 3 C11 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource SPI_MOSI 3 B05 + +resource ADC_BATT 1 C01 +resource ADC_RSSI 1 C02 +resource ADC_CURR 1 C03 + +resource FLASH_CS 1 A15 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_EXTI 2 B01 +resource GYRO_CS 1 A04 +resource GYRO_CS 2 B00 + +# timer +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer A09 AF1 +# pin A09: TIM1 CH2 (AF1) +timer A10 AF1 +# pin A10: TIM1 CH3 (AF1) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) + +# dma +dma ADC 3 0 +# ADC 3: DMA2 Stream 0 Channel 2 +dma pin C08 0 +# pin C08: DMA2 Stream 2 Channel 0 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 +dma pin A09 0 +# pin A09: DMA2 Stream 6 Channel 0 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 + + +# master +set beeper_inversion = ON +set beeper_od = OFF +set baro_bustype = I2C +set baro_i2c_device = 1 +set mag_bustype = I2C +set mag_i2c_device = 1 +set adc_device = 3 +set blackbox_device = SPIFLASH +set current_meter = ADC +set battery_meter = ADC +set dshot_burst = AUTO +set ibata_scale = 100 +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 = CW90 +set gyro_1_align_yaw = 900 +set gyro_2_bustype = SPI +set gyro_2_spibus = 1 +set gyro_2_sensor_align = CW90 +set gyro_2_align_pitch = 900 diff --git a/configs/default/FHRC-FLASHHOBBYF722.config b/configs/default/FHRC-FLASHHOBBYF722.config index c7a81a3ca..72e1521e5 100644 --- a/configs/default/FHRC-FLASHHOBBYF722.config +++ b/configs/default/FHRC-FLASHHOBBYF722.config @@ -1,4 +1,5 @@ # Betaflight / STM32F7X2 (S7X2) 4.3.2 Nov 28 2022 / 07:30:19 (60c9521) MSP API: 1.44 +#mcu STM32F7X2 #define USE_GYRO #define USE_GYRO_SPI_MPU6000 diff --git a/configs/default/FLAO-FLAOF405X8 b/configs/default/FLAO-FLAOF405X8 new file mode 100644 index 000000000..ae59d89b8 --- /dev/null +++ b/configs/default/FLAO-FLAOF405X8 @@ -0,0 +1,136 @@ +# Betaflight / STM32F405 (S405) 4.4.2 May 31 2023 / 22:53:28 (23d066d) MSP API: 1.45 + +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P +#define USE_ACC_SPI_ICM42688P +#define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_MAX7456 + +board_name FLAOF405X8 +manufacturer_id FLAO + +# resources +resource BEEPER 1 B08 +resource MOTOR 1 A15 +resource MOTOR 2 A08 +resource MOTOR 3 B10 +resource MOTOR 4 B11 +resource MOTOR 5 C06 +resource MOTOR 6 C07 +resource MOTOR 7 C08 +resource MOTOR 8 C09 +resource PPM 1 A03 +resource LED_STRIP 1 B01 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 C10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 C11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource I2C_SCL 1 B06 +resource I2C_SDA 1 B07 +resource LED 1 C13 +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 ESCSERIAL 1 C11 +resource ADC_BATT 1 C02 +resource ADC_RSSI 1 C03 +resource ADC_CURR 1 C01 +resource PINIO 1 B09 +resource FLASH_CS 1 C00 +resource OSD_CS 1 A13 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 A04 +resource USB_DETECT 1 B12 + +# timer +timer A03 AF2 +# pin A03: TIM5 CH4 (AF2) +timer C06 AF3 +# pin C06: TIM8 CH1 (AF3) +timer C07 AF3 +# pin C07: TIM8 CH2 (AF3) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer A15 AF1 +# pin A15: TIM2 CH1 (AF1) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer B10 AF1 +# pin B10: TIM2 CH3 (AF1) +timer B11 AF1 +# pin B11: TIM2 CH4 (AF1) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) + +# dma +dma ADC 1 0 +# ADC 1: DMA2 Stream 0 Channel 0 +dma pin A03 0 +# pin A03: DMA1 Stream 1 Channel 6 +dma pin C06 1 +# pin C06: DMA2 Stream 2 Channel 7 +dma pin C07 1 +# pin C07: DMA2 Stream 3 Channel 7 +dma pin C08 1 +# pin C08: DMA2 Stream 4 Channel 7 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin A15 0 +# pin A15: DMA1 Stream 5 Channel 3 +dma pin A08 1 +# pin A08: DMA2 Stream 1 Channel 6 +dma pin B10 0 +# pin B10: DMA1 Stream 1 Channel 3 +dma pin B11 0 +# pin B11: DMA1 Stream 7 Channel 3 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 + +# master +set acc_calibration = 9,9,15,1 +set mag_bustype = I2C +set mag_i2c_device = 1 +set baro_bustype = I2C +set baro_i2c_device = 1 +set serialrx_provider = CRSF +set blackbox_device = SPIFLASH +set dshot_burst = ON +set motor_pwm_protocol = DSHOT600 +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 500 +set beeper_inversion = ON +set beeper_od = OFF +set osd_canvas_width = 30 +set osd_canvas_height = 13 +set system_hse_mhz = 8 +set max7456_spi_bus = 2 +set pinio_config = 1,129,129,129 +set pinio_box = 40,255,255,255 +set flash_spi_bus = 3 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW90 +set gyro_1_align_yaw = 900 diff --git a/configs/default/FLCO-FLYCOLORF7_AIO_HD.config b/configs/default/FLCO-FLYCOLORF7_AIO_HD.config new file mode 100755 index 000000000..7dd0cf387 --- /dev/null +++ b/configs/default/FLCO-FLYCOLORF7_AIO_HD.config @@ -0,0 +1,134 @@ +# Betaflight / STM32F7X2 (S7X2) 4.1.0 Aug 28 2019 / 06:11:37 (4f923e482) MSP API: 1.42 + +#define USE_GYRO +#define USE_GYRO_SPI_MPU6500 +#define USE_ACC +#define USE_ACC_SPI_MPU6500 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_MAX7456 + +board_name FLYCOLORF7_AIO_HD +manufacturer_id FLCO + +# resources +resource BEEPER 1 C13 +resource MOTOR 1 C06 +resource MOTOR 2 C07 +resource MOTOR 3 B00 +resource MOTOR 4 B01 +resource MOTOR 5 B06 +resource MOTOR 6 B08 +resource MOTOR 7 B07 +resource MOTOR 8 C09 +resource PPM 1 A15 +resource LED_STRIP 1 A08 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 C10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 C11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource I2C_SCL 2 B10 +resource I2C_SDA 2 B11 +resource LED 1 B02 +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 CAMERA_CONTROL 1 B09 +resource ADC_BATT 1 C01 +resource ADC_RSSI 1 C03 +resource ADC_CURR 1 C02 +resource BARO_CS 1 C15 +resource FLASH_CS 1 C08 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 A04 +resource PINIO 1 C14 + +# timer +timer C06 AF2 +# pin C06: TIM3 CH1 (AF2) +timer C07 AF2 +# pin C07: TIM3 CH2 (AF2) +timer B00 AF3 +# pin B00: TIM8 CH2N (AF3) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B08 AF2 +# pin B08: TIM4 CH3 (AF2) +timer A15 AF1 +# pin A15: TIM2 CH1 (AF1) +timer B09 AF3 +# pin B09: TIM11 CH1 (AF3) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) + +# dma +dma ADC 1 1 +# ADC 1: DMA2 Stream 4 Channel 0 +dma pin C06 0 +# pin C06: DMA1 Stream 4 Channel 5 +dma pin C07 0 +# pin C07: DMA1 Stream 5 Channel 5 +dma pin B00 0 +# pin B00: DMA2 Stream 2 Channel 0 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B08 0 +# pin B08: DMA1 Stream 7 Channel 2 +dma pin A15 0 +# pin A15: DMA1 Stream 5 Channel 3 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 + +# feature +feature RX_SERIAL +feature LED_STRIP +feature OSD + +# serial +serial 20 1 115200 57600 0 115200 +serial 0 64 115200 57600 0 115200 + +# master +set pid_process_denom = 2 +set serialrx_provider = SBUS +set mag_bustype = I2C +set mag_i2c_device = 2 +set baro_spi_device = 3 +set blackbox_device = SPIFLASH +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 align_board_yaw = -45 +set pinio_box = 40,255,255,255 diff --git a/configs/default/FLMO-STELLARF4.config b/configs/default/FLMO-STELLARF4.config new file mode 100644 index 000000000..640c09a43 --- /dev/null +++ b/configs/default/FLMO-STELLARF4.config @@ -0,0 +1,151 @@ +# Betaflight / STM32F405 (S405) 4.3.2 Jan 17 2024 / 12:17:38 (60c9521da) MSP API: 1.44 + +#define USE_ACC +#define USE_GYRO +#define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_M25P16 +#define USE_MAX7456 + +board_name STELLARF4 +manufacturer_id FLMO + +# resources +resource BEEPER 1 C05 +resource MOTOR 1 B06 +resource MOTOR 2 B07 +resource MOTOR 3 B08 +resource MOTOR 4 B09 +resource MOTOR 5 B00 +resource MOTOR 6 B01 +resource MOTOR 7 B05 +resource MOTOR 8 B04 +resource SERVO 1 A08 +resource SERVO 2 C09 +resource PPM 1 A03 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 C10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 C11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 +resource I2C_SCL 2 B10 +resource I2C_SDA 2 B11 +resource LED 1 C08 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource ADC_BATT 1 C00 +resource ADC_RSSI 1 C02 +resource ADC_CURR 1 C01 +resource FLASH_CS 1 A15 +resource PINIO 1 C03 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 A04 + +# timer +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer B08 AF2 +# pin B08: TIM4 CH3 (AF2) +timer B09 AF2 +# pin B09: TIM4 CH4 (AF2) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer B05 AF2 +# pin B05: TIM3 CH2 (AF2) +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer A03 AF2 +# pin A03: TIM5 CH4 (AF2) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) + +# dma +dma SPI_MOSI 2 0 +# SPI_MOSI 2: DMA1 Stream 4 Channel 0 +dma SPI_TX 2 0 +# SPI_TX 2: DMA1 Stream 4 Channel 0 +dma ADC 1 0 +# ADC 1: DMA2 Stream 0 Channel 0 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin B08 0 +# pin B08: DMA1 Stream 7 Channel 2 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin B05 0 +# pin B05: DMA1 Stream 5 Channel 5 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 +dma pin A03 0 +# pin A03: DMA1 Stream 1 Channel 6 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 + +# feature +feature -RX_PARALLEL_PWM +feature RX_SERIAL +feature TELEMETRY +feature OSD + +# serial +serial 1 64 115200 57600 0 115200 + +# beacon +beacon RX_LOST +beacon RX_SET + +# master +set mag_bustype = I2C +set mag_i2c_device = 2 +set baro_bustype = I2C +set baro_i2c_device = 2 +set serialrx_provider = CRSF +set dshot_burst = ON +set motor_pwm_protocol = DSHOT300 +set current_meter = ADC +set battery_meter = ADC +set vbat_scale = 110 +set ibata_scale = 386 +set beeper_inversion = ON +set beeper_od = OFF +set blackbox_device = SPIFLASH +set flash_spi_bus = 2 +set max7456_spi_bus = 2 +set osd_displayport_device = MAX7456 +set dashboard_i2c_bus = 2 +set pinio_config = 1,1,1,1 +set pinio_box = 40,255,255,255 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set box_user_1_name = CAMERA SWITCH diff --git a/configs/default/FLMO-STELLARF7.config b/configs/default/FLMO-STELLARF7.config index 5cc5d17ba..e042edd1a 100644 --- a/configs/default/FLMO-STELLARF7.config +++ b/configs/default/FLMO-STELLARF7.config @@ -21,8 +21,8 @@ resource MOTOR 1 C06 resource MOTOR 2 C07 resource MOTOR 3 C08 resource MOTOR 4 C09 -resource PWM 1 B10 -resource PWM 2 B11 +resource SERVO 1 B11 +resource SERVO 2 B10 resource PPM 1 B07 resource SERIAL_TX 1 B06 resource SERIAL_RX 1 B07 @@ -52,7 +52,7 @@ resource PINIO 1 C14 resource PINIO 2 A15 resource PINIO 3 C15 resource FLASH_CS 1 C13 -resource OSD_CS 1 B12s +resource OSD_CS 1 B12 resource GYRO_EXTI 1 C04 resource GYRO_CS 1 A04 resource USB_DETECT 1 A09 @@ -131,5 +131,5 @@ set gyro_1_align_pitch = 1800 set pinio_config = 1,1,1,1 set pinio_box = 40,41,42,255 set small_angle = 180 -set box_user_1_name = "VTX POWER" -set box_user_2_name = "CAMERA SWITCH" +set box_user_1_name = VTX POWER +set box_user_2_name = CAMERA SWITCH diff --git a/configs/default/FLMO-STELLARF7V2.config b/configs/default/FLMO-STELLARF7V2.config new file mode 100644 index 000000000..56548ecdc --- /dev/null +++ b/configs/default/FLMO-STELLARF7V2.config @@ -0,0 +1,135 @@ +# Betaflight / STM32F7X2 (S7X2) 4.4.2 Aug 14 2023 / 20:54:15 (23d066d08) MSP API: 1.45 + +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM20602 +#define USE_GYRO_SPI_ICM20602 +#define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_FLASH +#define USE_FLASH_M25P16 +#define USE_MAX7456 + +board_name STELLARF7V2 +manufacturer_id FLMO + +# resources +resource MOTOR 1 C09 +resource MOTOR 2 C08 +resource MOTOR 3 C07 +resource MOTOR 4 C06 +resource SERVO 1 B11 +resource SERVO 2 B10 +resource PPM 1 B07 +resource SERIAL_TX 1 B06 +resource SERIAL_RX 1 B07 +resource SERIAL_TX 2 A02 +resource SERIAL_RX 2 A03 +resource SERIAL_TX 3 C10 +resource SERIAL_RX 3 C11 +resource SERIAL_TX 4 A00 +resource SERIAL_RX 4 A01 +resource SERIAL_TX 5 C12 +resource SERIAL_RX 5 D02 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 B02 +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 C01 +resource ADC_CURR 1 C00 +resource PINIO 1 C14 +resource PINIO 2 A15 +resource PINIO 3 C15 +resource FLASH_CS 1 C13 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 A04 +resource USB_DETECT 1 A09 +resource BEEPER 1 C03 + +# timer +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer C06 AF3 +# pin C06: TIM8 CH1 (AF3) +timer C07 AF3 +# pin C07: TIM8 CH2 (AF3) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer B10 AF1 +# pin B10: TIM2 CH3 (AF1) +timer B11 AF1 +# pin B11: TIM2 CH4 (AF1) + +# dma +dma ADC 1 1 +# ADC 1: DMA2 Stream 4 Channel 0 +dma pin C06 1 +# pin C06: DMA2 Stream 2 Channel 7 +dma pin C07 1 +# pin C07: DMA2 Stream 3 Channel 7 +dma pin C08 1 +# pin C08: DMA2 Stream 4 Channel 7 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin B10 0 +# pin B10: DMA1 Stream 1 Channel 3 +dma pin B11 0 +# pin B11: DMA1 Stream 7 Channel 3 + +# feature +feature OSD +feature RX_SERIAL +feature TELEMETRY + +# serial +serial 0 64 115200 57600 0 115200 +serial 1 1 115200 57600 0 115200 +serial 2 2048 115200 57600 0 115200 +serial 4 2 115200 57600 0 115200 + +# beacon +beacon RX_LOST +beacon RX_SET + +# master +set serialrx_provider = CRSF +set mag_bustype = I2C +set mag_i2c_device = 1 +set baro_bustype = I2C +set baro_i2c_device = 1 +set adc_device = 1 +set blackbox_device = SPIFLASH +set dshot_burst = ON +set motor_pwm_protocol = DSHOT300 +set current_meter = ADC +set battery_meter = ADC +set vbat_scale = 110 +set ibata_scale = 182 +set beeper_inversion = ON +set beeper_od = OFF +set osd_displayport_device = MAX7456 +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_pitch = 1800 +set pinio_config = 1,1,1,1 +set pinio_box = 40,41,42,255 +set small_angle = 180 +set box_user_1_name = VTX POWER +set box_user_2_name = CAMERA SWITCH diff --git a/configs/default/FLWO-FLYWOOF722PRO.config b/configs/default/FLWO-FLYWOOF722PRO.config new file mode 100644 index 000000000..9d916e03b --- /dev/null +++ b/configs/default/FLWO-FLYWOOF722PRO.config @@ -0,0 +1,154 @@ +# Betaflight / STM32F7X2 (S7X2) 4.4.2 May 31 2023 / 22:53:32 (23d066d) MSP API: 1.45 + +#mcu STM32F7X2 + +#define USE_ACC +#define USE_BARO +#define USE_FLASH +#define USE_GYRO + +#define USE_ACC_SPI_MPU6000 +#define USE_BARO_DPS310 +#define USE_FLASH_W25Q128FV +#define USE_GYRO_SPI_MPU6000 +#define USE_MAX7456 + +board_name FLYWOOF722PRO +manufacturer_id FLWO + +# resources +resource BEEPER 1 C14 +resource MOTOR 1 B01 +resource MOTOR 2 B04 +resource MOTOR 3 B03 +resource MOTOR 4 A15 +resource MOTOR 5 C08 +resource MOTOR 6 C09 +resource MOTOR 7 B06 +resource MOTOR 8 B07 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 C15 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 C10 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MISO 3 C11 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource SPI_MOSI 3 B05 +resource ADC_BATT 1 C01 +resource ADC_RSSI 1 C02 +resource ADC_CURR 1 C00 +resource PINIO 1 B00 +resource FLASH_CS 1 C13 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C03 +resource GYRO_EXTI 2 C04 +resource GYRO_CS 1 A04 +resource GYRO_CS 2 B02 + +# timer +timer C06 AF3 +# pin C06: TIM8 CH1 (AF3) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) +timer A15 AF1 +# pin A15: TIM2 CH1 (AF1) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer B10 AF1 +# pin B10: TIM2 CH3 (AF1) +timer A02 AF2 +# pin A02: TIM5 CH3 (AF2) +timer A03 AF2 +# pin A03: TIM5 CH4 (AF2) +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) + +# dma +dma ADC 3 0 +# ADC 3: DMA2 Stream 0 Channel 2 +dma pin C06 0 +# pin C06: DMA2 Stream 2 Channel 0 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 +dma pin A15 0 +# pin A15: DMA1 Stream 5 Channel 3 +dma pin C08 1 +# pin C08: DMA2 Stream 4 Channel 7 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 +dma pin B10 0 +# pin B10: DMA1 Stream 1 Channel 3 +dma pin A02 0 +# pin A02: DMA1 Stream 0 Channel 6 +dma pin A03 1 +# pin A03: DMA1 Stream 3 Channel 6 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 + +# feature +feature RX_SERIAL +feature LED_STRIP +feature OSD + +# master +set mag_bustype = I2C +set mag_i2c_device = 1 +set baro_bustype = I2C +set baro_i2c_device = 1 +set serialrx_provider = SBUS +set adc_device = 3 +set blackbox_device = SPIFLASH +set dshot_burst = ON +set motor_pwm_protocol = DSHOT600 +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 170 +set beeper_inversion = ON +set beeper_od = OFF +set osd_vbat_pos = 14570 +set osd_current_pos = 14721 +set osd_canvas_width = 30 +set osd_canvas_height = 13 +set max7456_spi_bus = 2 +set pinio_box = 40,41,255,255 +set flash_spi_bus = 3 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_2_spibus = 1 +set gyro_2_sensor_align = CW270 +set gyro_2_align_yaw = 2700 +set box_user_1_name = VTX POWER diff --git a/configs/default/FLWO-FLYWOOF745AIOV2.config b/configs/default/FLWO-FLYWOOF745AIO.config similarity index 99% rename from configs/default/FLWO-FLYWOOF745AIOV2.config rename to configs/default/FLWO-FLYWOOF745AIO.config index b42767573..f220ea5be 100644 --- a/configs/default/FLWO-FLYWOOF745AIOV2.config +++ b/configs/default/FLWO-FLYWOOF745AIO.config @@ -11,7 +11,7 @@ #define USE_FLASH_W25Q128FV #define USE_MAX7456 -board_name FLYWOOF745AIOV2 +board_name FLYWOOF745AIO manufacturer_id FLWO # resources diff --git a/configs/default/FOXE-FOXEERF405V2.config b/configs/default/FOXE-FOXEERF405V2.config new file mode 100644 index 000000000..86b49c83c --- /dev/null +++ b/configs/default/FOXE-FOXEERF405V2.config @@ -0,0 +1,140 @@ +# Betaflight / STM32F405 (S405) 4.1.0 Oct 16 2019 / 11:57:16 (c37a7c91a) MSP API: 1.42 +#mcu STM32F405 + +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_MPU6500 +#define USE_ACC_SPI_ICM42688P +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_MPU6500 +#define USE_GYRO_SPI_ICM42688P +#define USE_BARO +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_M25P16 +#define USE_MAX7456 + +board_name FOXEERF405V2 +manufacturer_id FOXE + +# resources +resource BEEPER 1 C15 +resource MOTOR 1 A08 +resource MOTOR 2 C09 +resource MOTOR 3 C08 +resource MOTOR 4 B15 +resource MOTOR 5 B06 +resource MOTOR 6 A15 +resource MOTOR 7 B11 +resource MOTOR 8 B10 +resource SERVO 1 B01 +resource LED_STRIP 1 B07 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 C10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 C11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 +resource LED 1 A13 +resource LED 2 A14 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 B03 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 C02 +resource SPI_MISO 3 B04 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 C03 +resource SPI_MOSI 3 B05 +resource CAMERA_CONTROL 1 B00 +resource ADC_BATT 1 C00 +resource ADC_CURR 1 C01 +resource ADC_RSSI 1 C05 +resource PINIO 1 B14 +resource FLASH_CS 1 B12 +resource OSD_CS 1 C14 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 A04 + +# timer +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer C09 AF3 +# pin C09: TIM8 CH4(AF3) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer B15 AF1 +# pin B15: TIM1 CH3N (AF1) +timer B10 AF1 +# pin B10: TIM2 CH3 (AF1) +timer B11 AF1 +# pin B11: TIM2 CH4 (AF1) +timer A15 AF1 +# pin A15: TIM2 CH1 (AF1) +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) + +# dma +dma ADC 1 1 +# ADC 1: DMA2 Stream 4 Channel 0 +dma pin A08 1 +# pin A08: DMA2 Stream 1 Channel 6 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin C08 0 +# pin C08: DMA2 Stream 2 Channel 0 +dma pin B15 1 +# pin B15: DMA2 Stream 6 Channel 6 +dma pin B10 0 +# pin B10: DMA1 Stream 1 Channel 3 +dma pin B11 0 +# pin B11: DMA1 Stream 7 Channel 3 +dma pin A15 0 +# pin A15: DMA1 Stream 5 Channel 3 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 + +# feature +feature RX_SERIAL +feature TELEMETRY +feature OSD + +# master +set mag_bustype = I2C +set mag_i2c_device = 1 +set mag_hardware = AUTO +set baro_bustype = I2C +set baro_i2c_device = 1 +set system_hse_mhz = 8 +set max7456_spi_bus = 3 +set max7456_preinit_opu = OFF +set dashboard_i2c_bus = 1 +set dashboard_i2c_addr = 60 +set usb_msc_pin_pullup = ON +set flash_spi_bus = 2 +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 70 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_i2cBus = 0 +set gyro_1_i2c_address = 0 +set gyro_1_sensor_align = CW270 +set i2c1_pullup = OFF diff --git a/configs/default/GEPR-GEPRCF405.config b/configs/default/GEPR-GEPRCF405.config index deaad2b20..978f49199 100644 --- a/configs/default/GEPR-GEPRCF405.config +++ b/configs/default/GEPR-GEPRCF405.config @@ -8,6 +8,7 @@ #define USE_GYRO #define USE_GYRO_SPI_MPU6000 #define USE_GYRO_SPI_ICM42688P +#define USE_ACCGYRO_BMI270 #define USE_FLASH #define USE_FLASH_W25Q128FV #define USE_MAX7456 @@ -129,7 +130,8 @@ aux 0 0 0 1700 2100 0 0 set mag_bustype = I2C set mag_i2c_device = 1 set baro_bustype = I2C -set baro_i2c_device = 1 +// Internal BMP280 is on I2C_2 (SCL B10; SDA B11) +set baro_i2c_device = 2 set serialrx_provider = SBUS set blackbox_device = SPIFLASH set motor_pwm_protocol = DSHOT600 diff --git a/configs/default/GEPR-GEPRCF405_BT_HD.config b/configs/default/GEPR-GEPRCF405_BT_HD.config new file mode 100644 index 000000000..381eda11a --- /dev/null +++ b/configs/default/GEPR-GEPRCF405_BT_HD.config @@ -0,0 +1,161 @@ +# Betaflight / STM32F405 (S405) 4.1.6 Apr 25 2020 / 05:11:18 (283bda8bf) MSP API: 1.42 + +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM42688P +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_MAX7456 + +board_name GEPRCF405_BT_HD +manufacturer_id GEPR + +# resources +resource BEEPER 1 C13 +resource MOTOR 1 A08 +resource MOTOR 2 A09 +resource MOTOR 3 A10 +resource MOTOR 4 C08 +resource MOTOR 5 C09 +resource MOTOR 6 B00 +resource MOTOR 7 B10 +resource MOTOR 8 B11 + +resource PPM 1 C07 +resource LED_STRIP 1 B01 +resource SERIAL_TX 1 B06 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 C10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_TX 11 B02 +resource SERIAL_RX 1 B07 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 C11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 +resource SERIAL_RX 11 C05 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 C14 +resource LED 2 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 C01 +resource ADC_RSSI 1 C02 +resource ADC_CURR 1 C00 +resource PINIO 1 A13 +resource PINIO 2 A14 +resource FLASH_CS 1 B12 +resource OSD_CS 1 A04 +resource GYRO_EXTI 1 C03 +resource GYRO_CS 1 A15 +resource USB_DETECT 1 C04 + +# timer +timer C07 AF3 +# pin C07: TIM8 CH2 (AF3) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer A09 AF1 +# pin A09: TIM1 CH2 (AF1) +timer A10 AF1 +# pin A10: TIM1 CH3 (AF1) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer B10 AF1 +# pin B10: TIM2 CH3 (AF1) +timer B11 AF1 +# pin B11: TIM2 CH4 (AF1) + +# dma +dma ADC 1 0 +# ADC 1: DMA2 Stream 0 Channel 0 +dma ADC 3 0 +# ADC 3: DMA2 Stream 0 Channel 2 +dma pin C07 0 +# pin C07: DMA2 Stream 2 Channel 0 +dma pin A08 1 +# pin A08: DMA2 Stream 1 Channel 6 +dma pin A09 1 +# pin A09: DMA2 Stream 2 Channel 6 +dma pin A10 1 +# pin A10: DMA2 Stream 6 Channel 6 +dma pin C08 1 +# pin C08: DMA2 Stream 4 Channel 7 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin B10 0 +# pin B10: DMA1 Stream 1 Channel 3 +dma pin B11 0 +# pin B11: DMA1 Stream 7 Channel 3 + +# feature +feature RX_SERIAL +feature LED_STRIP +feature OSD + +# serial +serial 4 1 115200 57600 0 115200 +serial 5 64 115200 57600 0 115200 + +# led +led 0 0,15::ATI:0 +led 1 1,15::ATI:0 +led 2 2,15::ATI:0 +led 3 3,15::ATI:0 +led 4 4,15::ATI:0 +led 5 5,15::ATI:0 +led 6 6,15::ATI:0 + +# aux +aux 0 0 0 1700 2100 0 0 + +# master +set mag_bustype = I2C +set mag_i2c_device = 1 +set baro_bustype = I2C +set baro_i2c_device = 1 +set serialrx_provider = SBUS +set blackbox_device = SPIFLASH +set motor_pwm_protocol = DSHOT600 +set dshot_burst = AUTO +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 179 +set beeper_inversion = ON +set beeper_od = OFF +set system_hse_mhz = 8 +set max7456_spi_bus = 1 +set flash_spi_bus = 2 +set gyro_1_bustype = SPI +set gyro_1_spibus = 3 +set gyro_1_sensor_align = CW180 +set gyro_1_align_yaw = 2700 +set pinio_config = 1,129,1,1 +set pinio_box = 255,0,255,255 diff --git a/configs/default/GEPR-GEPRCF722_BT_HD.config b/configs/default/GEPR-GEPRCF722_BT_HD.config index c854a7767..1da52ed10 100644 --- a/configs/default/GEPR-GEPRCF722_BT_HD.config +++ b/configs/default/GEPR-GEPRCF722_BT_HD.config @@ -155,6 +155,4 @@ set pinio_config = 129,1,1,1 set pinio_box = 0,40,41,42 set gyro_1_bustype = SPI set gyro_1_spibus = 1 -set gyro_1_sensor_align = CW270 -set gyro_1_align_yaw = 2700 set gyro_2_spibus = 1 diff --git a/configs/default/GEPR-GEPRCF745_BT_HD.config b/configs/default/GEPR-GEPRCF745_BT_HD.config index 8b6058a5a..3a836bdd0 100644 --- a/configs/default/GEPR-GEPRCF745_BT_HD.config +++ b/configs/default/GEPR-GEPRCF745_BT_HD.config @@ -1,9 +1,16 @@ # Betaflight / STM32F745 (S745) 4.1.0 Sep 25 2019 / 01:23:16 (064ca9b75) MSP API: 1.42 #define USE_ACC +#define USE_ACC_SPI_MPU6000 #define USE_ACC_SPI_ICM42688P #define USE_GYRO +#define USE_GYRO_SPI_MPU6000 #define USE_GYRO_SPI_ICM42688P +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_SDCARD +#define USE_MAX7456 board_name GEPRCF745_BT_HD manufacturer_id GEPR @@ -153,3 +160,4 @@ set gyro_1_spibus = 1 set gyro_1_sensor_align = CW270 set gyro_1_align_yaw = 2700 set gyro_2_spibus = 2 +set max7456_spi_bus = 4 diff --git a/configs/default/GEPR-TAKERF411.config b/configs/default/GEPR-TAKERF411.config index 64277f1e2..e1c05be94 100644 --- a/configs/default/GEPR-TAKERF411.config +++ b/configs/default/GEPR-TAKERF411.config @@ -1,14 +1,15 @@ # Betaflight / STM32F411 (S411) 4.3.2 Nov 28 2022 / 07:27:10 (60c9521) MSP API: 1.44 -#define USE_ACCGYRO_BMI270 -#define USE_GYRO -#define USE_GYRO_SPI_ICM42688P #define USE_ACC -#define USE_ACC_SPI_ICM42688P #define USE_BARO -#define USE_BARO_DPS310 -#define USE_BARO_BMP280 #define USE_FLASH +#define USE_GYRO + +#define USE_ACCGYRO_BMI270 +#define USE_ACC_SPI_ICM42688P +#define USE_GYRO_SPI_ICM42688P +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 #define USE_FLASH_W25Q128FV #define USE_MAX7456 diff --git a/configs/default/HARC-HAKRCF405.config b/configs/default/HARC-HAKRCF405.config index 0ed8f8f8d..ee7309944 100644 --- a/configs/default/HARC-HAKRCF405.config +++ b/configs/default/HARC-HAKRCF405.config @@ -3,9 +3,11 @@ #define USE_ACC #define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM20689 +#define USE_FLASH +#define USE_FLASH_W25Q128FV #define USE_GYRO #define USE_GYRO_SPI_MPU6000 -#define USE_ACC_SPI_ICM20689 #define USE_GYRO_SPI_ICM20689 #define USE_MAX7456 diff --git a/configs/default/HARC-HAKRCF722D.config b/configs/default/HARC-HAKRCF722D.config index ae0bd183f..b8d9ddbf6 100644 --- a/configs/default/HARC-HAKRCF722D.config +++ b/configs/default/HARC-HAKRCF722D.config @@ -10,6 +10,7 @@ #define USE_GYRO_SPI_ICM42688P #define USE_ACC_SPI_ICM42688P #define USE_BARO +#define USE_BARO_BMP280 #define USE_BARO_DPS310 #define USE_FLASH #define USE_FLASH_W25Q128FV diff --git a/configs/default/HBRO-KAKUTEF7MINIV3.config b/configs/default/HBRO-KAKUTEF7MINIV3.config index 0f89692c9..884187cdd 100644 --- a/configs/default/HBRO-KAKUTEF7MINIV3.config +++ b/configs/default/HBRO-KAKUTEF7MINIV3.config @@ -2,8 +2,10 @@ #define USE_ACC #define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM42688P #define USE_GYRO #define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P #define USE_BARO #define USE_BARO_BMP280 #define USE_FLASH diff --git a/configs/default/HBRO-KAKUTEH7V2.config b/configs/default/HBRO-KAKUTEH7V2.config index 52cddf829..39fc21c1c 100644 --- a/configs/default/HBRO-KAKUTEH7V2.config +++ b/configs/default/HBRO-KAKUTEH7V2.config @@ -140,7 +140,6 @@ set baro_bustype = I2C set baro_i2c_device = 1 set serialrx_provider = SBUS set blackbox_device = SPIFLASH -set sdcard_mode = OFF set current_meter = ADC set battery_meter = ADC set vbat_scale = 109 diff --git a/configs/default/HGLR-HGLRCF722AIOV2.config b/configs/default/HGLR-HGLRCF722AIOV2.config new file mode 100644 index 000000000..af8653425 --- /dev/null +++ b/configs/default/HGLR-HGLRCF722AIOV2.config @@ -0,0 +1,154 @@ +# Betaflight / STM32F7X2 (S7X2) 4.3.2 Nov 28 2022 / 07:30:19 (60c9521) MSP API: 1.44 + +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM42688P +#define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P +#define USE_MAX7456 + +board_name HGLRCF722AIOV2 +manufacturer_id HGLR + + +# resources +resource BEEPER 1 C13 +resource MOTOR 1 B04 +resource MOTOR 2 B05 +resource MOTOR 3 B00 +resource MOTOR 4 B01 +resource MOTOR 5 A15 +resource MOTOR 6 B03 +resource MOTOR 7 B06 +resource MOTOR 8 B07 +resource PPM 1 A03 +resource PWM 1 A02 +resource PWM 2 A01 +resource PWM 3 A00 +resource LED_STRIP 1 A08 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 A13 +resource LED 2 A14 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource ADC_BATT 1 C02 +resource ADC_RSSI 1 C00 +resource ADC_CURR 1 C01 +resource BARO_CS 1 A04 +resource PINIO 1 C08 +resource PINIO 2 C09 +resource FLASH_CS 1 C10 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 B02 +resource USB_DETECT 1 C14 + + +# timer +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer B05 AF2 +# pin B05: TIM3 CH2 (AF2) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer A15 AF1 +# pin A15: TIM2 CH1 (AF1) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer A03 AF3 +# pin A03: TIM9 CH2 (AF3) +timer A02 AF3 +# pin A02: TIM9 CH1 (AF3) +timer A01 AF2 +# pin A01: TIM5 CH2 (AF2) +timer A00 AF2 +# pin A00: TIM5 CH1 (AF2) + +# dma +dma ADC 1 1 +# ADC 1: DMA2 Stream 4 Channel 0 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin B05 0 +# pin B05: DMA1 Stream 5 Channel 5 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin A15 0 +# pin A15: DMA1 Stream 5 Channel 3 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin A08 2 +# pin A08: DMA2 Stream 3 Channel 6 +dma pin A01 0 +# pin A01: DMA1 Stream 4 Channel 6 +dma pin A00 0 +# pin A00: DMA1 Stream 2 Channel 6 + +# feature +feature LED_STRIP +feature OSD + +# serial +serial 4 1 115200 57600 0 115200 + +# master +set mag_bustype = I2C +set mag_i2c_device = 1 +set baro_bustype = I2C +set baro_i2c_device = 1 +set dshot_burst = ON +set motor_pwm_protocol = DSHOT600 +set adc_device = 1 +set blackbox_device = SPIFLASH +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 179 +set beeper_inversion = ON +set beeper_od = OFF +set max7456_spi_bus = 2 +set pinio_config = 129,1,1,1 +set pinio_box = 0,41,255,255 +set flash_spi_bus = 2 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW90 +set gyro_1_align_yaw = 900 +set align_board_yaw = -45 diff --git a/configs/default/HGLR-HGLRCF722MINI.config b/configs/default/HGLR-HGLRCF722MINI.config index 23b22e8a6..f3a87e703 100644 --- a/configs/default/HGLR-HGLRCF722MINI.config +++ b/configs/default/HGLR-HGLRCF722MINI.config @@ -104,6 +104,9 @@ feature OSD # serial serial 4 1 115200 57600 0 115200 +# aux +aux 1 1 1 1300 1700 0 0 + # master set mag_bustype = I2C set mag_i2c_device = 1 @@ -122,3 +125,4 @@ set gyro_1_spibus = 1 set gyro_1_sensor_align = CW0 set pinio_box = 40,0,255,255 set pinio_config = 1,129,1,1 +set adc_device = 3 diff --git a/configs/default/HGLR-HGLRCF722MINIV2.config b/configs/default/HGLR-HGLRCF722MINIV2.config new file mode 100644 index 000000000..46f72e37b --- /dev/null +++ b/configs/default/HGLR-HGLRCF722MINIV2.config @@ -0,0 +1,154 @@ +# Betaflight / STM32F7X2 (S7X2) 4.4.3 Nov 17 2023 / 05:45:22 (738127e7e) MSP API: 1.45 + +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM42688P +#define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P +#define USE_MAX7456 + +board_name HGLRCF722MINIV2 +manufacturer_id HGLR + +# resources +resource BEEPER 1 C13 +resource MOTOR 1 B04 +resource MOTOR 2 B05 +resource MOTOR 3 B00 +resource MOTOR 4 B01 +resource MOTOR 5 A15 +resource MOTOR 6 B03 +resource MOTOR 7 B06 +resource MOTOR 8 B07 +resource LED_STRIP 1 A08 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 6 C07 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 A14 +resource LED 2 A13 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 C10 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MISO 3 C11 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource SPI_MOSI 3 C12 +resource ADC_BATT 1 C02 +resource ADC_RSSI 1 C00 +resource ADC_CURR 1 C01 +resource BARO_CS 1 A04 +resource PINIO 1 C08 +resource PINIO 2 C09 +resource FLASH_CS 1 D02 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 B02 +resource USB_DETECT 1 C14 + +# timer +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer B05 AF2 +# pin B05: TIM3 CH2 (AF2) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer A15 AF1 +# pin A15: TIM2 CH1 (AF1) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer A03 AF3 +# pin A03: TIM9 CH2 (AF3) +timer A02 AF3 +# pin A02: TIM9 CH1 (AF3) +timer A01 AF2 +# pin A01: TIM5 CH2 (AF2) +timer A00 AF2 +# pin A00: TIM5 CH1 (AF2) + +# dma +dma ADC 1 1 +# ADC 1: DMA2 Stream 4 Channel 0 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin B05 0 +# pin B05: DMA1 Stream 5 Channel 5 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin A15 0 +# pin A15: DMA1 Stream 5 Channel 3 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin A08 2 +# pin A08: DMA2 Stream 3 Channel 6 +dma pin A01 0 +# pin A01: DMA1 Stream 4 Channel 6 +dma pin A00 0 +# pin A00: DMA1 Stream 2 Channel 6 + +# feature +feature OSD +feature RX_SERIAL +feature LED_STRIP + +# serial +serial 20 1 115200 57600 0 115200 +serial 0 0 115200 57600 0 115200 +serial 1 0 115200 57600 0 115200 +serial 2 0 115200 57600 0 115200 +serial 3 0 115200 57600 0 115200 + +# aux +aux 1 1 1 1300 1700 0 0 + +# master +set baro_bustype = I2C +set baro_i2c_device = 1 +set baro_i2c_address = 0 +set adc_device = 1 +set blackbox_device = SPIFLASH +set dshot_burst = ON +set current_meter = ADC +set battery_meter = ADC +set vbat_scale = 110 +set ibata_scale = 179 +set beeper_inversion = ON +set beeper_od = OFF +set max7456_spi_bus = 2 +set pinio_config = 1,1,1,1 +set pinio_box = 40,41,255,255 +set flash_spi_bus = 3 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW0 diff --git a/configs/default/HNEC-NIDICI_F4.config b/configs/default/HNEC-NIDICI_F4.config index 44814f602..9e7535fde 100644 --- a/configs/default/HNEC-NIDICI_F4.config +++ b/configs/default/HNEC-NIDICI_F4.config @@ -2,6 +2,8 @@ #define USE_ACC #define USE_ACC_SPI_MPU6000 +#define USE_BARO +#define USE_BARO_BMP280 #define USE_GYRO #define USE_GYRO_SPI_MPU6000 #define USE_FLASH diff --git a/configs/default/JHEF-JHEF405PRO.config b/configs/default/JHEF-JHEF405PRO.config index c094f6476..07c383c04 100644 --- a/configs/default/JHEF-JHEF405PRO.config +++ b/configs/default/JHEF-JHEF405PRO.config @@ -24,7 +24,10 @@ resource MOTOR 1 B00 resource MOTOR 2 B01 resource MOTOR 3 A03 resource MOTOR 4 A02 -resource PPM 1 B08 +resource MOTOR 5 B05 +resource MOTOR 6 B07 +resource MOTOR 7 C09 +resource MOTOR 8 C08 resource LED_STRIP 1 A09 resource SERIAL_TX 1 B06 resource SERIAL_TX 2 D05 @@ -64,11 +67,19 @@ timer A03 AF1 # pin A03: TIM2 CH4 (AF1) timer A02 AF1 # pin A02: TIM2 CH3 (AF1) +timer B05 AF2 +# pin B05: TIM3 CH2 (AF2) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) timer A09 AF1 # pin A09: TIM1 CH2 (AF1) # dma -dma ADC 1 1 +dma ADC 1 0 # ADC 1: DMA2 Stream 0 Channel 0 dma pin B00 0 # pin B00: DMA1 Stream 7 Channel 5 @@ -78,11 +89,20 @@ dma pin A03 1 # pin A03: DMA1 Stream 6 Channel 3 dma pin A02 0 # pin A02: DMA1 Stream 1 Channel 3 +dma pin B05 0 +# pin B05: DMA1 Stream 5 Channel 5 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin C08 0 +# pin C08: DMA2 Stream 2 Channel 0 dma pin A09 0 # pin A09: DMA2 Stream 6 Channel 0 # feature feature RX_SERIAL +feature LED_STRIP feature OSD # master @@ -100,9 +120,9 @@ set beeper_inversion = ON set beeper_od = OFF set system_hse_mhz = 8 set max7456_spi_bus = 3 -set dashboard_i2c_bus = 1 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 +set gyro_1_sensor_align = CW90 +set gyro_1_align_yaw = 900 +set gyro_2_spibus = 1 diff --git a/configs/default/JHEF-JHEF411HD.config b/configs/default/JHEF-JHEF411HD.config new file mode 100644 index 000000000..e8a00416e --- /dev/null +++ b/configs/default/JHEF-JHEF411HD.config @@ -0,0 +1,131 @@ +# Betaflight / STM32F411 (S411) 4.2.0 Jun 14 2020 / 03:04:43 (8f2d21460) MSP API: 1.43 + +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P +#define USE_ACC_SPI_ICM42688P +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_MAX7456 + +board_name JHEF411HD +manufacturer_id JHEF + +# resources +resource BEEPER 1 B02 +resource MOTOR 1 B04 +resource MOTOR 2 B05 +resource MOTOR 3 B06 +resource MOTOR 4 B07 +resource LED_STRIP 1 A08 +resource SERIAL_TX 1 A09 +resource SERIAL_RX 1 A10 +resource SERIAL_TX 2 A02 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 11 B03 +resource SERIAL_TX 11 A15 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 C13 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource ADC_BATT 1 B00 +resource ADC_CURR 1 B01 +resource PINIO 1 B10 +resource PINIO 2 C14 +resource FLASH_CS 1 A00 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 A01 +resource GYRO_CS 1 A04 +resource USB_DETECT 1 C15 + +# timer +timer A03 AF3 +# pin A03: TIM9 CH2 (AF3) +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer B05 AF2 +# pin B05: TIM3 CH2 (AF2) +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) +timer B10 AF1 +# pin B10: TIM2 CH3 (AF1) +timer A00 AF2 +# pin A00: TIM5 CH1 (AF2) +timer A02 AF2 +# pin A02: TIM5 CH3 (AF2) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer A15 AF1 +# pin A15: TIM2 CH1 (AF1) + +# dma +dma ADC 1 0 +# ADC 1: DMA2 Stream 0 Channel 0 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin B05 0 +# pin B05: DMA1 Stream 5 Channel 5 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 +dma pin B10 0 +# pin B10: DMA1 Stream 1 Channel 3 +dma pin A00 0 +# pin A00: DMA1 Stream 2 Channel 6 +dma pin A02 0 +# pin A02: DMA1 Stream 0 Channel 6 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 +dma pin A15 0 +# pin A15: DMA1 Stream 5 Channel 3 + +# feature +feature RX_SERIAL +feature TELEMETRY +feature SOFTSERIAL +feature OSD + +# serial +serial 20 1 115200 57600 0 115200 +serial 0 0 115200 57600 0 115200 +serial 1 64 115200 57600 0 115200 +serial 30 0 115200 57600 0 115200 +serial 1 0 115200 57600 0 115200 + +# master +set baro_bustype = I2C +set baro_i2c_device = 1 +set serialrx_provider = CRSF +set adc_device = 1 +set blackbox_device = SPIFLASH +set current_meter = ADC +set battery_meter = ADC +set beeper_inversion = ON +set beeper_od = OFF +set mag_bustype = I2C +set mag_i2c_device = 1 +set mag_hardware = NONE +set max7456_spi_bus = 2 +set pinio_config = 1,1,1,1 +set pinio_box = 40,41,255,255 +set flash_spi_bus = 2 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW90 diff --git a/configs/default/JHEF-JHEF745.config b/configs/default/JHEF-JHEF745.config index 829063b6e..9a5c49170 100644 --- a/configs/default/JHEF-JHEF745.config +++ b/configs/default/JHEF-JHEF745.config @@ -22,20 +22,24 @@ resource MOTOR 3 E09 resource MOTOR 4 E11 resource MOTOR 5 C09 resource MOTOR 6 A03 +resource MOTOR 7 B04 +resource MOTOR 8 B05 resource PPM 1 E13 resource LED_STRIP 1 D12 resource SERIAL_TX 1 A09 resource SERIAL_TX 2 D05 resource SERIAL_TX 3 B10 resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 resource SERIAL_TX 6 C06 +resource SERIAL_TX 7 E08 resource SERIAL_RX 1 A10 resource SERIAL_RX 2 D06 resource SERIAL_RX 3 B11 resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 resource SERIAL_RX 6 C07 resource SERIAL_RX 7 E07 -resource SERIAL_TX 7 E08 resource I2C_SCL 1 B06 resource I2C_SDA 1 B07 resource LED 1 A02 @@ -57,6 +61,7 @@ resource OSD_CS 1 B12 resource GYRO_EXTI 1 E01 resource GYRO_CS 1 E04 resource USB_DETECT 1 A08 +resource PINIO 1 C00 # timer timer E13 AF1 diff --git a/configs/default/JHEF-JHEH743_HD.config b/configs/default/JHEF-JHEH743_HD.config new file mode 100644 index 000000000..e7a1b5bc7 --- /dev/null +++ b/configs/default/JHEF-JHEH743_HD.config @@ -0,0 +1,176 @@ +# Betaflight / STM32H743 (SH47) 4.3.0 Sep 2 2021 / 06:34:37 (c23dd47f4) MSP API: 1.44 + +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACCGYRO_BMI270 +#define USE_GYRO_SPI_ICM42688P +#define USE_ACC_SPI_ICM42688P +#define USE_BARO +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_W25N01G +#define USE_MAX7456 + +board_name JHEH743_HD +manufacturer_id JHEF + +# resources +resource BEEPER 1 E03 +resource MOTOR 1 A00 +resource MOTOR 2 A01 +resource MOTOR 3 A02 +resource MOTOR 4 A03 +resource MOTOR 5 B00 +resource MOTOR 6 B01 +resource MOTOR 7 C08 +resource MOTOR 8 C09 +resource LED_STRIP 1 A08 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 D05 +resource SERIAL_TX 3 D08 +resource SERIAL_TX 4 D01 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_TX 7 E08 +resource SERIAL_TX 8 E01 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 D06 +resource SERIAL_RX 3 D09 +resource SERIAL_RX 4 D00 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 +resource SERIAL_RX 7 E07 +resource SERIAL_RX 8 E00 +resource I2C_SCL 1 B06 +resource I2C_SCL 2 B10 +resource I2C_SDA 1 B07 +resource I2C_SDA 2 B11 +resource LED 1 E05 +resource LED 2 E04 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 C10 +resource SPI_SCK 4 E12 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MISO 3 C11 +resource SPI_MISO 4 E13 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource SPI_MOSI 3 B02 +resource SPI_MOSI 4 E14 +resource ADC_BATT 1 C01 +resource ADC_CURR 1 C03 +resource ADC_EXT 1 C00 +resource PINIO 1 C02 +resource PINIO 2 C05 +resource FLASH_CS 1 A15 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_EXTI 2 E15 +resource GYRO_CS 1 A04 +resource GYRO_CS 2 E11 +resource USB_DETECT 1 E06 + +# timer +timer A00 AF2 +# pin A00: TIM5 CH1 (AF2) +timer A01 AF2 +# pin A01: TIM5 CH2 (AF2) +timer A02 AF2 +# pin A02: TIM5 CH3 (AF2) +timer A03 AF2 +# pin A03: TIM5 CH4 (AF2) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer B08 AF1 +# pin B08: TIM16 CH1 (AF1) +timer B09 AF1 +# pin B09: TIM17 CH1 (AF1) + +# dma +dma ADC 1 8 +# ADC 1: DMA2 Stream 0 Request 9 +dma ADC 3 9 +# ADC 3: DMA2 Stream 1 Request 115 +dma TIMUP 1 0 +# TIMUP 1: DMA1 Stream 0 Request 15 +dma TIMUP 3 2 +# TIMUP 3: DMA1 Stream 2 Request 27 +dma TIMUP 5 0 +# TIMUP 5: DMA1 Stream 0 Request 59 +dma TIMUP 8 4 +# TIMUP 8: DMA1 Stream 4 Request 51 +dma pin A00 0 +# pin A00: DMA1 Stream 0 Request 55 +dma pin A01 1 +# pin A01: DMA1 Stream 1 Request 56 +dma pin A02 2 +# pin A02: DMA1 Stream 2 Request 57 +dma pin A03 3 +# pin A03: DMA1 Stream 3 Request 58 +dma pin B00 4 +# pin B00: DMA1 Stream 4 Request 25 +dma pin B01 5 +# pin B01: DMA1 Stream 5 Request 26 +dma pin C08 6 +# pin C08: DMA1 Stream 6 Request 49 +dma pin C09 7 +# pin C09: DMA1 Stream 7 Request 50 +dma pin A08 14 +# pin A08: DMA2 Stream 6 Request 11 +dma pin B08 0 +# pin B08: DMA1 Stream 0 Request 109 +dma pin B09 0 +# pin B09: DMA1 Stream 0 Request 111 + +# feature +feature -AIRMODE +feature MOTOR_STOP +feature LED_STRIP +feature OSD + +# master +set gyro_to_use = BOTH +set mag_bustype = I2C +set mag_i2c_device = 1 +set baro_bustype = I2C +set baro_i2c_device = 1 +set blackbox_device = SPIFLASH +set serialrx_provider = CRSF +set current_meter = ADC +set battery_meter = ADC +set motor_pwm_protocol = DSHOT600 +set ibata_scale =170 +set vbat_scale = 110 +set osd_vbat_pos = 2347 +set osd_crosshairs_pos = 2253 +set osd_ah_sbar_pos = 2254 +set osd_ah_pos = 2126 +set osd_current_pos = 2442 +set osd_warnings_pos = 14697 +set beeper_frequency = 0 +set beeper_inversion = ON +set beeper_od = OFF +set max7456_spi_bus = 2 +set flash_spi_bus = 3 +set pinio_config = 129,129,1,1 +set pinio_box = 0,40,255,255 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW90 +set gyro_1_align_yaw = 900 +set gyro_2_bustype = SPI +set gyro_2_spibus = 4 +set gyro_2_sensor_align = CW180 +set gyro_2_align_yaw = 1800 diff --git a/configs/default/KLEE-SYNERGYF4.config b/configs/default/KLEE-SYNERGYF4.config index f5083210b..3402ec017 100644 --- a/configs/default/KLEE-SYNERGYF4.config +++ b/configs/default/KLEE-SYNERGYF4.config @@ -1,11 +1,13 @@ # Betaflight / STM32F405 (S405) 4.0.0 Apr 1 2019 / 19:06:47 (88665a678) MSP API: 1.41 -#define USE_GYRO -#define USE_GYRO_SPI_MPU6500 #define USE_ACC +#define USE_ACC_SPI_MPU6000 #define USE_ACC_SPI_MPU6500 +#define USE_GYRO #define USE_GYRO_SPI_MPU6000 -#define USE_ACC_SPI_MPU6000 +#define USE_GYRO_SPI_MPU6500 +#define USE_FLASH +#define USE_FLASH_W25Q128FV #define USE_MAX7456 board_name SYNERGYF4 diff --git a/configs/default/LDAR-LDARC_F411.config b/configs/default/LDAR-LDARC_F411.config index 4f638b6b6..3ad3b7d9e 100644 --- a/configs/default/LDAR-LDARC_F411.config +++ b/configs/default/LDAR-LDARC_F411.config @@ -5,6 +5,11 @@ board_name LDARC_F411 manufacturer_id LDAR +#define USE_ACC +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_ACC_SPI_MPU6000 + # resources resource BEEPER 1 B02 resource MOTOR 1 B04 diff --git a/configs/default/MEPS-MEPSF411.config b/configs/default/MEPS-MEPSF411.config new file mode 100644 index 000000000..5ede0d494 --- /dev/null +++ b/configs/default/MEPS-MEPSF411.config @@ -0,0 +1,111 @@ +# Betaflight / STM32F411 (S411) 4.2.6 Jan 5 2021 / 19:07:43 (a4b6db1e7) MSP API: 1.43 + +#define USE_GYRO +#define USE_GYRO_SPI_MPU6500 +#define USE_ACC +#define USE_ACC_SPI_MPU6500 +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_M25P16 +#define USE_MAX7456 + +board_name MEPSF411 +manufacturer_id MEPS + +# resources +resource BEEPER 1 B02 +resource MOTOR 1 B00 +resource MOTOR 2 B01 +resource MOTOR 3 B06 +resource MOTOR 4 B07 +resource PPM 1 A03 +resource LED_STRIP 1 A08 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 C13 +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 A01 +resource ADC_CURR 1 A00 +resource FLASH_CS 1 A15 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C15 +resource GYRO_CS 1 A04 + +# timer +timer A03 AF2 +# pin A03: TIM5 CH4 (AF2) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) + +# dma +dma ADC 1 1 +# ADC 1: DMA2 Stream 4 Channel 0 +dma pin A03 0 +# pin A03: DMA1 Stream 1 Channel 6 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 + +# feature +feature RX_SERIAL +feature LED_STRIP +feature OSD + +# serial +serial 1 64 115200 57600 0 115200 + +# led +led 0 0,15::C:10 +led 1 1,15::C:10 +led 2 2,15::C:10 +led 3 3,15::C:10 + +# master +set baro_bustype = I2C +set baro_i2c_device = 1 +set serialrx_provider = SBUS +set blackbox_device = SPIFLASH +set dshot_burst = AUTO +set dshot_bitbang = OFF +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 250 +set beeper_inversion = ON +set beeper_od = OFF +set system_hse_mhz = 8 +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 = CW180FLIP +set gyro_1_align_pitch = 1800 +set gyro_1_align_yaw = 1800 diff --git a/configs/default/MEPS-MEPSF4SX1280.config b/configs/default/MEPS-MEPSF4SX1280.config new file mode 100644 index 000000000..a04eafb71 --- /dev/null +++ b/configs/default/MEPS-MEPSF4SX1280.config @@ -0,0 +1,108 @@ +# Betaflight / STM32F411SX1280 (S4SX) 4.3.1 Jul 13 2022 / 03:33:32 (8d4f005) MSP API: 1.44 +#mcu STM32F411 + +#define USE_GYRO +#define USE_GYRO_SPI_MPU6500 +#define USE_ACC +#define USE_ACC_SPI_MPU6500 +#define USE_MAX7456 +#define USE_RX_SPI +#define USE_RX_EXPRESSLRS +#define USE_RX_EXPRESSLRS_TELEMETRY +#define USE_RX_SX1280 +#define RX_CHANNELS_AETR +#define RX_SPI_DEFAULT_PROTOCOL RX_SPI_EXPRESSLRS +#define RX_EXPRESSLRS_TIMER_INSTANCE TIM5 +#define RX_EXPRESSLRS_SPI_RESET_PIN PA8 +#define RX_EXPRESSLRS_SPI_BUSY_PIN PA13 +#define RX_SPI_CS PA15 +#define RX_SPI_EXTI PC14 +#define RX_SPI_BIND PB10 +#define RX_SPI_LED PA14 + +board_name MEPSF4SX1280 +manufacturer_id MEPS + +# resources +resource BEEPER 1 B02 +resource MOTOR 1 B00 +resource MOTOR 2 B01 +resource MOTOR 3 B06 +resource MOTOR 4 B07 +resource PPM 1 A03 +resource LED_STRIP 1 A10 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_RX 2 A03 +resource LED 1 C13 +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 A01 +resource ADC_CURR 1 A00 +resource OSD_CS 1 B12 +resource RX_SPI_CS 1 A15 +resource RX_SPI_EXTI 1 C14 +resource RX_SPI_BIND 1 B10 +resource RX_SPI_LED 1 A14 +resource RX_SPI_EXPRESSLRS_RESET 1 A08 +resource RX_SPI_EXPRESSLRS_BUSY 1 A13 +resource GYRO_EXTI 1 C15 +resource GYRO_CS 1 A04 + +# timer +timer A03 AF3 +# pin A03: TIM9 CH2 (AF3) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer B06 AF2 +# pin B06: TIM4 CH1 (AF2) +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer A10 AF1 +# pin A10: TIM1 CH3 (AF1) + +# dma +dma ADC 1 0 +# ADC 1: DMA2 Stream 0 Channel 0 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin B06 0 +# pin B06: DMA1 Stream 0 Channel 2 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin A10 0 +# pin A10: DMA2 Stream 6 Channel 0 + +# feature +feature TELEMETRY +feature OSD + +# master +set rx_spi_bus = 3 +set rx_spi_led_inversion = ON +set dshot_burst = AUTO +set dshot_bitbang = OFF +set align_board_yaw = 45 +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 250 +set beeper_inversion = ON +set beeper_od = OFF +set system_hse_mhz = 8 +set max7456_spi_bus = 2 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW180FLIP +set gyro_1_align_pitch = 1800 +set gyro_1_align_yaw = 1800 diff --git a/configs/default/NEBD-NBD_CRICKETF7.config b/configs/default/NEBD-NBD_CRICKETF7.config index f4cfe2818..517359c26 100644 --- a/configs/default/NEBD-NBD_CRICKETF7.config +++ b/configs/default/NEBD-NBD_CRICKETF7.config @@ -3,6 +3,12 @@ board_name NBD_CRICKETF7 manufacturer_id NEBD +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_MAX7456 + # resources resource BEEPER 1 C15 resource MOTOR 1 B04 diff --git a/configs/default/NEBD-NBD_CRICKETF7V2.config b/configs/default/NEBD-NBD_CRICKETF7V2.config index 089d86d35..4bbabb80d 100644 --- a/configs/default/NEBD-NBD_CRICKETF7V2.config +++ b/configs/default/NEBD-NBD_CRICKETF7V2.config @@ -3,6 +3,10 @@ board_name NBD_CRICKETF7V2 manufacturer_id NEBD +#define USE_ACC +#define USE_GYRO +#define USE_ACCGYRO_BMI270 + # resources resource BEEPER 1 C15 resource MOTOR 1 B04 diff --git a/configs/default/NERC-NEUTRONRCF7AIO.config b/configs/default/NERC-NEUTRONRCF7AIO.config index 9af444792..8e0e29206 100644 --- a/configs/default/NERC-NEUTRONRCF7AIO.config +++ b/configs/default/NERC-NEUTRONRCF7AIO.config @@ -8,6 +8,7 @@ #define USE_BARO #define USE_BARO_DPS310 #define USE_FLASH +#define USE_FLASH_M25P16 #define USE_FLASH_W25N01G #define USE_MAX7456 diff --git a/configs/default/ODTY-ODDITYRCF7AIO.config b/configs/default/ODTY-ODDITYRCF7AIO.config new file mode 100644 index 000000000..c540da10f --- /dev/null +++ b/configs/default/ODTY-ODDITYRCF7AIO.config @@ -0,0 +1,104 @@ +# Betaflight / STM32F7X2 (S7X2) 4.2.11 Nov 9 2021 / 20:29:32 (948ba6339) MSP API: 1.43 + +#define USE_ACC +#define USE_ACC_SPI_ICM42688P +#define USE_GYRO +#define USE_GYRO_SPI_ICM42688P +#define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_MAX7456 + +board_name ODDITYRCF7AIO +manufacturer_id ODTY + +# resources +resource BEEPER 1 C13 +resource MOTOR 1 B04 +resource MOTOR 2 B05 +resource MOTOR 3 B00 +resource MOTOR 4 B01 +resource LED_STRIP 1 A08 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 6 C07 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 A14 +resource LED 2 A13 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 C10 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MISO 3 C11 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource SPI_MOSI 3 C12 +resource ADC_BATT 1 C02 +resource ADC_CURR 1 C01 +resource FLASH_CS 1 D02 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 B02 + +# timer +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer B05 AF2 +# pin B05: TIM3 CH2 (AF2) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) + +# dma +dma ADC 1 1 +# ADC 1: DMA2 Stream 4 Channel 0 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin B05 0 +# pin B05: DMA1 Stream 5 Channel 5 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 + +# feature +feature LED_STRIP +feature ESC_SENSOR +feature OSD + +# led +led 0 6,7::CY:2 + +# serial +serial 5 1024 115200 57600 0 115200 + +# master +set baro_bustype = I2C +set baro_i2c_device = 1 +set blackbox_device = SPIFLASH +set dshot_burst = ON +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 179 +set beeper_inversion = ON +set beeper_od = OFF +set max7456_spi_bus = 2 +set flash_spi_bus = 3 +set gyro_1_spibus = 1 +set gyro_1_bustype = SPI diff --git a/configs/default/RUSH-BLADE_F7.config b/configs/default/RUSH-BLADE_F7.config index b9d6349d3..bfa5d7d8d 100644 --- a/configs/default/RUSH-BLADE_F7.config +++ b/configs/default/RUSH-BLADE_F7.config @@ -118,6 +118,8 @@ serial 3 2048 115200 57600 0 115200 led 0 0,15::C:2 # master +set baro_bustype = I2C +set baro_i2c_device = 1 set blackbox_device = SPIFLASH set dshot_burst = ON set current_meter = ADC diff --git a/configs/default/RUSH-BLADE_F7_AIO.config b/configs/default/RUSH-BLADE_F7_AIO.config new file mode 100644 index 000000000..7ae5ee8f4 --- /dev/null +++ b/configs/default/RUSH-BLADE_F7_AIO.config @@ -0,0 +1,137 @@ +# Betaflight / STM32F7X2 (S7X2) 4.3.2 Nov 28 2022 / 07:30:19 (60c9521) MSP API: 1.44 + +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACCGYRO_BMI270 +#define USE_GYRO_SPI_ICM42688P +#define USE_ACC_SPI_ICM42688P +#define USE_BARO +#define USE_BARO_DPS310 +#define USE_BARO_BMP280 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_MAX7456 + +board_name BLADE_F7_AIO +manufacturer_id RUSH + +# resources +resource BEEPER 1 B02 +resource MOTOR 1 C08 +resource MOTOR 2 C09 +resource MOTOR 3 A08 +resource MOTOR 4 A09 +resource MOTOR 5 B00 +resource MOTOR 6 B01 +resource MOTOR 7 A10 +resource MOTOR 8 B04 +resource PPM 1 B07 +resource LED_STRIP 1 B03 +resource SERIAL_TX 1 B06 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 B07 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 C15 +resource LED 2 C14 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 C10 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MISO 3 C11 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource SPI_MOSI 3 B05 +resource ADC_BATT 1 C01 +resource ADC_CURR 1 C03 +resource PINIO 1 C00 +resource PINIO 2 C02 +resource FLASH_CS 1 A15 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 A04 + +# timer +timer B07 AF2 +# pin B07: TIM4 CH2 (AF2) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer A09 AF1 +# pin A09: TIM1 CH2 (AF1) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer A10 AF1 +# pin A10: TIM1 CH3 (AF1) +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) + +# dma +dma ADC 3 1 +# ADC 3: DMA2 Stream 1 Channel 2 +dma pin B07 0 +# pin B07: DMA1 Stream 3 Channel 2 +dma pin C08 0 +# pin C08: DMA2 Stream 2 Channel 0 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 +dma pin A09 0 +# pin A09: DMA2 Stream 6 Channel 0 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin A10 0 +# pin A10: DMA2 Stream 6 Channel 0 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 + +# feature +feature TELEMETRY +feature OSD + +# serial +serial 0 64 115200 57600 0 115200 + +# master +set baro_bustype = I2C +set baro_i2c_device = 1 +set serialrx_provider = CRSF +set adc_device = 3 +set blackbox_device = SPIFLASH +set dshot_burst = ON +set align_board_yaw = -45 +set current_meter = ADC +set battery_meter = ADC +set beeper_inversion = ON +set beeper_od = OFF +set max7456_spi_bus = 2 +set pinio_box = 40,41,255,255 +set flash_spi_bus = 3 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW270 +set gyro_1_align_yaw = 2700 diff --git a/configs/default/SJET-AOCODARCF405V3.config b/configs/default/SJET-AOCODARCF405V3.config new file mode 100644 index 000000000..db3bf4b70 --- /dev/null +++ b/configs/default/SJET-AOCODARCF405V3.config @@ -0,0 +1,147 @@ +# Betaflight / STM32F405 (S405) 4.2.11 Nov 9 2021 / 20:27:49 (948ba6339) MSP API: 1.43 + +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM42688P +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_BARO_DPS310 +#define USE_BARO_MS5611 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_MAX7456 + +board_name AOCODARCF405V3 +manufacturer_id SJET + +# resources +resource BEEPER 1 B08 +resource MOTOR 1 C06 +resource MOTOR 2 C07 +resource MOTOR 3 C08 +resource MOTOR 4 C09 +resource MOTOR 5 A15 +resource MOTOR 6 A08 +resource MOTOR 7 B10 +resource MOTOR 8 B11 +resource PPM 1 A03 +resource LED_STRIP 1 B01 +resource SERIAL_TX 1 A09 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 C10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_RX 1 A10 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 C11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource I2C_SCL 1 B06 +resource I2C_SDA 1 B07 +resource LED 1 C13 +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 ESCSERIAL 1 C11 +resource ADC_BATT 1 C02 +resource ADC_RSSI 1 C03 +resource ADC_CURR 1 C01 +resource FLASH_CS 1 C00 +resource OSD_CS 1 A13 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 A04 +resource USB_DETECT 1 B12 +resource PINIO 1 C05 +resource PINIO 2 A14 +resource PINIO 3 C15 + +# timer +timer A03 AF2 +# pin A03: TIM5 CH4 (AF2) +timer C06 AF3 +# pin C06: TIM8 CH1 (AF3) +timer C07 AF3 +# pin C07: TIM8 CH2 (AF3) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer A15 AF1 +# pin A15: TIM2 CH1 (AF1) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer B10 AF1 +# pin B10: TIM2 CH3 (AF1) +timer B11 AF1 +# pin B11: TIM2 CH4 (AF1) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) + +# dma +dma ADC 1 0 +# ADC 1: DMA2 Stream 0 Channel 0 +dma pin A03 0 +# pin A03: DMA1 Stream 1 Channel 6 +dma pin C06 1 +# pin C06: DMA2 Stream 2 Channel 7 +dma pin C07 1 +# pin C07: DMA2 Stream 3 Channel 7 +dma pin C08 1 +# pin C08: DMA2 Stream 4 Channel 7 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin A15 0 +# pin A15: DMA1 Stream 5 Channel 3 +dma pin A08 1 +# pin A08: DMA2 Stream 1 Channel 6 +dma pin B10 0 +# pin B10: DMA1 Stream 1 Channel 3 +dma pin B11 0 +# pin B11: DMA1 Stream 7 Channel 3 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 + +# feature +feature TELEMETRY +feature RX_SERIAL +feature OSD +feature GPS +feature LED_STRIP + +# serial +serial 0 2 115200 57600 0 115200 +serial 1 64 115200 57600 0 115200 +serial 3 8192 115200 57600 0 115200 +serial 4 1 115200 57600 0 115200 + +# master +set pinio_config = 129,129,1,1 +set pinio_box = 40,41,42,255 +set serialrx_provider = CRSF +set dshot_burst = ON +set motor_pwm_protocol = DSHOT600 +set mag_bustype = I2C +set mag_i2c_device = 1 +set baro_bustype = I2C +set baro_i2c_device = 1 +set blackbox_device = SPIFLASH +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 206 +set beeper_inversion = ON +set beeper_od = OFF +set system_hse_mhz = 8 +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 = CW90 diff --git a/configs/default/SKST-SKYSTARSF405.config b/configs/default/SKST-SKYSTARSF405.config index 8add3a02c..9d25fb1e1 100644 --- a/configs/default/SKST-SKYSTARSF405.config +++ b/configs/default/SKST-SKYSTARSF405.config @@ -3,9 +3,11 @@ #define USE_ACC #define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM42688P #define USE_GYRO #define USE_GYRO_SPI_MPU6000 #define USE_ACCGYRO_BMI270 +#define USE_GYRO_SPI_ICM42688P #define USE_BARO #define USE_BARO_SPI_BMP280 #define USE_FLASH diff --git a/configs/default/SKST-SKYSTARSF405AIO.config b/configs/default/SKST-SKYSTARSF405AIO.config index 6771d6e3a..24fccc1b9 100644 --- a/configs/default/SKST-SKYSTARSF405AIO.config +++ b/configs/default/SKST-SKYSTARSF405AIO.config @@ -121,3 +121,4 @@ set gyro_1_align_yaw = 450 set current_meter = ADC set battery_meter = ADC set ibata_scale = 558 +set align_board_yaw = 45 diff --git a/configs/default/SLGD-SOLOGOODF405.config b/configs/default/SLGD-SOLOGOODF405.config new file mode 100644 index 000000000..7365a2167 --- /dev/null +++ b/configs/default/SLGD-SOLOGOODF405.config @@ -0,0 +1,135 @@ +# Betaflight / STM32F405 (S405) 4.2.11 Nov 9 2021 / 20:27:49 (948ba6339) MSP API: 1.43 + +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_ACC_SPI_ICM42688P +#define USE_ACCGYRO_BMI270 +#define USE_BARO +#define USE_BARO_DPS310 +#define USE_BARO_BMP280 +#define USE_FLASH +#define USE_FLASH_W25Q128FV +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_GYRO_SPI_ICM42688P +#define USE_MAX7456 + +board_name SOLOGOODF405 +manufacturer_id SLGD + + +# resources +resource BEEPER 1 C13 +resource MOTOR 1 C08 +resource MOTOR 2 C09 +resource MOTOR 3 A08 +resource MOTOR 4 A09 +resource MOTOR 5 B00 +resource MOTOR 6 B01 +resource MOTOR 7 A10 +resource MOTOR 8 B04 +resource LED_STRIP 1 B03 +resource SERIAL_TX 1 B06 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 B07 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 A01 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 C15 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 C10 +resource SPI_MISO 1 A06 +resource SPI_MISO 2 B14 +resource SPI_MISO 3 C11 +resource SPI_MOSI 1 A07 +resource SPI_MOSI 2 B15 +resource SPI_MOSI 3 B05 +resource ADC_BATT 1 C01 +resource ADC_RSSI 1 C02 +resource ADC_CURR 1 C03 +resource PINIO 1 C02 +resource FLASH_CS 1 A15 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 A04 + +# timer +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer A09 AF1 +# pin A09: TIM1 CH2 (AF1) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer A10 AF1 +# pin A10: TIM1 CH3 (AF1) +timer B04 AF2 +# pin B04: TIM3 CH1 (AF2) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) + +# dma +dma ADC 3 0 +# ADC 3: DMA2 Stream 0 Channel 2 +dma pin C08 0 +# pin C08: DMA2 Stream 2 Channel 0 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 +dma pin A09 0 +# pin A09: DMA2 Stream 6 Channel 0 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin A10 0 +# pin A10: DMA2 Stream 6 Channel 0 +dma pin B04 0 +# pin B04: DMA1 Stream 4 Channel 5 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 + +# feature +feature RX_SERIAL +feature OSD + +# serial +serial 1 64 115200 57600 0 115200 + +# master +set mag_bustype = I2C +set mag_i2c_device = 1 +set baro_bustype = I2C +set baro_i2c_device = 1 +set serialrx_provider = CRSF +set adc_device = 3 +set blackbox_device = SPIFLASH +set dshot_burst = ON +set current_meter = ADC +set battery_meter = ADC +set beeper_inversion = ON +set beeper_od = OFF +set osd_displayport_device = MAX7456 +set max7456_spi_bus = 2 +set pinio_config = 129,1,1,1 +set pinio_box = 40,255,255,255 +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 diff --git a/configs/default/SPDX-SPEDIXF722.config b/configs/default/SPDX-SPEDIXF722.config index db5a0fb9b..6622fdf4c 100644 --- a/configs/default/SPDX-SPEDIXF722.config +++ b/configs/default/SPDX-SPEDIXF722.config @@ -9,6 +9,7 @@ #define USE_ACC_SPI_ICM42688P #define USE_BARO #define USE_BARO_BMP280 +#define USE_BARO_DPS310 #define USE_FLASH #define USE_FLASH_M25P16 #define USE_MAX7456 diff --git a/configs/default/SPRO-SPRACINGH7NANO.config b/configs/default/SPRO-SPRACINGH7NANO.config index 3364e1070..f43ca9b75 100644 --- a/configs/default/SPRO-SPRACINGH7NANO.config +++ b/configs/default/SPRO-SPRACINGH7NANO.config @@ -74,14 +74,14 @@ #define USE_I2C #define USE_I2C_DEVICE_1 -#define I2C1_SCL_PIN PB8 -#define I2C1_SDA_PIN PB9 +#define I2C1_SCL PB8 +#define I2C1_SDA PB9 #define I2C_DEVICE (I2CDEV_1) # I2C shared with motor outputs 5/6 #define USE_I2C_DEVICE_4 -#define I2C4_SCL_PIN PB6 -#define I2C4_SDA_PIN PB7 +#define I2C4_SCL PB6 +#define I2C4_SDA PB7 #define ENSURE_MPU_DATA_READY_IS_LOW diff --git a/configs/default/TMTR-TMOTORVELOXF7SE.txt b/configs/default/TMTR-TMOTORVELOXF7SE.txt new file mode 100644 index 000000000..afcf43844 --- /dev/null +++ b/configs/default/TMTR-TMOTORVELOXF7SE.txt @@ -0,0 +1,141 @@ +# Betaflight / STM32F7X2 (S7X2) 4.3.1 Sep 23 2022 / 17:19:06 () MSP API: 1.44 + +#mcu STM32F7X2 + +#define USE_GYRO +#define USE_GYRO_SPI_ICM42688P +#define USE_ACC +#define USE_ACC_SPI_ICM42688P +#define USE_BARO +#define USE_BARO_DPS310 +#define USE_FLASH +#define USE_FLASH_W25N01G +#define USE_MAX7456 + +board_name TMOTORVELOXF7SE +manufacturer_id TMTR + +# resources +resource BEEPER 1 C13 +resource MOTOR 1 A01 +resource MOTOR 2 B00 +resource MOTOR 3 B05 +resource MOTOR 4 B01 +resource MOTOR 5 C08 +resource MOTOR 6 C09 +resource MOTOR 7 A08 +resource MOTOR 8 A09 +resource LED_STRIP 1 A10 +resource SERIAL_TX 1 B06 +resource SERIAL_TX 2 A02 +resource SERIAL_TX 3 B10 +resource SERIAL_TX 4 A00 +resource SERIAL_TX 5 C12 +resource SERIAL_TX 6 C06 +resource SERIAL_RX 1 B07 +resource SERIAL_RX 2 A03 +resource SERIAL_RX 3 B11 +resource SERIAL_RX 4 C11 +resource SERIAL_RX 5 D02 +resource SERIAL_RX 6 C07 +resource I2C_SCL 1 B08 +resource I2C_SDA 1 B09 +resource LED 1 C14 +resource LED 2 A14 +resource SPI_SCK 1 A05 +resource SPI_SCK 2 B13 +resource SPI_SCK 3 C10 +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 B02 +resource CAMERA_CONTROL 1 B03 +resource ADC_BATT 1 C02 +resource ADC_RSSI 1 C00 +resource ADC_CURR 1 C03 +resource PINIO 1 C15 +resource PINIO 2 C01 +resource FLASH_CS 1 A15 +resource OSD_CS 1 B12 +resource GYRO_EXTI 1 C04 +resource GYRO_CS 1 A04 + +# timer +timer A01 AF2 +# pin A01: TIM5 CH2 (AF2) +timer B00 AF2 +# pin B00: TIM3 CH3 (AF2) +timer B05 AF2 +# pin B05: TIM3 CH2 (AF2) +timer B01 AF2 +# pin B01: TIM3 CH4 (AF2) +timer C08 AF3 +# pin C08: TIM8 CH3 (AF3) +timer C09 AF3 +# pin C09: TIM8 CH4 (AF3) +timer A08 AF1 +# pin A08: TIM1 CH1 (AF1) +timer A09 AF1 +# pin A09: TIM1 CH2 (AF1) +timer B03 AF1 +# pin B03: TIM2 CH2 (AF1) +timer A10 AF1 +# pin A10: TIM1 CH3 (AF1) + +# dma +dma ADC 1 1 +# ADC 1: DMA2 Stream 4 Channel 0 +dma pin A01 0 +# pin A01: DMA1 Stream 4 Channel 6 +dma pin B00 0 +# pin B00: DMA1 Stream 7 Channel 5 +dma pin B05 0 +# pin B05: DMA1 Stream 5 Channel 5 +dma pin B01 0 +# pin B01: DMA1 Stream 2 Channel 5 +dma pin C08 0 +# pin C08: DMA2 Stream 2 Channel 0 +dma pin C09 0 +# pin C09: DMA2 Stream 7 Channel 7 +dma pin A08 0 +# pin A08: DMA2 Stream 6 Channel 0 +dma pin A09 0 +# pin A09: DMA2 Stream 6 Channel 0 +dma pin B03 0 +# pin B03: DMA1 Stream 6 Channel 3 +dma pin A10 0 +# pin A10: DMA2 Stream 6 Channel 0 + +# feature +feature RX_SERIAL +feature TELEMETRY +feature LED_STRIP +feature OSD + +# serial +serial 0 64 115200 57600 0 115200 +serial 5 1 115200 57600 0 115200 + +# master +set mag_bustype = I2C +set mag_i2c_device = 1 +set baro_bustype = I2C +set baro_i2c_device = 1 +set serialrx_provider = SBUS +set blackbox_device = SPIFLASH +set dshot_burst = ON +set current_meter = ADC +set battery_meter = ADC +set ibata_scale = 200 +set beeper_inversion = ON +set beeper_od = OFF +set max7456_spi_bus = 2 +set flash_spi_bus = 3 +set pinio_config = 129,129,1,1 +set pinio_box = 39,255,255,255 +set gyro_1_bustype = SPI +set gyro_1_spibus = 1 +set gyro_1_sensor_align = CW90 +set gyro_1_align_yaw = 900 \ No newline at end of file