mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
Merge pull request #5155 from iNavFlight/dzikuvx-enable-esc-telemetry
Enable ESC telemetry on all targets that support DSHOT
This commit is contained in:
commit
1ceb0970f7
20 changed files with 22 additions and 2 deletions
|
@ -158,4 +158,5 @@
|
|||
|
||||
#define PCA9685_I2C_BUS BUS_I2C2
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
|
@ -161,6 +161,7 @@
|
|||
|
||||
// Number of available PWM outputs
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
#define MAX_PWM_OUTPUT_PORTS 4
|
||||
#define TARGET_MOTOR_COUNT 4
|
||||
|
||||
|
|
|
@ -166,6 +166,7 @@
|
|||
|
||||
// Number of available PWM outputs
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
#define MAX_PWM_OUTPUT_PORTS 4
|
||||
#define TARGET_MOTOR_COUNT 4
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#define BEEPER_INVERTED
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
|
||||
// MPU6500 interrupt
|
||||
#define USE_EXTI
|
||||
|
|
|
@ -145,6 +145,7 @@
|
|||
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||
#define MAX_PWM_OUTPUT_PORTS 6
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
|
||||
/*** Used pins ***/
|
||||
#define TARGET_IO_PORTA 0xffff
|
||||
|
|
|
@ -153,6 +153,7 @@
|
|||
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||
#define MAX_PWM_OUTPUT_PORTS 6
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
|
||||
/*** Used pins ***/
|
||||
#define TARGET_IO_PORTA 0xffff
|
||||
|
|
|
@ -182,6 +182,7 @@
|
|||
#define TARGET_IO_PORTD (BIT(2))
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
|
||||
#define MAX_PWM_OUTPUT_PORTS 6
|
||||
|
||||
|
|
|
@ -157,4 +157,5 @@
|
|||
|
||||
#define MAX_PWM_OUTPUT_PORTS 8
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
|
@ -204,6 +204,7 @@
|
|||
#define TARGET_IO_PORTD (BIT(2))
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
#define USE_SERIALSHOT
|
||||
|
||||
#define MAX_PWM_OUTPUT_PORTS 6
|
||||
|
|
|
@ -172,6 +172,7 @@
|
|||
#define BIND_PIN PA3 // RX2
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
|
||||
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||
|
||||
|
|
|
@ -164,6 +164,7 @@
|
|||
#define BIND_PIN PA10 // RX1
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
|
||||
#define USE_SERIALSHOT
|
||||
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||
|
|
|
@ -152,6 +152,7 @@
|
|||
#define BIND_PIN PA3 // RX2
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
#define USE_SERIALSHOT
|
||||
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||
|
||||
|
|
|
@ -161,4 +161,5 @@
|
|||
|
||||
#define MAX_PWM_OUTPUT_PORTS 7
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
#define USE_SERIALSHOT
|
||||
|
|
|
@ -198,3 +198,4 @@
|
|||
#define MAX_PWM_OUTPUT_PORTS 8
|
||||
#define USE_DSHOT
|
||||
#define USE_SERIALSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
|
|
|
@ -206,4 +206,5 @@
|
|||
|
||||
#define MAX_PWM_OUTPUT_PORTS 15
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
#define USE_SERIALSHOT
|
||||
|
|
|
@ -278,6 +278,7 @@
|
|||
#define MAX_PWM_OUTPUT_PORTS 6
|
||||
#define TARGET_MOTOR_COUNT 6
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
|
||||
#define TARGET_IO_PORTA 0xffff
|
||||
#define TARGET_IO_PORTB 0xffff
|
||||
|
|
|
@ -174,6 +174,7 @@
|
|||
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
#define USE_SERIALSHOT
|
||||
|
||||
// Number of available PWM outputs
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#define BEEPER PB4
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
#define USE_SERIALSHOT
|
||||
|
||||
// MPU6000 interrupts
|
||||
|
|
|
@ -216,3 +216,4 @@
|
|||
#define MAX_PWM_OUTPUT_PORTS 8
|
||||
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
|
|
|
@ -152,6 +152,7 @@
|
|||
|
||||
// DSHOT
|
||||
#define USE_DSHOT
|
||||
#define USE_ESC_SENSOR
|
||||
|
||||
// Default configuration
|
||||
#define SERIALRX_PROVIDER SERIALRX_SBUS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue