1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Cleanup deprecated ACC_1_ALIGN and ACC_2_ALIGN defines (#8076)

Cleanup deprecated ACC_1_ALIGN and ACC_2_ALIGN defines
This commit is contained in:
Michael Keller 2019-04-28 12:46:50 +12:00 committed by GitHub
commit 11c8772003
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
107 changed files with 0 additions and 157 deletions

View file

@ -55,14 +55,12 @@
#define GYRO_1_CS_PIN PA4
#define GYRO_1_EXTI_PIN NONE
#define ACC_1_ALIGN CW0_DEG_FLIP
#define GYRO_1_ALIGN CW0_DEG_FLIP
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_CS_PIN PC15
#define GYRO_2_EXTI_PIN NONE
#define ACC_2_ALIGN CW0_DEG_FLIP
#define GYRO_2_ALIGN CW0_DEG_FLIP
#define USE_MAG

View file

@ -44,7 +44,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
#define USE_GYRO_EXTI
#define GYRO_1_EXTI_PIN PC4

View file

@ -50,7 +50,6 @@
#define GYRO_1_SPI_INSTANCE SPI2
#define GYRO_1_ALIGN CW180_DEG
#define ACC_1_ALIGN CW180_DEG
//#define USE_BARO
//#define USE_BARO_MS5611

View file

@ -47,7 +47,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
#define USE_BARO
#define USE_BARO_SPI_BMP280

View file

@ -42,7 +42,6 @@
#define USE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW0_DEG
#define USE_UART1
#define USE_UART2

View file

@ -55,7 +55,6 @@
#define USE_ACC_MPU6050
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW270_DEG
// No baro support.
//#define USE_BARO

View file

@ -49,7 +49,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW270_DEG
#define USE_GYRO
#define USE_GYRO_SPI_MPU6500

View file

@ -47,7 +47,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW270_DEG
#define USE_GYRO
#define USE_GYRO_SPI_MPU6500

View file

@ -142,7 +142,6 @@
// ACC
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
/* Optional Digital Pressure Sensor (barometer) - Bosch BMP280
* TODO: not implemented on V1 or V2 pcb

View file

@ -36,7 +36,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW270_DEG
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000

View file

@ -36,7 +36,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW270_DEG
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000

View file

@ -46,11 +46,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#if defined(BEESTORM)
#define ACC_1_ALIGN CW180_DEG
#else
#define ACC_1_ALIGN CW270_DEG
#endif
#define SERIAL_PORT_COUNT 4

View file

@ -44,7 +44,6 @@
#define USE_ACC
#define USE_ACC_SPI_ICM20689
#define ACC_1_ALIGN CW270_DEG
#define USE_GYRO
#define USE_GYRO_SPI_ICM20689

View file

@ -41,7 +41,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW180_DEG
// MPU6000 interrupts
#define USE_MPU_DATA_READY_SIGNAL

View file

@ -41,7 +41,6 @@
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#define ACC_1_ALIGN CW180_DEG

View file

@ -54,7 +54,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
#define USE_GYRO
#define USE_GYRO_SPI_MPU6500

View file

@ -54,7 +54,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW270_DEG
// MPU6000 interrupts
#define USE_MPU_DATA_READY_SIGNAL

View file

@ -75,7 +75,6 @@
//#define LSM303DLHC_I2C_INT1_PIN PE4
//#define LSM303DLHC_I2C_INT2_PIN PE5
#define ACC_1_ALIGN CW0_DEG
#define USE_BARO
#define USE_BARO_MS5611

View file

@ -60,7 +60,6 @@
#define GYRO_1_CS_PIN PA4
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
#define USE_MAX7456
#define MAX7456_SPI_INSTANCE SPI3

View file

@ -49,7 +49,6 @@
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
#define USE_MAG
#define USE_MAG_HMC5883

View file

@ -42,7 +42,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW270_DEG_FLIP
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000

View file

@ -60,7 +60,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW270_DEG
#define USE_BARO
#define USE_BARO_MS5611

View file

@ -77,7 +77,6 @@
#define GYRO_1_ALIGN CW90_DEG
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW90_DEG
#define USE_VCP
#if defined(CRAZYBEEF3DX)

View file

@ -95,7 +95,6 @@
#define USE_ACC
#define USE_ACC_MPU6500
#define ACC_1_ALIGN CW270_DEG
#define USE_MAG
#define USE_MPU9250_MAG // Enables bypass configuration on the MPU9250 I2C bus

View file

@ -53,10 +53,8 @@
#define USE_ACC_SPI_MPU6500
#define GYRO_1_ALIGN CW180_DEG
#define ACC_1_ALIGN CW180_DEG
#define GYRO_2_ALIGN CW0_DEG
#define ACC_2_ALIGN CW0_DEG
#define GYRO_CONFIG_USE_GYRO_DEFAULT GYRO_CONFIG_USE_GYRO_1

View file

@ -78,7 +78,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW270_DEG
#define USE_BARO
#define USE_BARO_BMP280

View file

@ -49,7 +49,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW90_DEG
#define USE_RX_SPI

View file

@ -38,7 +38,6 @@
#define GYRO_1_SPI_INSTANCE SPI1
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
#define USE_EXTI
#define USE_GYRO_EXTI

View file

@ -47,7 +47,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW270_DEG
//#define USE_BARO
//#define USE_BARO_MS5611

View file

@ -55,10 +55,8 @@
#define USE_ACC_SPI_ICM20689
#define GYRO_1_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
#define GYRO_2_ALIGN CW90_DEG
#define ACC_2_ALIGN CW90_DEG
#define GYRO_CONFIG_USE_GYRO_DEFAULT GYRO_CONFIG_USE_GYRO_BOTH

View file

@ -45,7 +45,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW90_DEG
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000

View file

@ -76,7 +76,6 @@
#define USE_ACC_SPI_MPU6000
#define USE_ACC_SPI_MPU6500
#define USE_ACC_SPI_ICM20689
#define ACC_1_ALIGN CW180_DEG
/*---------------------------------*/

View file

@ -55,7 +55,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW180_DEG
#define GYRO_1_CS_PIN PB12
#define GYRO_1_SPI_INSTANCE SPI2

View file

@ -68,7 +68,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW180_DEG
/*---------------------------------*/
#if defined(FF_PIKOF4OSD)

View file

@ -55,7 +55,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW90_DEG
// *************** UART *****************************
#define USE_VCP

View file

@ -56,12 +56,10 @@
#define ACC_MPU6000_1_ALIGN CW270_DEG
#define GYRO_MPU6000_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN GYRO_MPU6000_1_ALIGN
#define ACC_1_ALIGN ACC_MPU6000_1_ALIGN
#define ACC_ICM20689_2_ALIGN CW270_DEG
#define GYRO_ICM20689_2_ALIGN CW270_DEG
#define GYRO_2_ALIGN GYRO_ICM20689_2_ALIGN
#define ACC_2_ALIGN ACC_ICM20689_2_ALIGN
#define GYRO_CONFIG_USE_GYRO_DEFAULT GYRO_CONFIG_USE_GYRO_2

View file

@ -49,7 +49,6 @@
#define GYRO_1_CS_PIN PB2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define ACC_1_ALIGN CW90_DEG
//------ICM20689
#define USE_GYRO_SPI_ICM20689

View file

@ -53,10 +53,8 @@
#define USE_ACC_SPI_MPU6500
#define GYRO_1_ALIGN CW270_DEG
#define ACC_1_ALIGN CW270_DEG
#define GYRO_2_ALIGN CW180_DEG
#define ACC_2_ALIGN CW180_DEG
#define GYRO_CONFIG_USE_GYRO_DEFAULT GYRO_CONFIG_USE_GYRO_1

View file

@ -44,7 +44,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW270_DEG
#else
#define USE_GYRO
#define USE_GYRO_MPU6050
@ -52,7 +51,6 @@
#define USE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW270_DEG
#endif
#define USE_VCP

View file

@ -41,7 +41,6 @@
#define USE_GYRO_SPI_MPU6000
#define GYRO_1_ALIGN CW270_DEG
#define ACC_1_ALIGN CW270_DEG
#define USE_EXTI
#define USE_GYRO_EXTI

View file

@ -56,7 +56,6 @@
#define USE_ACC_SPI_MPU6000
#define USE_ACC_SPI_MPU6500
#define USE_ACC_SPI_ICM20689
#define ACC_1_ALIGN CW180_DEG
#define USE_SPI
#define USE_SPI_DEVICE_1

View file

@ -56,7 +56,6 @@
#define USE_ACC_SPI_MPU6000
#define USE_ACC_SPI_MPU6500
#define USE_ACC_SPI_ICM20689
#define ACC_1_ALIGN CW180_DEG
#ifdef FURYF4OSD
#define USE_MAX7456

View file

@ -45,7 +45,6 @@
#define USE_ACC
#define USE_ACC_SPI_ICM20689
#define ACC_1_ALIGN CW180_DEG
//#define USE_BARO
//#define USE_BARO_MS5611

View file

@ -63,7 +63,6 @@
#define GYRO_1_ALIGN CW270_DEG
#define USE_ACC_SPI_ICM20689
#define ACC_1_ALIGN CW270_DEG
#define GYRO_1_CS_PIN PA4
#define GYRO_1_SPI_INSTANCE SPI1

View file

@ -61,7 +61,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW270_DEG
#define LED0_PIN PC13

View file

@ -41,7 +41,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW0_DEG
#define USE_FLASHFS
#define USE_FLASH_M25P16

View file

@ -37,7 +37,6 @@
#define USE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW270_DEG
#define USE_BARO
#define USE_BARO_BMP085

View file

@ -59,12 +59,10 @@
#define ACC_ICM20689_1_ALIGN CW90_DEG
#define GYRO_ICM20689_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN GYRO_ICM20689_1_ALIGN
#define ACC_1_ALIGN ACC_ICM20689_1_ALIGN
#define ACC_MPU6000_2_ALIGN CW90_DEG
#define GYRO_MPU6000_2_ALIGN CW90_DEG
#define GYRO_2_ALIGN GYRO_MPU6000_2_ALIGN
#define ACC_2_ALIGN ACC_MPU6000_2_ALIGN
#define GYRO_CONFIG_USE_GYRO_DEFAULT GYRO_CONFIG_USE_GYRO_1

View file

@ -64,7 +64,6 @@
#define GYRO_1_CS_PIN PC4
#define GYRO_1_SPI_INSTANCE SPI1
#define ACC_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN CW270_DEG
#define USE_ACC

View file

@ -52,7 +52,6 @@
#define GYRO_1_CS_PIN SPI4_NSS_PIN
#define GYRO_1_SPI_INSTANCE SPI4
#define GYRO_1_ALIGN CW270_DEG
#define ACC_1_ALIGN CW270_DEG
#define USE_GYRO_EXTI
#define GYRO_1_EXTI_PIN PE1

View file

@ -50,7 +50,6 @@
#define USE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW90_DEG
#define DEFAULT_MIXER MIXER_QUADX_1234
@ -62,7 +61,6 @@
#define USE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW180_DEG
#endif
#define USE_VCP

View file

@ -43,7 +43,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW90_DEG
#define USE_SPI

View file

@ -62,7 +62,6 @@
#define USE_GYRO_SPI_MPU6000
#define GYRO_1_ALIGN CW180_DEG
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW180_DEG
#if defined(KIWIF4) || defined(KIWIF4V2)
#define USE_MAX7456

View file

@ -52,7 +52,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW270_DEG
#define USE_MAG
#define USE_MAG_HMC5883

View file

@ -50,7 +50,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW90_DEG
#define USE_VCP
#define USE_UART1

View file

@ -94,7 +94,6 @@
#endif
#define USE_ACC
#define ACC_1_ALIGN CW270_DEG
#ifdef LUXV2_RACE
#define USE_ACC_MPU6000
#define USE_ACC_SPI_MPU6000

View file

@ -60,8 +60,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW270_DEG
//#define ACC_1_ALIGN CW180_DEG // XXX MPU6500 align, must be configured after flashing
#define USE_MAG
#define USE_MAG_HMC5883

View file

@ -53,7 +53,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW180_DEG
// *************** Baro **************************
#define USE_I2C

View file

@ -65,11 +65,6 @@
#endif
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#if defined(CRAZYBEEF4FS) || defined(CRAZYBEEF4FR) || defined(CRAZYBEEF4DX)
#define ACC_1_ALIGN CW90_DEG
#else
#define ACC_1_ALIGN CW180_DEG
#endif
// *************** SPI2 OSD *****************************
#define USE_SPI_DEVICE_2
#define SPI2_SCK_PIN PB13

View file

@ -58,8 +58,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define USE_ACC_SPI_ICM20689
#define ACC_1_ALIGN CW180_DEG
//#define ACC_1_ALIGN CW90_DEG // XXX has to be post-flash configured
// *************** Baro **************************
#define USE_I2C

View file

@ -62,10 +62,8 @@
#define USE_ACC_SPI_MPU6500
#define GYRO_1_ALIGN CW180_DEG_FLIP
#define ACC_1_ALIGN CW180_DEG_FLIP
#define GYRO_2_ALIGN CW90_DEG
#define ACC_2_ALIGN CW90_DEG
#define USE_MPU_DATA_READY_SIGNAL
#define ENSURE_MPU_DATA_READY_IS_LOW

View file

@ -55,7 +55,6 @@
#define USE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW0_DEG
#define USE_BARO
#define USE_BARO_MS5611

View file

@ -35,7 +35,6 @@
#define USE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW270_DEG
#define USE_EXTI
#define USE_GYRO_EXTI

View file

@ -50,7 +50,6 @@
#define GYRO_1_CS_PIN PB12
#define GYRO_1_SPI_INSTANCE SPI2
#define ACC_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN CW180_DEG
#define USE_VCP

View file

@ -47,7 +47,6 @@
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#define ACC_1_ALIGN CW180_DEG
// MPU6000 interrupts
#define USE_EXTI

View file

@ -42,7 +42,6 @@
#define USE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW90_DEG
#define USE_BARO
#define USE_BARO_MS5611

View file

@ -100,7 +100,6 @@
//#define ACC_ADXL345_ALIGN CW270_DEG
//#define ACC_MMA8452_ALIGN CW90_DEG
//#define ACC_BMA280_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
#define USE_BARO
#define USE_BARO_MS5611 // needed for Flip32 board

View file

@ -47,7 +47,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
#define USE_GYRO
#define USE_GYRO_SPI_MPU6500

View file

@ -38,7 +38,6 @@
#define USE_ACC
#define USE_FAKE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW270_DEG
#define USE_GYRO
#define USE_FAKE_GYRO

View file

@ -38,7 +38,6 @@
#define USE_ACC
#define USE_FAKE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW270_DEG
#define USE_GYRO
#define USE_FAKE_GYRO

View file

@ -45,7 +45,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW90_DEG
#define BARO_SPI_INSTANCE SPI1
#define BARO_CS_PIN PA13

View file

@ -94,16 +94,12 @@
#if defined(OMNIBUSF4SD)
#define GYRO_1_ALIGN CW270_DEG
#define ACC_1_ALIGN CW270_DEG
#elif defined(XRACERF4) || defined(EXUAVF4PRO)
#define GYRO_1_ALIGN CW90_DEG
#define ACC_1_ALIGN CW90_DEG
#elif defined(SYNERGYF4)
#define GYRO_1_ALIGN CW0_DEG_FLIP
#define ACC_1_ALIGN CW0_DEG_FLIP
#else
#define GYRO_1_ALIGN CW180_DEG
#define ACC_1_ALIGN CW180_DEG
#endif
// Support for iFlight OMNIBUS F4 V3
@ -119,7 +115,6 @@
#define GYRO_2_CS_PIN NONE
#define GYRO_2_ALIGN ALIGN_DEFAULT
#define GYRO_2_EXTI_PIN NONE
#define ACC_2_ALIGN ALIGN_DEFAULT
#if !defined(SYNERGYF4) //No mag sensor on SYNERGYF4
#define USE_MAG

View file

@ -76,14 +76,11 @@
#endif
#define GYRO_1_ALIGN CW180_DEG
#define ACC_1_ALIGN CW180_DEG
#if defined(OMNIBUSF4V6)
#define GYRO_2_ALIGN CW0_DEG
#define ACC_2_ALIGN CW0_DEG
#else
#define GYRO_2_ALIGN CW0_DEG_FLIP
#define ACC_2_ALIGN CW0_DEG_FLIP
#endif
#define GYRO_CONFIG_USE_GYRO_DEFAULT GYRO_CONFIG_USE_GYRO_1

View file

@ -49,7 +49,6 @@
#define USE_ACC_SPI_MPU6500
#define GYRO_1_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
// *************** OSD **************************

View file

@ -64,8 +64,6 @@
#define GYRO_2_CS_PIN PA4
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_2_ALIGN ALIGN_DEFAULT
#define ACC_1_ALIGN CW90_DEG
#define ACC_2_ALIGN ALIGN_DEFAULT
#define GYRO_1_EXTI_PIN PD0 // MPU6000
#define GYRO_2_EXTI_PIN PE8 // ICM20608
@ -75,9 +73,7 @@
#define GYRO_2_SPI_INSTANCE SPI3
#define GYRO_2_CS_PIN PA15
#define GYRO_1_ALIGN CW90_DEG
#define ACC_1_ALIGN CW90_DEG
#define GYRO_2_ALIGN CW270_DEG
#define ACC_2_ALIGN CW270_DEG
#define GYRO_1_EXTI_PIN PD0 // Assume the same as OMNIBUSF7V2, need to verify
#define GYRO_2_EXTI_PIN PE8 // Ditto
@ -87,9 +83,7 @@
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_CS_PIN PA4
#define GYRO_1_ALIGN ALIGN_DEFAULT
#define ACC_1_ALIGN ALIGN_DEFAULT
#define GYRO_2_ALIGN ALIGN_DEFAULT
#define ACC_2_ALIGN ALIGN_DEFAULT
#define GYRO_1_EXTI_PIN PE8 // ICM20608
#define GYRO_2_EXTI_PIN PD0 // MPU6000
#endif

View file

@ -64,13 +64,11 @@
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_CS_PIN PB12 // Onboard IMU
#define GYRO_1_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
#define GYRO_1_EXTI_PIN NONE
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_CS_PIN PA8 // External IMU
#define GYRO_2_ALIGN CW270_DEG
#define ACC_2_ALIGN CW270_DEG
#define GYRO_2_EXTI_PIN NONE
#define GYRO_CONFIG_USE_GYRO_DEFAULT GYRO_CONFIG_USE_GYRO_1

View file

@ -46,7 +46,6 @@
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#define GYRO_1_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
// DEFINE OSD
#define USE_SPI_DEVICE_2

View file

@ -50,7 +50,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN CW90_DEG
#define USE_UART1

View file

@ -45,7 +45,6 @@
#define USE_ACC
#define ACC_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN CW180_DEG
#define USE_BARO

View file

@ -99,8 +99,6 @@
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_2_ALIGN CW270_DEG
#define ACC_1_ALIGN CW270_DEG
#define ACC_2_ALIGN CW270_DEG
#elif defined(SOULF4)
@ -108,7 +106,6 @@
#define GYRO_1_ALIGN CW180_DEG
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW180_DEG
#define GYRO_1_CS_PIN PA4
#define GYRO_1_SPI_INSTANCE SPI1
@ -119,7 +116,6 @@
#define GYRO_1_ALIGN CW0_DEG
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
#define GYRO_1_CS_PIN PA4
#define GYRO_1_SPI_INSTANCE SPI1
@ -132,7 +128,6 @@
#define GYRO_1_SPI_INSTANCE SPI1
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
#else
@ -144,7 +139,6 @@
#define GYRO_1_CS_PIN PA4
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define ACC_1_ALIGN CW270_DEG
#endif

View file

@ -90,7 +90,6 @@
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
#define USE_EXTI
#define USE_GYRO_EXTI

View file

@ -37,7 +37,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW270_DEG
#define USE_GYRO
#define USE_GYRO_SPI_MPU6500

View file

@ -53,7 +53,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW180_DEG
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT
#define USE_TARGET_CONFIG

View file

@ -39,7 +39,6 @@
#define USE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW0_DEG_FLIP
#define USE_FLASHFS
#define USE_FLASH_M25P16

View file

@ -42,14 +42,12 @@
#define USE_ACC_SPI_MPU6500
// MPU6000
#define ACC_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_CS_PIN PA4
#define GYRO_1_SPI_INSTANCE SPI1
// MPU6500
//#define ACC_1_ALIGN CW90_DEG // XXX Must be post-flash configured
//#define GYRO_1_ALIGN CW90_DEG // XXX Must be post-flash configured
#define GYRO_1_CS_PIN PA4

View file

@ -56,7 +56,6 @@
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define ACC_1_ALIGN CW90_DEG
#define USE_I2C
#define USE_I2C_DEVICE_1

View file

@ -43,7 +43,6 @@
#define USE_ACC
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW270_DEG
#define USE_BARO
#define USE_BARO_MS5611

View file

@ -49,7 +49,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU9250
#define ACC_1_ALIGN CW270_DEG
#define USE_GYRO
#define USE_GYRO_SPI_MPU9250

View file

@ -48,7 +48,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
#define USE_BARO
#define USE_BARO_SPI_BMP280

View file

@ -59,7 +59,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define USE_ACC_SPI_MPU9250
#define ACC_1_ALIGN CW270_DEG
#define GYRO_1_CS_PIN PB12
#define GYRO_1_SPI_INSTANCE SPI2

View file

@ -64,7 +64,6 @@
#define GYRO_1_ALIGN CW270_DEG
#define USE_ACC_MPU6500
#define ACC_1_ALIGN CW270_DEG
#elif defined(ZCOREF3)
#define USE_GYRO_MPU6500
@ -73,7 +72,6 @@
#define USE_ACC_MPU6500
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW180_DEG
#define USE_SPI_DEVICE_1 // PB9,3,4,5 on AF5 SPI1 (MPU)
@ -90,7 +88,6 @@
#define GYRO_1_ALIGN CW270_DEG
#define USE_ACC_SPI_MPU6000
#define ACC_1_ALIGN CW270_DEG
#define GYRO_1_CS_PIN PB12
#define GYRO_1_SPI_INSTANCE SPI2
@ -99,7 +96,6 @@
#define GYRO_1_ALIGN CW270_DEG
#define USE_ACC_MPU6050
#define ACC_1_ALIGN CW270_DEG
#endif
#if defined(FLIP32F3OSD)

View file

@ -64,7 +64,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN CW180_DEG
#define USE_BARO

View file

@ -54,7 +54,6 @@
#define GYRO_1_ALIGN CW270_DEG
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW270_DEG
#else
#define USE_MAG_DATA_READY_SIGNAL
@ -64,7 +63,6 @@
#define GYRO_1_ALIGN CW180_DEG
#define USE_ACC_MPU6500
#define ACC_1_ALIGN CW180_DEG
#define USE_BARO
#define USE_BARO_BMP280

View file

@ -45,7 +45,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
#define GYRO_1_ALIGN CW0_DEG
#define USE_VCP

View file

@ -58,13 +58,10 @@
#define USE_ACC_SPI_MPU6500
#ifndef SPRACINGF4EVODG
#define ACC_1_ALIGN CW0_DEG
#define GYRO_1_ALIGN CW0_DEG
#else
#define GYRO_1_ALIGN CW0_DEG
#define GYRO_2_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
#define ACC_2_ALIGN CW0_DEG
#endif
#define USE_BARO

View file

@ -70,7 +70,6 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW0_DEG
#define GYRO_1_ALIGN CW0_DEG
#define USE_BARO

View file

@ -58,16 +58,12 @@
#if (SPRACINGF7DUAL_REV >= 2)
#define GYRO_1_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
#define GYRO_2_ALIGN CW270_DEG
#define ACC_2_ALIGN CW270_DEG
#else
#define GYRO_1_ALIGN CW180_DEG
#define ACC_1_ALIGN CW180_DEG
#define GYRO_2_ALIGN CW270_DEG
#define ACC_2_ALIGN CW270_DEG
#endif
#define GYRO_CONFIG_USE_GYRO_DEFAULT GYRO_CONFIG_USE_GYRO_BOTH

View file

@ -117,7 +117,6 @@
#define MPU_I2C_INSTANCE (I2CDEV_1)
#define USE_ACC_LSM303DLHC
#define ACC_1_ALIGN CW0_DEG
#define USE_FAKE_ACC
//#define USE_ACC_ADXL345

View file

@ -63,7 +63,6 @@
#define MPU_I2C_INSTANCE (I2CDEV_1)
#define USE_ACC_LSM303DLHC
#define ACC_1_ALIGN CW0_DEG
#define USE_MAG
#define USE_MAG_HMC5883

View file

@ -46,7 +46,6 @@
#define USE_ACC
#define USE_FAKE_ACC
#define USE_ACC_SPI_MPU6500
#define ACC_1_ALIGN CW180_DEG_FLIP
// ACC section -- end
// GYRO section -- start

Some files were not shown because too many files have changed in this diff Show more