Skip to content

Commit

Permalink
added BARO (BMP280 and DPS310) define (#214)
Browse files Browse the repository at this point in the history
* added BARO (BMP280 and DPS310) define

* Update configs/MEPSF411/config.h

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

* added I2C dev definition

* fixed name

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
  • Loading branch information
Guidus93 and haslinghuis authored Nov 13, 2023
1 parent 9fd2e89 commit 96aa86f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion configs/MEPSF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@

#define FC_TARGET_MCU STM32F411

#define BOARD_NAME MEPS411
#define BOARD_NAME MEPSF411
#define MANUFACTURER_ID MEPS

#define USE_GYRO
#define USE_GYRO_SPI_MPU6500
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define USE_BARO
#define USE_BARO_BMP280
#define USE_BARO_DPS310
#define USE_FLASH
#define USE_FLASH_M25P16
#define USE_MAX7456
Expand Down Expand Up @@ -76,6 +79,7 @@
#define ADC1_DMA_OPT 1


#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF
Expand Down

0 comments on commit 96aa86f

Please sign in to comment.