1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 09:45:33 +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:
Paweł Spychalski 2019-10-24 13:52:38 +02:00 committed by GitHub
commit 1ceb0970f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 22 additions and 2 deletions

View file

@ -158,4 +158,5 @@
#define PCA9685_I2C_BUS BUS_I2C2 #define PCA9685_I2C_BUS BUS_I2C2
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR

View file

@ -161,6 +161,7 @@
// Number of available PWM outputs // Number of available PWM outputs
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define MAX_PWM_OUTPUT_PORTS 4 #define MAX_PWM_OUTPUT_PORTS 4
#define TARGET_MOTOR_COUNT 4 #define TARGET_MOTOR_COUNT 4

View file

@ -166,6 +166,7 @@
// Number of available PWM outputs // Number of available PWM outputs
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define MAX_PWM_OUTPUT_PORTS 4 #define MAX_PWM_OUTPUT_PORTS 4
#define TARGET_MOTOR_COUNT 4 #define TARGET_MOTOR_COUNT 4

View file

@ -27,6 +27,7 @@
#define BEEPER_INVERTED #define BEEPER_INVERTED
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
// MPU6500 interrupt // MPU6500 interrupt
#define USE_EXTI #define USE_EXTI

View file

@ -145,6 +145,7 @@
#define USE_SERIAL_4WAY_BLHELI_INTERFACE #define USE_SERIAL_4WAY_BLHELI_INTERFACE
#define MAX_PWM_OUTPUT_PORTS 6 #define MAX_PWM_OUTPUT_PORTS 6
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
/*** Used pins ***/ /*** Used pins ***/
#define TARGET_IO_PORTA 0xffff #define TARGET_IO_PORTA 0xffff

View file

@ -153,6 +153,7 @@
#define USE_SERIAL_4WAY_BLHELI_INTERFACE #define USE_SERIAL_4WAY_BLHELI_INTERFACE
#define MAX_PWM_OUTPUT_PORTS 6 #define MAX_PWM_OUTPUT_PORTS 6
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
/*** Used pins ***/ /*** Used pins ***/
#define TARGET_IO_PORTA 0xffff #define TARGET_IO_PORTA 0xffff

View file

@ -182,6 +182,7 @@
#define TARGET_IO_PORTD (BIT(2)) #define TARGET_IO_PORTD (BIT(2))
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define MAX_PWM_OUTPUT_PORTS 6 #define MAX_PWM_OUTPUT_PORTS 6

View file

@ -157,4 +157,5 @@
#define MAX_PWM_OUTPUT_PORTS 8 #define MAX_PWM_OUTPUT_PORTS 8
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR

View file

@ -204,6 +204,7 @@
#define TARGET_IO_PORTD (BIT(2)) #define TARGET_IO_PORTD (BIT(2))
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define USE_SERIALSHOT #define USE_SERIALSHOT
#define MAX_PWM_OUTPUT_PORTS 6 #define MAX_PWM_OUTPUT_PORTS 6

View file

@ -172,6 +172,7 @@
#define BIND_PIN PA3 // RX2 #define BIND_PIN PA3 // RX2
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define USE_SERIAL_4WAY_BLHELI_INTERFACE #define USE_SERIAL_4WAY_BLHELI_INTERFACE

View file

@ -164,6 +164,7 @@
#define BIND_PIN PA10 // RX1 #define BIND_PIN PA10 // RX1
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define USE_SERIALSHOT #define USE_SERIALSHOT
#define USE_SERIAL_4WAY_BLHELI_INTERFACE #define USE_SERIAL_4WAY_BLHELI_INTERFACE

View file

@ -152,6 +152,7 @@
#define BIND_PIN PA3 // RX2 #define BIND_PIN PA3 // RX2
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define USE_SERIALSHOT #define USE_SERIALSHOT
#define USE_SERIAL_4WAY_BLHELI_INTERFACE #define USE_SERIAL_4WAY_BLHELI_INTERFACE

View file

@ -161,4 +161,5 @@
#define MAX_PWM_OUTPUT_PORTS 7 #define MAX_PWM_OUTPUT_PORTS 7
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define USE_SERIALSHOT #define USE_SERIALSHOT

View file

@ -198,3 +198,4 @@
#define MAX_PWM_OUTPUT_PORTS 8 #define MAX_PWM_OUTPUT_PORTS 8
#define USE_DSHOT #define USE_DSHOT
#define USE_SERIALSHOT #define USE_SERIALSHOT
#define USE_ESC_SENSOR

View file

@ -206,4 +206,5 @@
#define MAX_PWM_OUTPUT_PORTS 15 #define MAX_PWM_OUTPUT_PORTS 15
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define USE_SERIALSHOT #define USE_SERIALSHOT

View file

@ -278,6 +278,7 @@
#define MAX_PWM_OUTPUT_PORTS 6 #define MAX_PWM_OUTPUT_PORTS 6
#define TARGET_MOTOR_COUNT 6 #define TARGET_MOTOR_COUNT 6
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define TARGET_IO_PORTA 0xffff #define TARGET_IO_PORTA 0xffff
#define TARGET_IO_PORTB 0xffff #define TARGET_IO_PORTB 0xffff

View file

@ -174,6 +174,7 @@
#define USE_SERIAL_4WAY_BLHELI_INTERFACE #define USE_SERIAL_4WAY_BLHELI_INTERFACE
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define USE_SERIALSHOT #define USE_SERIALSHOT
// Number of available PWM outputs // Number of available PWM outputs

View file

@ -33,6 +33,7 @@
#define BEEPER PB4 #define BEEPER PB4
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
#define USE_SERIALSHOT #define USE_SERIALSHOT
// MPU6000 interrupts // MPU6000 interrupts

View file

@ -216,3 +216,4 @@
#define MAX_PWM_OUTPUT_PORTS 8 #define MAX_PWM_OUTPUT_PORTS 8
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR

View file

@ -152,6 +152,7 @@
// DSHOT // DSHOT
#define USE_DSHOT #define USE_DSHOT
#define USE_ESC_SENSOR
// Default configuration // Default configuration
#define SERIALRX_PROVIDER SERIALRX_SBUS #define SERIALRX_PROVIDER SERIALRX_SBUS