mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Fix NEUTRONRCG4AIO config file (#12535)
LSM6DSO in NEUTRONRCG4AIO, fix typos
This commit is contained in:
parent
08db8745ed
commit
e7cb9af029
3 changed files with 13 additions and 3 deletions
|
@ -26,6 +26,16 @@
|
|||
#define BOARD_NAME NEUTRONRCG4AIO
|
||||
#define MANUFACTURER_ID NERC
|
||||
|
||||
#define USE_GYRO
|
||||
#define USE_ACC
|
||||
#define ACCGYRO_SPI_LSM6DSO
|
||||
#define USE_ACCGYRO_LSM6DSO
|
||||
#define USE_BARO
|
||||
#define USE_BARO_DPS310
|
||||
#define USE_FLASH
|
||||
#define USE_FLASH_M25P16
|
||||
#define USE_MAX7456
|
||||
|
||||
#define BEEPER_PIN PC14
|
||||
#define MOTOR1_PIN PB1
|
||||
#define MOTOR2_PIN PB0
|
||||
|
@ -76,7 +86,6 @@
|
|||
#define TIMUP4_DMA_OPT 0
|
||||
#define TIMUP5_DMA_OPT 0
|
||||
|
||||
#define USE_BARO
|
||||
#define BARO_I2C_INSTANCE (I2CDEV_1)
|
||||
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
|
||||
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF
|
||||
|
|
|
@ -144,7 +144,7 @@ const char * const lookupTableAccHardware[] = {
|
|||
const char * const lookupTableGyroHardware[] = {
|
||||
"AUTO", "NONE", "MPU6050", "L3G4200D", "MPU3050", "L3GD20",
|
||||
"MPU6000", "MPU6500", "MPU9250", "ICM20601", "ICM20602", "ICM20608G", "ICM20649", "ICM20689", "ICM42605", "ICM42688P",
|
||||
"BMI160", "BMI270", "LSM6SDO", "VIRTUAL"
|
||||
"BMI160", "BMI270", "LSM6DSO", "VIRTUAL"
|
||||
};
|
||||
|
||||
#if defined(USE_SENSOR_NAMES) || defined(USE_BARO)
|
||||
|
|
|
@ -75,7 +75,8 @@
|
|||
#if !defined(USE_GYRO_L3G4200D) && !defined(USE_GYRO_MPU3050) && !defined(USE_GYRO_MPU6050) && \
|
||||
!defined(USE_GYRO_MPU6500) && !defined(USE_GYRO_SPI_ICM20689) && !defined(USE_GYRO_SPI_MPU6000) && \
|
||||
!defined(USE_GYRO_SPI_MPU6500) && !defined(USE_GYRO_SPI_MPU9250) && !defined(USE_GYRO_L3GD20) && \
|
||||
!defined(USE_GYRO_SPI_ICM42605) && !defined(USE_GYRO_SPI_ICM42688P) && !defined(USE_ACCGYRO_BMI270) && !defined(USE_VIRTUAL_GYRO)
|
||||
!defined(USE_GYRO_SPI_ICM42605) && !defined(USE_GYRO_SPI_ICM42688P) && !defined(USE_ACCGYRO_BMI270) && \
|
||||
!defined(USE_ACCGYRO_LSM6DSO) && !defined(USE_VIRTUAL_GYRO)
|
||||
#error At least one USE_GYRO device definition required
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue