Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing defines #677

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions configs/GEMEF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@
#define BOARD_NAME GEMEF722
#define MANUFACTURER_ID GFPV

// TODO Not verified
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_FLASH
#define USE_FLASH_W25Q128FV
#define USE_MAX7456

#define BEEPER_PIN PB2
#define MOTOR1_PIN PA9
#define MOTOR2_PIN PA8
Expand Down Expand Up @@ -74,11 +83,8 @@
TIMER_PIN_MAP( 5, PB8 , 1, 0) \
TIMER_PIN_MAP( 6, PB3 , 1, 0)



#define ADC3_DMA_OPT 0


#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
12 changes: 10 additions & 2 deletions configs/KD722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@
#define BOARD_NAME KD722
#define MANUFACTURER_ID HARC

// TODO Not verified
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_FLASH
#define USE_FLASH_W25Q128FV
#define USE_MAX7456

#define BEEPER_PIN PC13
#define MOTOR1_PIN PB4
#define MOTOR2_PIN PB5
Expand Down Expand Up @@ -84,11 +93,10 @@
TIMER_PIN_MAP( 8, PA8 , 1, 0) \
TIMER_PIN_MAP( 9, PA3 , 3, -1)


#define ADC1_DMA_OPT 1

#define MAG_I2C_INSTANCE I2CDEV_1
#define BARO_I2C_INSTANCE I2CDEV_1
#define BARO_I2C_INSTANCE I2CDEV_1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
Expand Down
9 changes: 7 additions & 2 deletions configs/VGOODRCF411_DJI/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
#define BOARD_NAME VGOODRCF411_DJI
#define MANUFACTURER_ID VGRC

// TODO Not verified
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_MAX7456

#define BEEPER_PIN PB2
#define MOTOR1_PIN PB3
#define MOTOR2_PIN PB4
Expand Down Expand Up @@ -64,10 +71,8 @@
TIMER_PIN_MAP( 6, PB8 , 2, -1) \
TIMER_PIN_MAP( 7, PA8 , 1, 0)


#define ADC1_DMA_OPT 1


#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define BEEPER_INVERTED
Expand Down
10 changes: 8 additions & 2 deletions configs/VGOODRCF722_DJI/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
#define BOARD_NAME VGOODRCF722_DJI
#define MANUFACTURER_ID VGRC

#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_FLASH
#define USE_FLASH_W25Q128FV
#define USE_MAX7456

#define BEEPER_PIN PB2
#define MOTOR1_PIN PA9
#define MOTOR2_PIN PA8
Expand Down Expand Up @@ -75,10 +83,8 @@
TIMER_PIN_MAP( 5, PB8 , 1, 0) \
TIMER_PIN_MAP( 6, PB3 , 1, 0)


#define ADC3_DMA_OPT 1


#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
Loading