Skip to content

Fix some IMU configurations #792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion configs/CHONKERH735/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ Details: https://github.com/crteensy/yolo-chonker/tree/as-built-20230303

#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define GYRO_1_ALIGN CW0_DEG_FLIP
#define GYRO_2_ALIGN CW0_DEG_FLIP

Expand Down
1 change: 0 additions & 1 deletion configs/EMAX_BABYHAWK_II_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@

#define ADC1_DMA_OPT 1

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1

#define ADC_INSTANCE ADC1
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF
Expand Down
1 change: 0 additions & 1 deletion configs/FLYWOOF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_2_SPI_INSTANCE SPI1
1 change: 0 additions & 1 deletion configs/HGLRCF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@

#define ADC2_DMA_OPT 1

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define MAG_ALIGN DEFAULT
#define MAG_I2C_INSTANCE I2CDEV_1

Expand Down
1 change: 0 additions & 1 deletion configs/HGLRCF745/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
#define SPI4_TX_DMA_OPT 0
#define ADC1_DMA_OPT 1

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define BARO_SPI_INSTANCE SPI1
#define ADC_INSTANCE ADC1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
Expand Down
1 change: 0 additions & 1 deletion configs/MATEKF722HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,3 @@
#define CAMERA_CONTROL_MODE HARDWARE_PWM

#define ENSURE_MPU_DATA_READY_IS_LOW
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
1 change: 0 additions & 1 deletion configs/MATEKH743/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,5 @@
#define GYRO_1_ALIGN CW0_DEG_FLIP
#define GYRO_2_SPI_INSTANCE SPI4
#define GYRO_2_ALIGN CW0_DEG_FLIP
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1

#define ENSURE_MPU_DATA_READY_IS_LOW
1 change: 0 additions & 1 deletion configs/MERAKRCF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,3 @@
#define MAX7456_SPI_INSTANCE SPI3
#define FLASH_SPI_INSTANCE SPI1
#define GYRO_1_SPI_INSTANCE SPI2
#define GYRO_2_SPI_INSTANCE SPI2
1 change: 0 additions & 1 deletion configs/SAKURAH743/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@
#define BARO_SPI_INSTANCE SPI1

//default serial mapping
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define USE_I2C_PULLUP
#define MSP_UART SERIAL_PORT_USART1
#define MSP_DISPLAYPORT_UART SERIAL_PORT_USART6
Expand Down
1 change: 0 additions & 1 deletion configs/SPRACINGH7NANO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE I2CDEV_1

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define GYRO_1_SPI_INSTANCE SPI2
#define GYRO_1_ALIGN CW0_DEG_FLIP
#define GYRO_2_SPI_INSTANCE SPI3
Expand Down
1 change: 0 additions & 1 deletion configs/SPRACINGH7ZERO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE I2CDEV_1

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define GYRO_1_SPI_INSTANCE SPI3
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_2_SPI_INSTANCE SPI2
Expand Down
1 change: 0 additions & 1 deletion configs/TAKERG4AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@

#define ADC_INSTANCE ADC2
#define DEFAULT_PID_PROCESS_DENOM 2
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define MAX7456_SPI_INSTANCE SPI2
#define BEEPER_INVERTED
Expand Down
1 change: 0 additions & 1 deletion configs/TALONF4V2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@


#define DEFAULT_BARO_DEVICE BARO_NONE
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define RX_SPI_INSTANCE SPI0

#define ADC_INSTANCE ADC1
Expand Down
1 change: 0 additions & 1 deletion configs/TBS_LUCID_H7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@
#define PINIO2_BOX 41
#define PINIO2_CONFIG 129

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1

#define SERIALRX_PROVIDER SERIALRX_CRSF
#define SERIALRX_UART SERIAL_PORT_USART6
1 change: 0 additions & 1 deletion configs/TMOTORH743/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
// #define TIMUP3_DMA_OPT 0
// #define TIMUP8_DMA_OPT 0

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define MAG_I2C_INSTANCE I2CDEV_1
#define BARO_I2C_INSTANCE I2CDEV_2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
1 change: 0 additions & 1 deletion configs/WIZZF7HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,5 @@
#define SDCARD_SPI_INSTANCE SPI2
#define MAX7456_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
//TODO #define MCO2_ON_PC9 ON
#define PINIO1_BOX 40