mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 01:48:29 -04:00
AP_HAL_ChibiOS: standard spelling of variant
This commit is contained in:
parent
1d288316cc
commit
79e1f5e8bd
@ -1,6 +1,6 @@
|
|||||||
# hw definition file for processing by chibios_hwdef.py
|
# hw definition file for processing by chibios_hwdef.py
|
||||||
# for CUAVv5Nano F7 hardware.
|
# for CUAVv5Nano F7 hardware.
|
||||||
# This is a varient of fmuv5 without the IOMCU
|
# This is a variant of fmuv5 without the IOMCU
|
||||||
|
|
||||||
include ../fmuv5/hwdef.dat
|
include ../fmuv5/hwdef.dat
|
||||||
|
|
||||||
|
@ -47,12 +47,12 @@ BOARD_VALIDATE $CHECK_IMU0_PRESENT $CHECK_IMU1_PRESENT $CHECK_IMU2_PRESENT $CHEC
|
|||||||
# also define the default board type
|
# also define the default board type
|
||||||
define BOARD_TYPE_DEFAULT 3
|
define BOARD_TYPE_DEFAULT 3
|
||||||
|
|
||||||
# three IMUs, but allow for different varients. First two IMUs are
|
# three IMUs, but allow for different variants. First two IMUs are
|
||||||
# isolated, 3rd isn't
|
# isolated, 3rd isn't
|
||||||
IMU Invensense SPI:mpu9250_ext ROTATION_PITCH_180
|
IMU Invensense SPI:mpu9250_ext ROTATION_PITCH_180
|
||||||
|
|
||||||
# the 3 rotations for the LSM9DS0 driver are for the accel, the gyro
|
# the 3 rotations for the LSM9DS0 driver are for the accel, the gyro
|
||||||
# and the H varient of the gyro
|
# and the H variant of the gyro
|
||||||
IMU LSM9DS0 SPI:lsm9ds0_ext_g SPI:lsm9ds0_ext_am ROTATION_ROLL_180_YAW_270 ROTATION_ROLL_180_YAW_90 ROTATION_ROLL_180_YAW_90
|
IMU LSM9DS0 SPI:lsm9ds0_ext_g SPI:lsm9ds0_ext_am ROTATION_ROLL_180_YAW_270 ROTATION_ROLL_180_YAW_90 ROTATION_ROLL_180_YAW_90
|
||||||
|
|
||||||
# 3rd non-isolated IMU
|
# 3rd non-isolated IMU
|
||||||
|
@ -234,12 +234,12 @@ SPIDEV external0m2 SPI4 DEVID5 MPU_EXT_CS MODE2 2*MHZ 2*MHZ
|
|||||||
SPIDEV external0m3 SPI4 DEVID5 MPU_EXT_CS MODE3 2*MHZ 2*MHZ
|
SPIDEV external0m3 SPI4 DEVID5 MPU_EXT_CS MODE3 2*MHZ 2*MHZ
|
||||||
SPIDEV pixartPC15 SPI4 DEVID13 ACCEL_EXT_CS MODE3 2*MHZ 2*MHZ
|
SPIDEV pixartPC15 SPI4 DEVID13 ACCEL_EXT_CS MODE3 2*MHZ 2*MHZ
|
||||||
|
|
||||||
# three IMUs, but allow for different varients. First two IMUs are
|
# three IMUs, but allow for different variants. First two IMUs are
|
||||||
# isolated, 3rd isn't
|
# isolated, 3rd isn't
|
||||||
IMU Invensense SPI:mpu9250_ext ROTATION_PITCH_180
|
IMU Invensense SPI:mpu9250_ext ROTATION_PITCH_180
|
||||||
|
|
||||||
# the 3 rotations for the LSM9DS0 driver are for the accel, the gyro
|
# the 3 rotations for the LSM9DS0 driver are for the accel, the gyro
|
||||||
# and the H varient of the gyro
|
# and the H variant of the gyro
|
||||||
IMU LSM9DS0 SPI:lsm9ds0_ext_g SPI:lsm9ds0_ext_am ROTATION_ROLL_180_YAW_270 ROTATION_ROLL_180_YAW_90 ROTATION_ROLL_180_YAW_90
|
IMU LSM9DS0 SPI:lsm9ds0_ext_g SPI:lsm9ds0_ext_am ROTATION_ROLL_180_YAW_270 ROTATION_ROLL_180_YAW_90 ROTATION_ROLL_180_YAW_90
|
||||||
|
|
||||||
# 3rd non-isolated IMU
|
# 3rd non-isolated IMU
|
||||||
|
@ -14,12 +14,12 @@ SPIDEV icm20602_ext SPI4 DEVID3 GYRO_EXT_CS MODE3 4*MHZ 8*MHZ
|
|||||||
# these are parameters the Solo requires for proper operation that are different from the copter defaults.
|
# these are parameters the Solo requires for proper operation that are different from the copter defaults.
|
||||||
env DEFAULT_PARAMETERS 'Tools/Frame_params/Solo_Copter-4.param'
|
env DEFAULT_PARAMETERS 'Tools/Frame_params/Solo_Copter-4.param'
|
||||||
|
|
||||||
# three IMUs, but allow for different varients. First two IMUs are
|
# three IMUs, but allow for different variants. First two IMUs are
|
||||||
# isolated, 3rd isn't
|
# isolated, 3rd isn't
|
||||||
IMU Invensense SPI:mpu9250_ext ROTATION_PITCH_180
|
IMU Invensense SPI:mpu9250_ext ROTATION_PITCH_180
|
||||||
|
|
||||||
# the 3 rotations for the LSM9DS0 driver are for the accel, the gyro
|
# the 3 rotations for the LSM9DS0 driver are for the accel, the gyro
|
||||||
# and the H varient of the gyro
|
# and the H variant of the gyro
|
||||||
IMU LSM9DS0 SPI:lsm9ds0_ext_g SPI:lsm9ds0_ext_am ROTATION_ROLL_180_YAW_270 ROTATION_ROLL_180_YAW_90 ROTATION_ROLL_180_YAW_90
|
IMU LSM9DS0 SPI:lsm9ds0_ext_g SPI:lsm9ds0_ext_am ROTATION_ROLL_180_YAW_270 ROTATION_ROLL_180_YAW_90 ROTATION_ROLL_180_YAW_90
|
||||||
|
|
||||||
# 3rd non-isolated IMU
|
# 3rd non-isolated IMU
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# The CUBE Yellow is a varient of The CUBE Black from ProfiCNC/Hex
|
# The CUBE Yellow is a variant of The CUBE Black from ProfiCNC/Hex
|
||||||
# with a STM32F777 MCU
|
# with a STM32F777 MCU
|
||||||
|
|
||||||
# MCU class and specific type
|
# MCU class and specific type
|
||||||
@ -385,12 +385,12 @@ SPIDEV pixartPC15 SPI4 DEVID13 ACCEL_EXT_CS MODE3 2*MHZ 2*MHZ
|
|||||||
#SPIDEV clock8 SPI4 DEVID5 MPU_EXT_CS MODE0 8*MHZ 8*MHZ # gives 5.5MHz
|
#SPIDEV clock8 SPI4 DEVID5 MPU_EXT_CS MODE0 8*MHZ 8*MHZ # gives 5.5MHz
|
||||||
#SPIDEV clock16 SPI4 DEVID5 MPU_EXT_CS MODE0 16*MHZ 16*MHZ # gives 10.6MHz
|
#SPIDEV clock16 SPI4 DEVID5 MPU_EXT_CS MODE0 16*MHZ 16*MHZ # gives 10.6MHz
|
||||||
|
|
||||||
# three IMUs, but allow for different varients. First two IMUs are
|
# three IMUs, but allow for different variants. First two IMUs are
|
||||||
# isolated, 3rd isn't
|
# isolated, 3rd isn't
|
||||||
IMU Invensense SPI:mpu9250_ext ROTATION_PITCH_180
|
IMU Invensense SPI:mpu9250_ext ROTATION_PITCH_180
|
||||||
|
|
||||||
# the 3 rotations for the LSM9DS0 driver are for the accel, the gyro
|
# the 3 rotations for the LSM9DS0 driver are for the accel, the gyro
|
||||||
# and the H varient of the gyro
|
# and the H variant of the gyro
|
||||||
IMU LSM9DS0 SPI:lsm9ds0_ext_g SPI:lsm9ds0_ext_am ROTATION_ROLL_180_YAW_270 ROTATION_ROLL_180_YAW_90 ROTATION_ROLL_180_YAW_90
|
IMU LSM9DS0 SPI:lsm9ds0_ext_g SPI:lsm9ds0_ext_am ROTATION_ROLL_180_YAW_270 ROTATION_ROLL_180_YAW_90 ROTATION_ROLL_180_YAW_90
|
||||||
|
|
||||||
# 3rd non-isolated IMU
|
# 3rd non-isolated IMU
|
||||||
|
@ -16,7 +16,7 @@ The KakuteF7 AIO is a flight controller produced by [Holybro](http://www.holybro
|
|||||||
|
|
||||||
## Pinout
|
## Pinout
|
||||||
|
|
||||||
The KakuteF7 comes in two varients. One is an AIO (All-In-One) board,
|
The KakuteF7 comes in two variants. One is an AIO (All-In-One) board,
|
||||||
with OSD. The other is a smaller board without OSD.
|
with OSD. The other is a smaller board without OSD.
|
||||||
|
|
||||||
### KakuteF7 Pinout
|
### KakuteF7 Pinout
|
||||||
|
@ -147,7 +147,7 @@ SPIDEV sdcard SPI3 DEVID3 SDCARD_CS MODE0 400*KHZ 25*MHZ
|
|||||||
# one IMU
|
# one IMU
|
||||||
IMU Invensense SPI:mpu6000 ROTATION_YAW_180
|
IMU Invensense SPI:mpu6000 ROTATION_YAW_180
|
||||||
|
|
||||||
# one baro, multiple possible choices for different board varients
|
# one baro, multiple possible choices for different board variants
|
||||||
BARO BMP280 I2C:0:0x76
|
BARO BMP280 I2C:0:0x76
|
||||||
BARO DPS280 I2C:0:0x76
|
BARO DPS280 I2C:0:0x76
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ IMU Invensense SPI:mpu6000 ROTATION_ROLL_180
|
|||||||
define HAL_DEFAULT_INS_FAST_SAMPLE 1
|
define HAL_DEFAULT_INS_FAST_SAMPLE 1
|
||||||
|
|
||||||
# one BARO, multiple possible choices for different
|
# one BARO, multiple possible choices for different
|
||||||
# board varients
|
# board variants
|
||||||
BARO BMP280 I2C:0:0x76
|
BARO BMP280 I2C:0:0x76
|
||||||
BARO DPS280 I2C:0:0x76
|
BARO DPS280 I2C:0:0x76
|
||||||
BARO MS56XX I2C:0:0x77
|
BARO MS56XX I2C:0:0x77
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# hw definition file for processing by chibios_hwdef.py
|
# hw definition file for processing by chibios_hwdef.py
|
||||||
# for Holybro PH4-mini hardware.
|
# for Holybro PH4-mini hardware.
|
||||||
# This is a varient of fmuv5 without the IOMCU
|
# This is a variant of fmuv5 without the IOMCU
|
||||||
|
|
||||||
include ../fmuv5/hwdef.dat
|
include ../fmuv5/hwdef.dat
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ IMU Invensensev2 SPI:imu2 ROTATION_YAW_90
|
|||||||
define HAL_DEFAULT_INS_FAST_SAMPLE 3
|
define HAL_DEFAULT_INS_FAST_SAMPLE 3
|
||||||
|
|
||||||
# one BARO, multiple possible choices for different
|
# one BARO, multiple possible choices for different
|
||||||
# board varients
|
# board variants
|
||||||
BARO SPL06 SPI:spl06
|
BARO SPL06 SPI:spl06
|
||||||
|
|
||||||
# dummy for testing
|
# dummy for testing
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# hw definition file for processing by chibios_hwdef.py
|
# hw definition file for processing by chibios_hwdef.py
|
||||||
# for TBS Colibri F7 hardware.
|
# for TBS Colibri F7 hardware.
|
||||||
# This is a varient of fmuv5 without the IOMCU
|
# This is a variant of fmuv5 without the IOMCU
|
||||||
|
|
||||||
include ../fmuv5/hwdef.dat
|
include ../fmuv5/hwdef.dat
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user