2018-07-10 03:27:17 -03:00
|
|
|
# hw definition file for processing by chibios_hwdef.py
|
|
|
|
# for CUAVv5 hardware.
|
|
|
|
|
|
|
|
include ../fmuv5/hwdef.dat
|
2019-01-15 21:44:29 -04:00
|
|
|
|
|
|
|
# extra LEDs, active low, used using the pixracer LED scheme
|
2019-05-03 01:20:30 -03:00
|
|
|
PH10 LED_R1 OUTPUT OPENDRAIN HIGH GPIO(0)
|
|
|
|
PH11 LED_G1 OUTPUT OPENDRAIN HIGH GPIO(1)
|
|
|
|
PH12 LED_B1 OUTPUT OPENDRAIN HIGH GPIO(2)
|
2019-01-15 21:44:29 -04:00
|
|
|
|
|
|
|
undef HAL_GPIO_A_LED_PIN
|
|
|
|
undef HAL_GPIO_B_LED_PIN
|
|
|
|
|
|
|
|
define HAL_GPIO_A_LED_PIN 0
|
|
|
|
define HAL_GPIO_B_LED_PIN 1
|
|
|
|
define HAL_GPIO_C_LED_PIN 2
|
|
|
|
|
|
|
|
define HAL_HAVE_PIXRACER_LED
|
|
|
|
|
2022-03-14 03:55:05 -03:00
|
|
|
undef IMU
|
|
|
|
undef PF11
|
2019-01-15 21:44:29 -04:00
|
|
|
|
2022-03-14 03:55:05 -03:00
|
|
|
PF11 ICM42688_CS CS SPEED_VERYLOW
|
|
|
|
|
|
|
|
SPIDEV icm42688 SPI1 DEVID2 ICM42688_CS MODE3 2*MHZ 8*MHZ
|
|
|
|
|
|
|
|
IMU Invensense SPI:icm20689 ROTATION_NONE
|
|
|
|
IMU Invensense SPI:icm20602 ROTATION_NONE
|
|
|
|
IMU Invensensev3 SPI:icm42688 ROTATION_PITCH_180_YAW_270
|
|
|
|
IMU BMI055 SPI:bmi055_a SPI:bmi055_g ROTATION_ROLL_180_YAW_90
|
|
|
|
IMU BMI088 SPI:bmi055_a SPI:bmi055_g ROTATION_ROLL_180_YAW_90
|