mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
commit
511ced76a9
3 changed files with 11 additions and 1 deletions
3
src/main/target/OMNIBUSF4/XRACERF4.mk
Normal file
3
src/main/target/OMNIBUSF4/XRACERF4.mk
Normal file
|
@ -0,0 +1,3 @@
|
|||
#XRACERF4
|
||||
|
||||
|
|
@ -23,6 +23,8 @@
|
|||
#define TARGET_BOARD_IDENTIFIER "LUX4"
|
||||
#elif defined(DYSF4PRO)
|
||||
#define TARGET_BOARD_IDENTIFIER "DYS4"
|
||||
#elif defined(XRACERF4)
|
||||
#define TARGET_BOARD_IDENTIFIER "XRF4"
|
||||
#else
|
||||
#define TARGET_BOARD_IDENTIFIER "OBF4"
|
||||
#define OMNIBUSF4BASE // For config.c
|
||||
|
@ -32,6 +34,8 @@
|
|||
#define USBD_PRODUCT_STRING "LuxF4osd"
|
||||
#elif defined(DYSF4PRO)
|
||||
#define USBD_PRODUCT_STRING "DysF4Pro"
|
||||
#elif defined(XRACERF4)
|
||||
#define USBD_PRODUCT_STRING "XRACERF4"
|
||||
#else
|
||||
#define USBD_PRODUCT_STRING "OmnibusF4"
|
||||
#endif
|
||||
|
@ -71,6 +75,9 @@
|
|||
#if defined(OMNIBUSF4SD)
|
||||
#define GYRO_MPU6000_ALIGN CW270_DEG
|
||||
#define ACC_MPU6000_ALIGN CW270_DEG
|
||||
#elif defined(XRACERF4)
|
||||
#define GYRO_MPU6000_ALIGN CW90_DEG
|
||||
#define ACC_MPU6000_ALIGN CW90_DEG
|
||||
#else
|
||||
#define GYRO_MPU6000_ALIGN CW180_DEG
|
||||
#define ACC_MPU6000_ALIGN CW180_DEG
|
||||
|
|
|
@ -9,4 +9,4 @@ TARGET_SRC = \
|
|||
drivers/barometer/barometer_ms5611.c \
|
||||
drivers/compass/compass_hmc5883l.c \
|
||||
drivers/max7456.c
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue