[Target Update]: Add more gyro drivers to EMSRPROTO3 (#32)

* add sh3001 lsm6dso for emsrproto3 target

* Update target.mk

删除重复
This commit is contained in:
EMSR 2023-02-23 10:13:34 +08:00 committed by GitHub
parent 9fed0c3c4b
commit 2c3a8f0030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -103,6 +103,9 @@
#define USE_GYRO
#define USE_GYRO_SPI_ICM42688P
#define USE_ACCGYRO_BMI270
#define USE_ACCGYRO_LSM6DSL
#define USE_ACCGYRO_LSM6DSO
#define USE_ACCGYRO_SH3001

View File

@ -4,11 +4,29 @@ CUSTOM_DEFAULTS_EXTENDED = yes
FEATURES += VCP ONBOARDFLASH
TARGET_SRC = \
drivers/accgyro/accgyro_mpu6500.c \
drivers/accgyro/accgyro_spi_mpu6000.c \
drivers/accgyro/accgyro_spi_mpu6500.c\
drivers/accgyro/accgyro_spi_icm426xx.c\
drivers/barometer/barometer_bmp280.c \
drivers/barometer/barometer_dps310.c\
drivers/compass/compass_hmc5883l.c\
drivers/compass/compass_qmc5883l.c\
$(ROOT)/lib/main/BoschSensortec/BMI270-Sensor-API/bmi270.c \
drivers/accgyro/accgyro_spi_bmi270.c\
drivers/accgyro/accgyro_spi_lsm6dsl_init.c \
drivers/accgyro/accgyro_spi_lsm6dsl.c \
drivers/accgyro/accgyro_spi_lsm6dso_init.c \
drivers/accgyro/accgyro_spi_lsm6dso.c \
drivers/accgyro/accgyro_spi_sh3001_init.c \
drivers/accgyro/accgyro_spi_sh3001.c \
drivers/max7456.c \
drivers/vtx_rtc6705.c \
drivers/vtx_rtc6705_soft_spi.c \
drivers/rx/expresslrs_driver_atbsp.c \
drivers/rx/rx_sx127x.c \
drivers/rx/rx_sx1280.c \
rx/expresslrs_telemetry.c \
rx/expresslrs_common.c \
rx/expresslrs.c