Skip to content

Commit

Permalink
Add BMP280 to HAKRCF722D (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Dec 4, 2023
1 parent dea5232 commit 7690516
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions configs/HAKRCF722D/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#define USE_ACCGYRO_BMI270
#define USE_GYRO_SPI_ICM42688P
#define USE_ACC_SPI_ICM42688P
#define USE_BARO
#define USE_BARO_BMP280
#define USE_BARO_DPS310
#define USE_FLASH
#define USE_FLASH_W25Q128FV
Expand Down Expand Up @@ -107,15 +109,11 @@
TIMER_PIN_MAP(12, PA0 , 2, 0) \
TIMER_PIN_MAP(13, PB10, 1, 0)


#define SPI3_TX_DMA_OPT 0
#define ADC1_DMA_OPT 0

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
Expand All @@ -125,9 +123,7 @@
#define PINIO1_BOX 40
#define PINIO2_BOX 41
#define FLASH_SPI_INSTANCE SPI3
#define USE_SPI_GYRO
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define USE_SPI_GYRO
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_ALIGN CW90_DEG

0 comments on commit 7690516

Please sign in to comment.