diff --git a/configs/DRONIUSF7/config.h b/configs/DRONIUSF7/config.h index 39e65b3d..52a6035b 100644 --- a/configs/DRONIUSF7/config.h +++ b/configs/DRONIUSF7/config.h @@ -26,6 +26,16 @@ #define BOARD_NAME DRONIUSF7 #define MANUFACTURER_ID FOSS +#define USE_ACC +#define USE_ACC_SPI_MPU6000 +#define USE_GYRO +#define USE_GYRO_SPI_MPU6000 +#define USE_BARO +#define USE_BARO_BMP280 +#define USE_FLASH +#define USE_FLASH_M25P16 +#define USE_MAX7456 + #define BEEPER_PIN PC13 #define MOTOR1_PIN PA9 #define MOTOR2_PIN PA8 @@ -75,16 +85,17 @@ TIMER_PIN_MAP( 5, PA15, 1, 0) - #define ADC1_DMA_OPT 1 #define MAG_I2C_INSTANCE (I2CDEV_1) - +#define BARO_I2C_INSTANCE (I2CDEV_1) +#define DEFAULT_BARO_I2C_ADDRESS 119 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON +#define ADC_INSTANCE ADC1 #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC -#define DEFAULT_CURRENT_METER_SCALE 119 +#define DEFAULT_CURRENT_METER_SCALE 182 #define BEEPER_INVERTED //TODO #define OSD_DISPLAYPORT_DEVICE MAX7456 #define MAX7456_SPI_INSTANCE SPI2 @@ -93,3 +104,4 @@ #define GYRO_1_ALIGN CW0_DEG_FLIP #define GYRO_1_ALIGN_PITCH 1800 #define PINIO1_BOX 40 +//TODO set box_user_1_name = VTX POWER