Skip to content

Commit

Permalink
[target] FLYWOOF411_5IN1_AIO - add BMI270
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter committed Nov 1, 2023
1 parent 218da79 commit 0b9fec7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
8 changes: 7 additions & 1 deletion src/main/target/FLYWOOF411_5IN1_AIO/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,16 @@
#define USE_ACC_SPI_ICM42688P

#define ICM42688P_SPI_INSTANCE SPI1
#define ICM42688P_CS_PIN PB2
#define ICM42688P_CS_PIN PA4
#define ACC_ICM42688P_ALIGN CW0_DEG_FLIP
#define GYRO_ICM42688P_ALIGN CW0_DEG_FLIP

#define USE_SPI_GYRO
#define BMI270_SPI_INSTANCE SPI1
#define BMI270_CS_PIN PA4
#define ACC_BMI270_ALIGN CW0_DEG_FLIP
#define GYRO_BMI270_ALIGN CW0_DEG_FLIP

// *************** Baro **************************
#define USE_I2C

Expand Down
25 changes: 13 additions & 12 deletions src/main/target/FLYWOOF411_5IN1_AIO/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@ F411_TARGETS += $(TARGET)
FEATURES += VCP

TARGET_SRC = \
drivers/accgyro/accgyro_mpu.c \
drivers/accgyro/accgyro_spi_mpu6000.c \
drivers/accgyro/accgyro_spi_icm20689.c \
drivers/accgyro/accgyro_spi_icm426xx.c \
drivers/barometer/barometer_bmp085.c \
drivers/barometer/barometer_bmp280.c \
drivers/barometer/barometer_ms5611.c \
drivers/compass/compass_hmc5883l.c \
drivers/accgyro/accgyro_mpu.c \
drivers/accgyro/accgyro_spi_bmi270.c \
drivers/accgyro/accgyro_spi_icm20689.c \
drivers/accgyro/accgyro_spi_icm426xx.c \
drivers/accgyro/accgyro_spi_mpu6000.c \
drivers/barometer/barometer_bmp085.c \
drivers/barometer/barometer_bmp280.c \
drivers/barometer/barometer_ms5611.c \
drivers/compass/compass_hmc5883l.c \
drivers/compass/compass_qmc5883l.c \
drivers/max7456.c \
drivers/rx/rx_cc2500.c \
rx/cc2500_common.c \
rx/cc2500_common.c \
rx/cc2500_frsky_shared.c \
rx/cc2500_frsky_d.c \
rx/cc2500_frsky_x.c \
rx/cc2500_redpine.c \
rx/cc2500_frsky_x.c \
rx/cc2500_redpine.c \
rx/cc2500_sfhss.c\
drivers/rx/rx_a7105.c \
drivers/light_ws2811strip.c
drivers/light_ws2811strip.c

0 comments on commit 0b9fec7

Please sign in to comment.