Skip to content

Commit

Permalink
Update Kakute F4 Wing (#666)
Browse files Browse the repository at this point in the history
Fix gyro interrupt pin and configure for Wing use
  • Loading branch information
ot0tot authored Jan 14, 2025
1 parent 2b536e3 commit b0f3ab0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions configs/KAKUTEF4WING/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
#define USE_WING
#endif

#ifndef USE_SERVOS
#define USE_SERVOS
#endif

#define MOTOR1_PIN PA8
#define MOTOR2_PIN PA9
#define SERVO1_PIN PB0
Expand Down Expand Up @@ -78,7 +82,7 @@
#define ADC_CURR_PIN PC1
#define FLASH_CS_PIN PC14
#define MAX7456_SPI_CS_PIN PC15
#define GYRO_1_EXTI_PIN PB12
#define GYRO_1_EXTI_PIN PB2
#define GYRO_1_CS_PIN PA4
#define USB_DETECT_PIN PA10
#define PINIO1_PIN PB14
Expand All @@ -95,14 +99,17 @@

#define ADC1_DMA_OPT 1

#define MIXER_MODE MIXER_FLYING_WING
// Not enough motor resources for a quad, default to Wing
#define DEFAULT_MIXER MIXER_FLYING_WING

#define MAG_I2C_INSTANCE I2CDEV_2
#define BARO_I2C_INSTANCE I2CDEV_2

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define SERIALRX_UART SERIAL_PORT_USART3
//#define SERIALRX_UART SERIAL_PORT_USART3 **//USART3 should not be used for a receiver due to DFU hijacking
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_VOLTAGE_METER_SCALE 110
Expand Down

0 comments on commit b0f3ab0

Please sign in to comment.