Skip to content

Commit

Permalink
LSM6DSO in NEUTRONRCG4AIO, fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ctzsnooze committed Mar 20, 2023
1 parent 6dc59bc commit 797b463
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
11 changes: 10 additions & 1 deletion src/config/NEUTRONRCG4AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/cli/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion src/main/sensors/gyro_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 797b463

Please sign in to comment.