mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Update target.h
This commit is contained in:
parent
57f5ea8993
commit
6412cb3be7
1 changed files with 0 additions and 7 deletions
|
@ -68,7 +68,6 @@
|
||||||
#define SDCARD_DMA_CLK RCC_AHB1Periph_DMA2
|
#define SDCARD_DMA_CLK RCC_AHB1Periph_DMA2
|
||||||
#define SDCARD_DMA_CHANNEL DMA_CHANNEL_0
|
#define SDCARD_DMA_CHANNEL DMA_CHANNEL_0
|
||||||
|
|
||||||
|
|
||||||
#define USE_VCP
|
#define USE_VCP
|
||||||
#define USE_UART1
|
#define USE_UART1
|
||||||
#define UART1_RX_PIN PA10
|
#define UART1_RX_PIN PA10
|
||||||
|
@ -110,28 +109,22 @@
|
||||||
#define SPI3_MISO_PIN PC11
|
#define SPI3_MISO_PIN PC11
|
||||||
#define SPI3_MOSI_PIN PC12
|
#define SPI3_MOSI_PIN PC12
|
||||||
|
|
||||||
|
|
||||||
#define USE_ADC
|
#define USE_ADC
|
||||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
|
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
|
||||||
#define CURRENT_METER_ADC_PIN PC1
|
#define CURRENT_METER_ADC_PIN PC1
|
||||||
#define VBAT_ADC_PIN PC2
|
#define VBAT_ADC_PIN PC2
|
||||||
#define RSSI_ADC_PIN PC3
|
#define RSSI_ADC_PIN PC3
|
||||||
|
|
||||||
#define CURRENT_METER_SCALE_DEFAULT 250 // 3/120A = 25mv/A
|
#define CURRENT_METER_SCALE_DEFAULT 250 // 3/120A = 25mv/A
|
||||||
|
|
||||||
// LED strip configuration.
|
// LED strip configuration.
|
||||||
#define LED_STRIP
|
#define LED_STRIP
|
||||||
#define SPEKTRUM_BIND_PIN UART6_RX_PIN
|
#define SPEKTRUM_BIND_PIN UART6_RX_PIN
|
||||||
#define BINDPLUG_PIN PB2
|
#define BINDPLUG_PIN PB2
|
||||||
|
|
||||||
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
|
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
|
||||||
|
|
||||||
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
|
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
|
||||||
#define SERIALRX_UART SERIAL_PORT_USART6
|
#define SERIALRX_UART SERIAL_PORT_USART6
|
||||||
|
|
||||||
#define TELEMETRY_UART SERIAL_PORT_USART1
|
#define TELEMETRY_UART SERIAL_PORT_USART1
|
||||||
|
|
||||||
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||||
|
|
||||||
#define TARGET_IO_PORTA 0xffff
|
#define TARGET_IO_PORTA 0xffff
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue