Giter Site home page Giter Site logo

unified-targets's Introduction

Betaflight Target Configuration Repository

Important

Unified-Targets are being sunsetted in favor of Target Configuration (config.h) files. Please see https://betaflight.com/docs/development/manufacturer/creating-configuration for creating targets in the https://github.com/betaflight/config repository.

ATTENTION

Please see the Manufacturer Guildlines for hardware certification.

Manufacturers can contact us on Discord to be part of our certification program.

Manufacturer Design Guidelines

Read the hardware specification.

Build API

All targets need to include #defines for drivers to be included for hardware drivers, including accelerometer, gyro and OSD chip (if present).

Note that hardware such as barometer and magnetometer, even if on the hardware, can be activated by the user select MAG or BARO in the configurator, and the system will load all the drivers.

Please describe in comments what hardware is on the actual board, to assist in future endeavours in managing the cloud build system.

Please update all existing targets. See instructions below for more details.

Betaflight will include a certified flag as new hardware specification requirements will be in place to improve quality. Documentation with more detailed guidelines will be provided on further notice.

Instructions

Please follow these instructions to create and publish a Target configuration.

unified-targets's People

Contributors

aocodarc avatar asdosjani avatar asizon avatar betafpv-engineer avatar blckmn avatar bnn1044 avatar cvetaevvitaliy avatar dusking1 avatar etracer65 avatar flosean avatar freasy avatar geme-cyi avatar guidus93 avatar haslinghuis avatar hglrc-d avatar howels avatar jamming avatar johnsnow-foxeer avatar kc10kevin avatar linjieqiang avatar mateksys avatar mikeller avatar nerdcopter avatar ot0tot avatar star624 avatar stevecevans avatar sugaark avatar thanyangfpv avatar tobeornottobe81 avatar x4ff3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unified-targets's Issues

Pin C09 is assigned twice in DIAT-FURYF4OSD.config

Very new to this, so I'm not sure if this is an issue or not.

In the unified target config for Diatone FURYF4OSD, near the top of the config, there is resource assignment PPM 1 to C09, to which a note is displayed in the cli, "NOTE: C09 already assigned to ESCSERIAL." Then, further down the config, resource assignment ESCSERIAL 1 to C09 is made, to which a cli note is output, "NOTE: C09 already assigned to PPM." So it would seem that ultimately, ESCSERIAL is more or less unaffected as it remains assigned to C09, but whatever the intention with PPM is, it appears it ultimately lacks an assignment since it gets bumped off of C09. If this is intended, please pardon me for posting about it, while I continue doing my best to learn my way around here (betaflight, and Github.) Thank you.

Port config file from legacy H743 target to unified H743 target causes ADC won't work

When building a custom MAMBAH743 target, the ADC can work. However when port the dump from the legacy target to the unified target the ADC just, won't work.

To me, it seems like there's some weird "magic" undefined in the unified h743. For example, the legacy target has two lines of duplicate dma TIMUP 0 0 which make no sense but it still has a valid DMA stream.

dma TIMUP 0 0
# TIMUP 0: DMA1 Stream 0 Request 110
dma TIMUP 0 0
# TIMUP 0: DMA1 Stream 0 Request 112

Full hardware dump are shown as below, first is from legacy, second is from unified target:

# version
# Betaflight / MAMBAH743 (MBH7) 4.3.0 Oct 13 2021 / 00:50:43 (6c9552f2b) MSP API: 1.44

# start the command batch
batch start

board_name MAMBAH743
manufacturer_id 

# 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 SERVO 1 NONE
resource SERVO 2 NONE
resource SERVO 3 NONE
resource SERVO 4 NONE
resource SERVO 5 NONE
resource SERVO 6 NONE
resource SERVO 7 NONE
resource SERVO 8 NONE
resource PPM 1 B09
resource PWM 1 NONE
resource PWM 2 NONE
resource PWM 3 NONE
resource PWM 4 NONE
resource PWM 5 NONE
resource PWM 6 NONE
resource PWM 7 NONE
resource PWM 8 NONE
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_TX 9 NONE
resource SERIAL_TX 10 NONE
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 SERIAL_RX 9 NONE
resource SERIAL_RX 10 NONE
resource I2C_SCL 1 B06
resource I2C_SCL 2 B10
resource I2C_SCL 3 NONE
resource I2C_SCL 4 NONE
resource I2C_SDA 1 B07
resource I2C_SDA 2 B11
resource I2C_SDA 3 NONE
resource I2C_SDA 4 NONE
resource LED 1 E05
resource LED 2 E04
resource LED 3 NONE
resource RX_BIND 1 NONE
resource RX_BIND_PLUG 1 NONE
resource SPI_SCK 1 A05
resource SPI_SCK 2 B13
resource SPI_SCK 3 C10
resource SPI_SCK 4 E12
resource SPI_SCK 5 NONE
resource SPI_SCK 6 NONE
resource SPI_MISO 1 A06
resource SPI_MISO 2 B14
resource SPI_MISO 3 C11
resource SPI_MISO 4 E13
resource SPI_MISO 5 NONE
resource SPI_MISO 6 NONE
resource SPI_MOSI 1 A07
resource SPI_MOSI 2 B15
resource SPI_MOSI 3 B02
resource SPI_MOSI 4 E14
resource SPI_MOSI 5 NONE
resource SPI_MOSI 6 NONE
resource ESCSERIAL 1 NONE
resource CAMERA_CONTROL 1 NONE
resource ADC_BATT 1 C01
resource ADC_RSSI 1 C02
resource ADC_CURR 1 C03
resource ADC_EXT 1 C00
resource BARO_CS 1 NONE
resource BARO_EOC 1 NONE
resource BARO_XCLR 1 NONE
resource COMPASS_CS 1 NONE
resource PINIO 1 C05
resource PINIO 2 NONE
resource PINIO 3 NONE
resource PINIO 4 NONE
resource USB_MSC_PIN 1 NONE
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
resource PULLUP 1 NONE
resource PULLUP 2 NONE
resource PULLUP 3 NONE
resource PULLUP 4 NONE
resource PULLDOWN 1 NONE
resource PULLDOWN 2 NONE
resource PULLDOWN 3 NONE
resource PULLDOWN 4 NONE

# 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 SPI_TX 1 NONE
dma SPI_TX 2 NONE
dma SPI_TX 3 NONE
dma SPI_TX 4 NONE
dma SPI_TX 5 NONE
dma SPI_TX 6 NONE
dma SPI_RX 1 NONE
dma SPI_RX 2 NONE
dma SPI_RX 3 NONE
dma SPI_RX 4 NONE
dma SPI_RX 5 NONE
dma SPI_RX 6 NONE
dma ADC 1 8
# ADC 1: DMA2 Stream 0 Request 9
dma ADC 2 NONE
dma ADC 3 9
# ADC 3: DMA2 Stream 1 Request 115
dma UART_TX 1 NONE
dma UART_TX 2 NONE
dma UART_TX 3 NONE
dma UART_TX 4 NONE
dma UART_TX 5 NONE
dma UART_TX 6 NONE
dma UART_TX 7 NONE
dma UART_TX 8 NONE
dma UART_RX 1 NONE
dma UART_RX 2 NONE
dma UART_RX 3 NONE
dma UART_RX 4 NONE
dma UART_RX 5 NONE
dma UART_RX 6 NONE
dma UART_RX 7 NONE
dma UART_RX 8 NONE
dma TIMUP 1 0
# TIMUP 1: DMA1 Stream 0 Request 15
dma TIMUP 2 NONE
dma TIMUP 3 2
# TIMUP 3: DMA1 Stream 2 Request 27
dma TIMUP 4 NONE
dma TIMUP 5 0
# TIMUP 5: DMA1 Stream 0 Request 59
dma TIMUP 6 NONE
dma TIMUP 7 NONE
dma TIMUP 8 4
# TIMUP 8: DMA1 Stream 4 Request 51
dma TIMUP 12 NONE
dma TIMUP 13 NONE
dma TIMUP 14 NONE
dma TIMUP 15 NONE
dma TIMUP 16 NONE
dma TIMUP 17 NONE
dma TIMUP 0 NONE
dma TIMUP 0 0
# TIMUP 0: DMA1 Stream 0 Request 110
dma TIMUP 0 0
# TIMUP 0: DMA1 Stream 0 Request 112
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 -RX_PPM
feature -INFLIGHT_ACC_CAL
feature -RX_SERIAL
feature -MOTOR_STOP
feature -SERVO_TILT
feature -SOFTSERIAL
feature -GPS
feature -RANGEFINDER
feature -TELEMETRY
feature -3D
feature -RX_PARALLEL_PWM
feature -RX_MSP
feature -RSSI_ADC
feature -LED_STRIP
feature -DISPLAY
feature -OSD
feature -CHANNEL_FORWARDING
feature -TRANSPONDER
feature -AIRMODE
feature -RX_SPI
feature -ESC_SENSOR
feature -ANTI_GRAVITY
feature -DYNAMIC_FILTER
feature RX_SERIAL
feature TELEMETRY
feature OSD
feature AIRMODE
feature ANTI_GRAVITY
feature DYNAMIC_FILTER

# serial
serial 20 1 115200 57600 0 115200
serial 0 64 115200 57600 0 115200
serial 1 0 115200 57600 0 115200
serial 2 0 115200 57600 0 115200
serial 3 1 115200 57600 0 115200
serial 4 0 115200 57600 0 115200
serial 5 0 115200 57600 0 115200
serial 6 0 115200 57600 0 115200
serial 7 0 115200 57600 0 115200

# master
set gyro_to_use = FIRST
set align_mag = DEFAULT
set mag_align_roll = 0
set mag_align_pitch = 0
set mag_align_yaw = 0
set mag_bustype = I2C
set mag_i2c_device = 2
set mag_i2c_address = 0
set mag_spi_device = 0
set baro_bustype = I2C
set baro_spi_device = 0
set baro_i2c_device = 1
set baro_i2c_address = 0
set adc_device = 1
set blackbox_device = SERIAL
set dshot_burst = OFF
set dshot_bitbang = AUTO
set dshot_bitbang_timer = AUTO
set current_meter = ADC
set battery_meter = ADC
set vbat_scale = 110
set ibata_scale = 400
set beeper_inversion = ON
set beeper_od = OFF
set beeper_frequency = 0
set max7456_clock = DEFAULT
set max7456_spi_bus = 2
set max7456_preinit_opu = OFF
set led_inversion = 0
set dashboard_i2c_bus = 0
set dashboard_i2c_addr = 60
set pinio_config = 129,1,1,1
set pinio_box = 0,255,255,255
set usb_msc_pin_pullup = ON
set flash_spi_bus = 3
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
set gyro_1_align_roll = 0
set gyro_1_align_pitch = 0
set gyro_1_align_yaw = 1800
set gyro_2_bustype = SPI
set gyro_2_spibus = 4
set gyro_2_i2cBus = 0
set gyro_2_i2c_address = 0
set gyro_2_sensor_align = CW270
set gyro_2_align_roll = 0
set gyro_2_align_pitch = 0
set gyro_2_align_yaw = 2700
set box_user_1_name = -
set box_user_2_name = -
set box_user_3_name = -
set box_user_4_name = -

# end the command batch
batch end
# version
# Betaflight / STM32H743 (SH74) 4.3.0 Oct 10 2021 / 03:31:58 (0b3a5a651) MSP API: 1.44

# start the command batch
batch start

board_name MAMBAH743
manufacturer_id DIAT

# 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 SERVO 1 NONE
resource SERVO 2 NONE
resource SERVO 3 NONE
resource SERVO 4 NONE
resource SERVO 5 NONE
resource SERVO 6 NONE
resource SERVO 7 NONE
resource SERVO 8 NONE
resource PPM 1 B09
resource PWM 1 NONE
resource PWM 2 NONE
resource PWM 3 NONE
resource PWM 4 NONE
resource PWM 5 NONE
resource PWM 6 NONE
resource PWM 7 NONE
resource PWM 8 NONE
resource SONAR_TRIGGER 1 NONE
resource SONAR_ECHO 1 NONE
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_TX 9 NONE
resource SERIAL_TX 10 NONE
resource SERIAL_TX 11 NONE
resource SERIAL_TX 12 NONE
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 SERIAL_RX 9 NONE
resource SERIAL_RX 10 NONE
resource SERIAL_RX 11 NONE
resource SERIAL_RX 12 NONE
resource I2C_SCL 1 B06
resource I2C_SCL 2 B10
resource I2C_SCL 3 NONE
resource I2C_SCL 4 NONE
resource I2C_SDA 1 B07
resource I2C_SDA 2 B11
resource I2C_SDA 3 NONE
resource I2C_SDA 4 NONE
resource LED 1 E05
resource LED 2 E04
resource LED 3 NONE
resource RX_BIND 1 NONE
resource RX_BIND_PLUG 1 NONE
resource TRANSPONDER 1 NONE
resource SPI_SCK 1 A05
resource SPI_SCK 2 B13
resource SPI_SCK 3 C10
resource SPI_SCK 4 E12
resource SPI_SCK 5 NONE
resource SPI_SCK 6 NONE
resource SPI_MISO 1 A06
resource SPI_MISO 2 B14
resource SPI_MISO 3 C11
resource SPI_MISO 4 E13
resource SPI_MISO 5 NONE
resource SPI_MISO 6 NONE
resource SPI_MOSI 1 A07
resource SPI_MOSI 2 B15
resource SPI_MOSI 3 B02
resource SPI_MOSI 4 E14
resource SPI_MOSI 5 NONE
resource SPI_MOSI 6 NONE
resource ESCSERIAL 1 NONE
resource CAMERA_CONTROL 1 NONE
resource ADC_BATT 1 C01
resource ADC_RSSI 1 C02
resource ADC_CURR 1 C03
resource ADC_EXT 1 C00
resource BARO_CS 1 NONE
resource BARO_EOC 1 NONE
resource BARO_XCLR 1 NONE
resource COMPASS_CS 1 NONE
resource COMPASS_EXTI 1 NONE
resource SDCARD_CS 1 NONE
resource SDCARD_DETECT 1 NONE
resource SDIO_CK 1 NONE
resource SDIO_CMD 1 NONE
resource SDIO_D0 1 NONE
resource SDIO_D1 1 NONE
resource SDIO_D2 1 NONE
resource SDIO_D3 1 NONE
resource PINIO 1 C05
resource PINIO 2 NONE
resource PINIO 3 NONE
resource PINIO 4 NONE
resource USB_MSC_PIN 1 NONE
resource FLASH_CS 1 A15
resource OSD_CS 1 B12
resource RX_SPI_CS 1 NONE
resource RX_SPI_EXTI 1 NONE
resource RX_SPI_BIND 1 NONE
resource RX_SPI_LED 1 NONE
resource RX_SPI_CC2500_TX_EN 1 NONE
resource RX_SPI_CC2500_LNA_EN 1 NONE
resource RX_SPI_CC2500_ANT_SEL 1 NONE
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
resource VTX_POWER 1 NONE
resource VTX_CS 1 NONE
resource VTX_DATA 1 NONE
resource VTX_CLK 1 NONE
resource PULLUP 1 NONE
resource PULLUP 2 NONE
resource PULLUP 3 NONE
resource PULLUP 4 NONE
resource PULLDOWN 1 NONE
resource PULLDOWN 2 NONE
resource PULLDOWN 3 NONE
resource PULLDOWN 4 NONE

# 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 SPI_TX 1 NONE
dma SPI_TX 2 NONE
dma SPI_TX 3 NONE
dma SPI_TX 4 NONE
dma SPI_TX 5 NONE
dma SPI_TX 6 NONE
dma SPI_RX 1 NONE
dma SPI_RX 2 NONE
dma SPI_RX 3 NONE
dma SPI_RX 4 NONE
dma SPI_RX 5 NONE
dma SPI_RX 6 NONE
dma ADC 1 8
# ADC 1: DMA2 Stream 0 Request 9
dma ADC 2 NONE
dma ADC 3 9
# ADC 3: DMA2 Stream 1 Request 115
dma UART_TX 1 NONE
dma UART_TX 2 NONE
dma UART_TX 3 NONE
dma UART_TX 4 NONE
dma UART_TX 5 NONE
dma UART_TX 6 NONE
dma UART_TX 7 NONE
dma UART_TX 8 NONE
dma UART_RX 1 NONE
dma UART_RX 2 NONE
dma UART_RX 3 NONE
dma UART_RX 4 NONE
dma UART_RX 5 NONE
dma UART_RX 6 NONE
dma UART_RX 7 NONE
dma UART_RX 8 NONE
dma TIMUP 1 0
# TIMUP 1: DMA1 Stream 0 Request 15
dma TIMUP 2 NONE
dma TIMUP 3 2
# TIMUP 3: DMA1 Stream 2 Request 27
dma TIMUP 4 NONE
dma TIMUP 5 0
# TIMUP 5: DMA1 Stream 0 Request 59
dma TIMUP 6 NONE
dma TIMUP 7 NONE
dma TIMUP 8 4
# TIMUP 8: DMA1 Stream 4 Request 51
dma TIMUP 12 NONE
dma TIMUP 13 NONE
dma TIMUP 14 NONE
dma TIMUP 15 NONE
dma TIMUP 16 NONE
dma TIMUP 17 NONE
dma TIMUP 0 NONE
dma TIMUP 0 NONE
dma TIMUP 0 NONE
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 -RX_PPM
feature -INFLIGHT_ACC_CAL
feature -RX_SERIAL
feature -MOTOR_STOP
feature -SERVO_TILT
feature -SOFTSERIAL
feature -GPS
feature -RANGEFINDER
feature -TELEMETRY
feature -3D
feature -RX_PARALLEL_PWM
feature -RX_MSP
feature -RSSI_ADC
feature -LED_STRIP
feature -DISPLAY
feature -OSD
feature -CHANNEL_FORWARDING
feature -TRANSPONDER
feature -AIRMODE
feature -RX_SPI
feature -ESC_SENSOR
feature -ANTI_GRAVITY
feature -DYNAMIC_FILTER
feature RX_SERIAL
feature OSD
feature AIRMODE
feature ANTI_GRAVITY
feature DYNAMIC_FILTER

# serial
serial 20 1 115200 57600 0 115200
serial 0 64 115200 57600 0 115200
serial 1 0 115200 57600 0 115200
serial 2 0 115200 57600 0 115200
serial 3 1 115200 57600 0 115200
serial 4 0 115200 57600 0 115200
serial 5 0 115200 57600 0 115200
serial 6 0 115200 57600 0 115200
serial 7 0 115200 57600 0 115200

# master
set gyro_to_use = FIRST
set align_mag = DEFAULT
set mag_align_roll = 0
set mag_align_pitch = 0
set mag_align_yaw = 0
set mag_bustype = SPI
set mag_i2c_device = 0
set mag_i2c_address = 0
set mag_spi_device = 0
set baro_bustype = I2C
set baro_spi_device = 0
set baro_i2c_device = 1
set baro_i2c_address = 0
set rx_spi_protocol = V202_250K
set rx_spi_bus = 0
set rx_spi_led_inversion = OFF
set adc_device = 1
set blackbox_device = SPIFLASH
set dshot_burst = OFF
set dshot_bitbang = AUTO
set dshot_bitbang_timer = AUTO
set current_meter = ADC
set battery_meter = ADC
set vbat_scale = 110
set ibata_scale = 400
set beeper_inversion = ON
set beeper_od = OFF
set beeper_frequency = 0
set sdcard_detect_inverted = OFF
set sdcard_mode = OFF
set sdcard_spi_bus = 0
set sdio_clk_bypass = OFF
set sdio_use_cache = OFF
set sdio_use_4bit_width = OFF
set sdio_device = 0
set vtx_spi_bus = 0
set max7456_clock = DEFAULT
set max7456_spi_bus = 2
set max7456_preinit_opu = OFF
set cc2500_spi_chip_detect = ON
set led_inversion = 0
set dashboard_i2c_bus = 0
set dashboard_i2c_addr = 60
set pinio_config = 129,1,1,1
set pinio_box = 0,255,255,255
set usb_msc_pin_pullup = ON
set flash_spi_bus = 3
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
set gyro_1_align_roll = 0
set gyro_1_align_pitch = 0
set gyro_1_align_yaw = 1800
set gyro_2_bustype = SPI
set gyro_2_spibus = 4
set gyro_2_i2cBus = 0
set gyro_2_i2c_address = 0
set gyro_2_sensor_align = CW270
set gyro_2_align_roll = 0
set gyro_2_align_pitch = 0
set gyro_2_align_yaw = 2700
set i2c1_pullup = OFF
set i2c1_clockspeed_khz = 800
set i2c2_pullup = OFF
set i2c2_clockspeed_khz = 800
set i2c3_pullup = OFF
set i2c3_clockspeed_khz = 800
set i2c4_pullup = OFF
set i2c4_clockspeed_khz = 800
set box_user_1_name = -
set box_user_2_name = -
set box_user_3_name = -
set box_user_4_name = -

# end the command batch
batch end

Maybe you can provide some help here? @kc10kevin

IFlight Succex-E F7 acc/gyro orientation

Describe the bug

Wrong acc/gyro chip orientation, in "setup" window, roll is pitch and viceversa.

To Reproduce

Flashed latest firmware, applied custom defaults, calibrate accelerometer and reset z axis to check the proper orientation. I have to set First Gyro to CW 270 to work properly, default is CW 180 which is wrong.

Expected behavior

Roll to be roll axis and pitch to be pitch axis when move te FC in "setup" window.

Flight controller configuration

# diff

# version
# Betaflight / STM32F7X2 (S7X2) 4.2.8 Feb 15 2021 / 12:10:35 (101738d8e) MSP API: 1.43
# config: manufacturer_id: IFRC, board_name: IFLIGHT_SUCCEX_E_F7, version: c7fde51e, date: 2020-08-26T04:30:34Z

# start the command batch
batch start

board_name IFLIGHT_SUCCEX_E_F7
manufacturer_id IFRC

# master
set acc_calibration = -27,19,-12,1
set gyro_1_align_yaw = 1800

profile 0

rateprofile 0

# end the command batch
batch end
# resource show all
Currently active IO resource assignments:
(reboot to update)
--------------------
A00: CAMERA_CONTROL
A01: FREE
A02: FREE
A03: SERIAL_RX 2
A04: FREE
A05: SPI_SCK 1
A06: SPI_MISO 1
A07: SPI_MOSI 1
A08: GYRO_EXTI
A09: FREE
A10: FREE
A11: USB
A12: USB
A13: SWD
A14: SWD
A15: GYRO_CS 1
B00: FREE
B01: FREE
B02: FREE
B03: SPI_SCK 3
B04: SPI_MISO 3
B05: SPI_MOSI 3
B06: FREE
B07: FREE
B08: PINIO 3
B09: FLASH_CS
B10: I2C_SCL 2
B11: I2C_SDA 2
B12: OSD_CS
B13: SPI_SCK 2
B14: SPI_MISO 2
B15: SPI_MOSI 2
C00: FREE
C01: ADC_BATT
C02: ADC_CURR
C03: FREE
C04: LED 1
C05: FREE
C06: MOTOR 2
C07: MOTOR 4
C08: MOTOR 1
C09: MOTOR 3
C10: FREE
C11: FREE
C12: FREE
C13: PINIO 1
C14: PINIO 2
C15: BEEPER
D00: FREE
D01: FREE
D02: FREE
D03: FREE
D04: FREE
D05: FREE
D06: FREE
D07: FREE
D08: FREE
D09: FREE
D10: FREE
D11: FREE
D12: FREE
D13: FREE
D14: FREE
D15: FREE
E00: FREE
E01: FREE
E02: FREE
E03: FREE
E04: FREE
E05: FREE
E06: FREE
E07: FREE
E08: FREE
E09: FREE
E10: FREE
E11: FREE
E12: FREE
E13: FREE
E14: FREE
E15: FREE
F00: FREE
F01: FREE
F02: FREE
F03: FREE
F04: FREE
F05: FREE
F06: FREE
F07: FREE
F08: FREE
F09: FREE
F10: FREE
F11: FREE
F12: FREE
F13: FREE
F14: FREE
F15: FREE

Currently active Timers:
-----------------------
TIM1: FREE
TIM2: FREE
TIM3: FREE
TIM4: FREE
TIM5:
    CH1: CAMERA_CONTROL
TIM6: FREE
TIM7: FREE
TIM8:
    CH1: MOTOR 2
    CH2: MOTOR 4
    CH3: MOTOR 1
    CH4: MOTOR 3
TIM9: FREE
TIM10: FREE
TIM11: FREE
TIM12: FREE
TIM13: FREE
TIM14: FREE

Currently active DMA:
--------------------
DMA1 Stream 0: FREE
DMA1 Stream 1: FREE
DMA1 Stream 2: FREE
DMA1 Stream 3: FREE
DMA1 Stream 4: FREE
DMA1 Stream 5: FREE
DMA1 Stream 6: FREE
DMA1 Stream 7: FREE
DMA2 Stream 0: ADC
DMA2 Stream 1: TIMUP 8
DMA2 Stream 2: FREE
DMA2 Stream 3: FREE
DMA2 Stream 4: FREE
DMA2 Stream 5: FREE
DMA2 Stream 6: FREE
DMA2 Stream 7: FREE

Setup / Versions

  • Flight controller:
    IFLIGHT SUCCEX-E F7

Upgrading to 4.1 RC 3 today "bricks" Holybro Kakute F7 HDV

On September 15, I upgraded my Kakute F7 HDV from the default 4.0.4 to 4.1 RC3. Everything worked fine all week. I then tried a different firmware and tried to re-install 4.1 RC3 on September 20, and after it finishes flashing, the board is "dead". You can not talk to it over USB at all. The green power led works, but the blue flashy light never comes on. It does not show up on my mac as a serial device. If I use the boot button to get back to DFU mode, I can flash any version of 4.0 and it works again, but as soon as I try 4.1 it dies. Is this because of a change to the KakuteF7 unified target? If so, can that be reverted? I don't believe this board has an OSD. I see there were changes to enable the OSD in the unified target. Could this be the cause?

Detail description for FOXEERF7V2 locked up

Since #482 and #483 were polluted by tons of nonsense, open another issue to provide a detailed problem description here can keep us better at tracking this issue.

Base firmware is 4.2.9, full-chip erases. ESCs are AM32 and Bluejay, both of them support non-bidir dshot and bidir dshot.

#482 can work both in non-bidir dshot and bidir dshot
#483 can work only with bidir dshot, when switch to non-bidir dshot, it will won't cause the firmware to lock up as I translated here and but the ESC will fill into infinite self-check.

Video for showing this problem: https://youtu.be/pxjNkEJY0A4

dma show and timer show for #483 when we didn't config the motor protocol (once config the motor protocol and leave bidir dshot as off, then the firmware will lock up) config motor protocol to non-bidir dshot:

# DMA show

Currently active DMA:
--------------------
DMA1 Stream 0: FREE
DMA1 Stream 1: FREE
DMA1 Stream 2: FREE
DMA1 Stream 3: FREE
DMA1 Stream 4: FREE
DMA1 Stream 5: FREE
DMA1 Stream 6: FREE
DMA1 Stream 7: FREE
DMA2 Stream 0: FREE
DMA2 Stream 1: ADC
DMA2 Stream 2: DSHOT_BITBANG 1
DMA2 Stream 3: DSHOT_BITBANG 3
DMA2 Stream 4: FREE
DMA2 Stream 5: FREE
DMA2 Stream 6: FREE
DMA2 Stream 7: FREE

# timer show

Currently active Timers:
-----------------------
TIM1: FREE
TIM2:
    CH2: CAMERA_CONTROL
TIM3: FREE
TIM4: FREE
TIM5: FREE
TIM6: FREE
TIM7: FREE
TIM8:
    CH1: DSHOT_BITBANG 1
    CH2: DSHOT_BITBANG 3
TIM9: FREE
TIM10: FREE
TIM11: FREE
TIM12: FREE
TIM13: FREE
TIM14: FREE

As I have the hardware sample, I can do any future test.

Custom config needed for a fc with different gyro alignment?

I got a new FC from flight that took some custom config:

# Betaflight / STM32F7X2 (S7X2) 4.1.0 Oct 16 2019 / 11:58:45 (c37a7c91a) MSP API: 1.42
# manufacturer_id: EXUA   board_name: EXF722DUAL   custom defaults: YES

iFlight f7 twin-g for DJI air unit. Not the same as the other F7 twin-g stacks.

When I tried to fly, it freaked out in a cyclical pattern each time because—as I found out via trial and error—one gyro was 90º off. I don't think the same custom defaults can apply for these two stacks (I have both).

image

I think iFlight needs to add a custom config for the board with different sensor alignment. I could be totally wrong here. This is my first issue to unified configs.

Request to change ZEEZ manufacturer information

Hello,
i would like to change ZEEZ manufacturer information:

ID: "ZEEZ" (same as before)
Name: "Zeez RC"
URL: "https://www.zeezrc.com"

I've redirected all from old website to new url so user that will visit old URL will end in new Website.
As before I will be the target maintainer for this manufacturer

External barometer not visible

hello, just bought an external barometer here, and betaflight do not show on the top right section (it's activate in the configuration menu.
So it's a BME280

i have an F4 Mamba so the target is FURYF4OSD
I solder the SDA to the SDA and the SCL to the SCL
On betaflight 4.2.4
No I2C errors. on the status command.

Do you have any idea why

If you need any more information just tell me.

Thanks

Helio RC Spring IMU-F

If you believe there is an issue with the firmware itself please follow these steps:

  1. Describe your problem:
    MISSING target for the Helio RC Sping IMU-F
  2. Include ways to reproduce the problem:
    Looking in the repo, no helio target found
  3. Provide as much information as possible about your hardware and software, including:
    The Helio Spring flight controllers are still out there and needs to be addressed by betaflight - emuflight seems to have it working
  4. Remove this Text :). NO! :-P

Request to help figure out correct resource mapping for JHEH743 bidirectional dshot

  1. Describe your problem;

I want to raise a PR to add JHEH743 AIO to unified-targets. I am not the vendor or related to them in any way except that I bought a board. bidirectional dshot doesn't work with the defaults under 4.3.0-RC2 but if I enable dshot_bitbang it does.

Please inform me how I can correctly setup the board resources to get this working without bitbang.

  1. Include ways to reproduce the problem;

Enable bidirectional dshot and observe that motors 3 & 4 stop working.

  1. Provide as much information as possible about your hardware and software, including:
  • what hardware / software you are using;
  • the version of all the software used;
  • how things are connected / wired up.

I have taken the resource mapping below from the factory firmware and applied this to the H743 RC2 firmware.

# version
# Betaflight / JHEH743 (JHEF) 4.3.0 Apr  7 2021 / 05:29:18 (norevision) MSP API: 1.44

# start the command batch
batch start

board_name JHEH743
manufacturer_id 

# name: -

# resources
resource BEEPER 1 D15
resource MOTOR 1 B00
resource MOTOR 2 B01
resource MOTOR 3 E09
resource MOTOR 4 E11
resource MOTOR 5 B04
resource MOTOR 6 B05
resource MOTOR 7 E13
resource MOTOR 8 E14
resource SERVO 1 NONE
resource SERVO 2 NONE
resource SERVO 3 NONE
resource SERVO 4 NONE
resource SERVO 5 NONE
resource SERVO 6 NONE
resource SERVO 7 NONE
resource SERVO 8 NONE
resource PPM 1 A03
resource PWM 1 NONE
resource PWM 2 NONE
resource PWM 3 NONE
resource PWM 4 NONE
resource PWM 5 NONE
resource PWM 6 NONE
resource PWM 7 NONE
resource PWM 8 NONE
resource LED_STRIP 1 D12
resource SERIAL_TX 1 A09
resource SERIAL_TX 2 A02
resource SERIAL_TX 3 B10
resource SERIAL_TX 4 A00
resource SERIAL_TX 5 NONE
resource SERIAL_TX 6 C06
resource SERIAL_TX 7 E08
resource SERIAL_TX 8 E01
resource SERIAL_TX 9 NONE
resource SERIAL_TX 10 NONE
resource SERIAL_RX 1 A10
resource SERIAL_RX 2 A03
resource SERIAL_RX 3 B11
resource SERIAL_RX 4 A01
resource SERIAL_RX 5 NONE
resource SERIAL_RX 6 C07
resource SERIAL_RX 7 E07
resource SERIAL_RX 8 E00
resource SERIAL_RX 9 NONE
resource SERIAL_RX 10 NONE
resource I2C_SCL 1 B08
resource I2C_SCL 2 B10
resource I2C_SCL 3 NONE
resource I2C_SCL 4 NONE
resource I2C_SDA 1 B09
resource I2C_SDA 2 B11
resource I2C_SDA 3 NONE
resource I2C_SDA 4 NONE
resource LED 1 C13
resource LED 2 NONE
resource LED 3 NONE
resource RX_BIND 1 NONE
resource RX_BIND_PLUG 1 NONE
resource SPI_SCK 1 A05
resource SPI_SCK 2 B13
resource SPI_SCK 3 C10
resource SPI_SCK 4 E02
resource SPI_SCK 5 NONE
resource SPI_SCK 6 NONE
resource SPI_MISO 1 A06
resource SPI_MISO 2 B14
resource SPI_MISO 3 C11
resource SPI_MISO 4 E05
resource SPI_MISO 5 NONE
resource SPI_MISO 6 NONE
resource SPI_MOSI 1 A07
resource SPI_MOSI 2 B15
resource SPI_MOSI 3 C12
resource SPI_MOSI 4 E06
resource SPI_MOSI 5 NONE
resource SPI_MOSI 6 NONE
resource CAMERA_CONTROL 1 C08
resource ADC_BATT 1 C03
resource ADC_RSSI 1 C05
resource ADC_CURR 1 C02
resource ADC_EXT 1 C01
resource BARO_CS 1 NONE
resource BARO_EOC 1 NONE
resource BARO_XCLR 1 NONE
resource COMPASS_CS 1 NONE
resource PINIO 1 NONE
resource PINIO 2 NONE
resource PINIO 3 NONE
resource PINIO 4 NONE
resource USB_MSC_PIN 1 NONE
resource FLASH_CS 1 A15
resource OSD_CS 1 E04
resource GYRO_EXTI 1 D00
resource GYRO_EXTI 2 D08
resource GYRO_CS 1 A04
resource GYRO_CS 2 B12
resource PULLUP 1 NONE
resource PULLUP 2 NONE
resource PULLUP 3 NONE
resource PULLUP 4 NONE
resource PULLDOWN 1 NONE
resource PULLDOWN 2 NONE
resource PULLDOWN 3 NONE
resource PULLDOWN 4 NONE

# timer
timer D12 AF2
# pin D12: TIM4 CH1 (AF2)
timer A03 AF1
# pin A03: TIM2 CH4 (AF1)
timer C08 AF3
# pin C08: TIM8 CH3 (AF3)
timer B00 AF2
# pin B00: TIM3 CH3 (AF2)
timer B01 AF2
# pin B01: TIM3 CH4 (AF2)
timer E09 AF1
# pin E09: TIM1 CH1 (AF1)
timer E11 AF1
# pin E11: TIM1 CH2 (AF1)
timer B04 AF2
# pin B04: TIM3 CH1 (AF2)
timer B05 AF2
# pin B05: TIM3 CH2 (AF2)
timer E13 AF1
# pin E13: TIM1 CH3 (AF1)
timer E14 AF1
# pin E14: TIM1 CH4 (AF1)

# dma
dma SPI_TX 1 NONE
dma SPI_TX 2 NONE
dma SPI_TX 3 NONE
dma SPI_TX 4 NONE
dma SPI_TX 5 NONE
dma SPI_TX 6 NONE
dma SPI_RX 1 NONE
dma SPI_RX 2 NONE
dma SPI_RX 3 NONE
dma SPI_RX 4 NONE
dma SPI_RX 5 NONE
dma SPI_RX 6 NONE
dma ADC 1 8
# ADC 1: DMA2 Stream 0 Request 9
dma ADC 2 NONE
dma ADC 3 9
# ADC 3: DMA2 Stream 1 Request 115
dma UART_TX 1 NONE
dma UART_TX 2 NONE
dma UART_TX 3 NONE
dma UART_TX 4 NONE
dma UART_TX 5 NONE
dma UART_TX 6 NONE
dma UART_TX 7 NONE
dma UART_TX 8 NONE
dma UART_RX 1 NONE
dma UART_RX 2 NONE
dma UART_RX 3 NONE
dma UART_RX 4 NONE
dma UART_RX 5 NONE
dma UART_RX 6 NONE
dma UART_RX 7 NONE
dma UART_RX 8 NONE
dma TIMUP 1 0
# TIMUP 1: DMA1 Stream 0 Request 15
dma TIMUP 2 0
# TIMUP 2: DMA1 Stream 0 Request 22
dma TIMUP 3 0
# TIMUP 3: DMA1 Stream 0 Request 27
dma TIMUP 4 0
# TIMUP 4: DMA1 Stream 0 Request 32
dma TIMUP 5 NONE
dma TIMUP 6 NONE
dma TIMUP 7 NONE
dma TIMUP 8 0
# TIMUP 8: DMA1 Stream 0 Request 51
dma TIMUP 12 NONE
dma TIMUP 13 NONE
dma TIMUP 14 NONE
dma TIMUP 15 NONE
dma TIMUP 16 NONE
dma TIMUP 17 NONE
dma TIMUP 0 NONE
dma TIMUP 0 NONE
dma TIMUP 0 NONE
dma pin D12 10
# pin D12: DMA2 Stream 2 Request 29
dma pin A03 0
# pin A03: DMA1 Stream 0 Request 21
dma pin C08 0
# pin C08: DMA1 Stream 0 Request 49
dma pin B00 0
# pin B00: DMA1 Stream 0 Request 25
dma pin B01 1
# pin B01: DMA1 Stream 1 Request 26
dma pin E09 2
# pin E09: DMA1 Stream 2 Request 11
dma pin E11 3
# pin E11: DMA1 Stream 3 Request 12
dma pin B04 4
# pin B04: DMA1 Stream 4 Request 23
dma pin B05 5
# pin B05: DMA1 Stream 5 Request 24
dma pin E13 6
# pin E13: DMA1 Stream 6 Request 13
dma pin E14 7
# pin E14: DMA1 Stream 7 Request 14

It is not possible to configure the MATEKF405SE controller after applying the factory settings (BF 4.3.0 - 4.3.1).

Describe the bug

It is not possible to configure the MATEKF405SE controller after applying the factory settings. When trying to save the settings, the configurator does not respond. CLI not working (no connection).
Version 4.2.11 and earlier do not have these issues.
If you flash 4.3.0 and immediately disable i2c2, then there is no further problem.

To Reproduce

  1. Flash target MATEKF405SE
  2. Reboot the controller.
  3. Return it to the factory settings with the button in the configurator.

From now on, you will not be able to configure it (save changes)

Expected behavior

After a factory reset, the controller will reboot and be ready for configuration.
Pressing the "Save and Reboot" button saves the settings and reloads the flight controller. All changes are saved.
CLI works and allows you to change the parameters of the controller and save them.

Diff configuration

Impossible. CLI not responding

Resources configuration

Impossible. CLI not responding

Flight controller

Matek F405 SE

Other components

No response

How are the different components wired up

No response

Add any other context about the problem that you think might be relevant here

If after the firmware you refuse to reset to the factory settings and apply these commands, then there is no further problem.

Betaflight / STM32F405 (S405) 4.0.4 Jun 30 2019 / 14:58:15 (f3a95efa3) MSP API: 1.41

board_name MATEKF405SE
manufacturer_id MTKS

resource

resource BEEPER 1 C15
resource MOTOR 1 B07
resource MOTOR 2 B06
resource MOTOR 3 B00
resource MOTOR 4 B01
resource MOTOR 5 C08
resource MOTOR 6 C09
resource MOTOR 7 B14
resource MOTOR 8 B15
resource PPM 1 A03
resource LED_STRIP 1 A15
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 1 B08
resource I2C_SCL 2 NONE
resource I2C_SDA 1 B09
resource I2C_SDA 2 NONE
resource LED 1 A14
resource LED 2 A13
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 ADC_BATT 1 C00
resource ADC_RSSI 1 C05
resource ADC_CURR 1 C01
resource SDCARD_CS 1 C14
resource OSD_CS 1 B12
resource GYRO_EXTI 1 C04
resource GYRO_CS 1 A04
resource USB_DETECT 1 C13

timer

timer B07 AF2

pin B07: TIM4 CH2 (AF2)

timer B06 AF2

pin B06: TIM4 CH1 (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 B14 AF9

pin B14: TIM12 CH1 (AF9)

timer B15 AF9

pin B15: TIM12 CH2 (AF9)

timer A08 AF1

pin A08: TIM1 CH1 (AF1)

timer A15 AF1

pin A15: TIM2 CH1 (AF1)

timer A03 AF3

pin A03: TIM9 CH2 (AF3)

timer A02 AF2

pin A02: TIM5 CH3 (AF2)

dma

dma SPI_TX 3 0

SPI_TX 3: DMA1 Stream 5 Channel 0

dma ADC 1 0

ADC 1: DMA2 Stream 0 Channel 0

dma pin B07 0

pin B07: DMA1 Stream 3 Channel 2

dma pin B06 0

pin B06: DMA1 Stream 0 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 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 A15 0

pin A15: DMA1 Stream 5 Channel 3

dma pin A02 0

pin A02: DMA1 Stream 0 Channel 6

feature

feature RX_SERIAL
feature TELEMETRY
feature OSD
feature SOFTSERIAL

serial

serial 1 64 115200 57600 0 115200

master

set serialrx_provider = SBUS
set mag_bustype = I2C
set mag_i2c_device = 1
set mag_hardware = AUTO
set baro_bustype = I2C
set baro_i2c_device = 1
set baro_i2c_address = 118
set baro_hardware = AUTO
set blackbox_device = SDCARD
set dshot_burst = OFF
set current_meter = ADC
set battery_meter = ADC
set ibata_scale = 179
set beeper_inversion = ON
set beeper_od = OFF
set sdcard_mode = SPI
set sdcard_spi_bus = 3
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 = CW270
set camera_control_mode = HARDWARE_PWM
set osd_vbat_pos = 2467
set osd_current_pos = 2434
set osd_disarmed_pos = 2282

Flashing Firmware Bricks CL Racing F7

Trying to flash any 4.1 RC3/Dev firmware via Configurator 10.60 RC1 bricks the CL Racing F7 at "flashing..." stage.

Boot mode/full erase/no boot sequence doesn't hangs at flashing stage as well. The erasing stage completes though.

Connecting via Configurator 10.51 and doing a boot mode restore works fine. Flashing any other version succeeds as well.

There seems to be a bug introduced in 10.60.

Apply new manufacturer ID for NIDICI

Hello Administrator,

Apply assigning a new manufacturer ID for the following FPV manufacturer:
Manufacturer name:
Huizhou NIDICI Electronic Co., LTD
Contact:
www.nidici.com

About NIDICI:
Thank you for visiting NIDICI FPV! Our goal is to provide the latest & greatest FPV equipment & support.

Default Gyro Alignment is not correct on TMOTOR F411 Lite unified target.

image

Gyro not working on default configuration for the TMOTOR F411 Lite FC.

  1. Gyro alignment is incorrect, I had to change the YAW to alignment to 270 degrees.
    1.1 FC is mounted correctly with the arrow pointing to the front of the quad.
    1.2 I also noticed that the default accelerometer position had the 3D model upside down (before the calibration).
  2. Default installation of the 4.3.0 shows the issue right after installation.
  3. Hardware used: T-Motor Velox F411 Lite 30x30 Flight Controller - https://store.tmotor.com/goods.php?id=1229
    3.1 Betaflight 4.3.0
    3.2 Unified Config: https://github.com/betaflight/unified-targets/blob/master/configs/default/TMTR-TMOTORF411.config
    3.3: Diff:
# beacon
beacon RX_LOST

# map
map TAER1234

# aux
aux 0 0 4 900 1300 0 0
aux 1 1 0 1700 2100 0 0
aux 2 2 0 1275 1675 0 0
aux 3 13 1 1700 2100 0 0
aux 4 35 1 1300 1700 0 0

# master
set gyro_lpf2_static_hz = 1000
set dyn_notch_count = 2
set dyn_notch_q = 400
set dyn_notch_min_hz = 100
set dyn_notch_max_hz = 800
set gyro_lpf1_dyn_min_hz = 300
set gyro_lpf1_dyn_max_hz = 600
set gyro_lpf1_dyn_expo = 8
set acc_calibration = -16,-8,51,1
set baro_hardware = NONE
set min_check = 1000
set max_check = 2000
set rssi_channel = 16
set rc_smoothing_auto_factor = 120
set serialrx_provider = CRSF
set dshot_bidir = ON
set motor_pwm_protocol = DSHOT300
set align_board_yaw = 270
set ibata_scale = 80
set small_angle = 180
set simplified_gyro_filter = OFF
set osd_warn_rssi = ON
set osd_warn_link_quality = ON
set osd_warn_rssi_dbm = ON
set osd_vbat_pos = 2507
set osd_rssi_pos = 2068
set osd_link_quality_pos = 2139
set osd_rssi_dbm_pos = 121
set osd_tim_2_pos = 2081
set osd_flymode_pos = 2061
set osd_throttle_pos = 122
set osd_vtx_channel_pos = 128
set osd_current_pos = 2500
set osd_mah_drawn_pos = 2516
set osd_craft_name_pos = 2052
set osd_gps_speed_pos = 0
set osd_gps_lon_pos = 481
set osd_gps_lat_pos = 497
set osd_gps_sats_pos = 26
set osd_flight_dist_pos = 2112
set osd_warnings_pos = 14635
set osd_avg_cell_voltage_pos = 2512
set osd_disarmed_pos = 2155
set osd_flip_arrow_pos = 2318
set osd_stat_endbatt = ON
set osd_stat_battery = ON
set gyro_1_sensor_align = DEFAULT
set rpm_filter_harmonics = 1
set name = Mark 4 HD

profile 0

# profile 0
set dterm_lpf1_dyn_min_hz = 0
set dterm_lpf1_dyn_max_hz = 0
set dterm_lpf1_dyn_expo = 0
set dterm_lpf1_static_hz = 80
set dterm_lpf2_static_hz = 140
set feedforward_averaging = 2_POINT
set feedforward_smooth_factor = 65
set simplified_dterm_filter = OFF

profile 1

profile 2

# restore original profile selection
profile 0

rateprofile 0

rateprofile 1

rateprofile 2

rateprofile 3

rateprofile 4

rateprofile 5

# restore original rateprofile selection
rateprofile 0

# save configuration
save

Add CC-Pin to Flywoo Goku V2.1 definition

Is your feature request related to a problem? Please describe.

Flywoo Goku V2.1 is used in the LR4 Explorer selled on Banggood Banggood Link. I assume this is the actual product from Flywoo.

CC Pin is broken out and clearly marked on silkscreen. However Flywoo decided or forgot to define it in the hardware file (FLWO-FLYWOOF411V2.config).
Flywoo GOKU F411

Describe the solution you'd like

I reached out to Flywoo and actaully got an answer. CC-Pin is connected to B04. With this information I got it working just fine.

image

Maybe it should get added to the default config if its already there in hardware...

Describe alternatives you've considered

Adding it manually everytime someone decided to want CC on a Guko-FC. Problem is: You can't seem to find the pinout for this particular FC and this particular pin anywhere on the internet, so if Flywoo didn't decide to respond on my mail I would have to completely disassemble the quad and manually track the trace (possible, but not a labour which should be done by different individuals over and over again imo)...

Have a nice day,

  • cad435

FOXE-FOXEERF722V2.config config file error

Describe the bug

Can not find the Uart, cannot setup parameters

To Reproduce

Flash any BF since 4.1.0 to FOXEER F722 V2 and apply custom defaults, then change motor protocol to any dshot.

Expected behavior

Configurator can connect to FC with any dshot and can see voltage.

Flight controller configuration

dma

Correct
dma ADC 3 0

ERROR
dma ADC 3 1

Setup / Versions

  • Flight controller:
  • Other components:
  • How are the different components wired up:

Need help converting a BF3.1.5 compatible target (fw dump) to current version

Currently I try to convert the Uvify Draco-Betaflight 3.1.5 Fork firmware to a normal Betaflight Unified target.
I am following the Guide and no big issue so far.
But I noticed some differences in other unified targets compared to the dumps I have from 3.1.5.
There are no DMA or timer entries, I am wondering if there were differences how this works in Bf3.1.5 and if
this becomes an issue with the new unified targets if these entries are missing.
Is there any way to export DMA und Timer entries with the Uvify (Betaflight 3.1.5) configurator?
Any other way to reverse engineer this?

AIRB-NOX missing TX2

Since the last update (I think), the unified target for the nox target is missing the resource for the TX2 pad.
BUT I'm talking about the jhemcu play f4 whoop board, and I don't know about the original nox board.

Maybe the play f4 board requires it's own target? Changes to be done:

Original NOX
resource SERIAL_TX 1 B06
resource SERIAL_TX 11 A02
resource SERIAL_RX 1 B07
resource SERIAL_RX 2 A03
resource SERIAL_RX 11 A02

New Play F4
resource SERIAL_TX 1 B06
resource SERIAL_TX 2 A02
resource SERIAL_RX 1 B07
resource SERIAL_RX 2 A03

Add manufacturer id for GEELANG

Hi all.
I want to apply for a manufacturer id for GEELANG. Here is our information.

Manufacturer name : GEELANG
Website : www.geelang.com
ID : GEPC

If the application gets approved, I want to be his maintainer.
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.