Skip to content

Commit

Permalink
[target] FLYCOLORF7 add Baro bmp280
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter committed Jul 8, 2024
1 parent 94e9f5a commit 00d9b12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/target/FLYCOLORF7/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#define USE_GYRO_SPI_MPU6000
#define USE_FLASH
#define USE_FLASH_W25Q128FV
#define USE_BARO
#define USE_BARO_BMP280
#define USE_MAX7456

#define USE_VCP
Expand Down Expand Up @@ -105,6 +107,7 @@
#define USE_I2C_DEVICE_1
#define I2C_DEVICE_1 (I2CDEV_1)
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define I2C1_SCL PB6
#define I2C1_SDA PB7

Expand Down
1 change: 1 addition & 0 deletions src/main/target/FLYCOLORF7/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FEATURES += VCP ONBOARDFLASH

TARGET_SRC = \
drivers/accgyro/accgyro_spi_mpu6000.c \
drivers/barometer/barometer_bmp280.c \
$(addprefix drivers/compass/,$(notdir $(wildcard $(SRC_DIR)/drivers/compass/*.c))) \
drivers/light_led.h \
drivers/light_ws2811strip.c \
Expand Down

0 comments on commit 00d9b12

Please sign in to comment.