ardupilot/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-SE/hwdef.dat

30 lines
722 B
Plaintext
Raw Normal View History

include ../MatekF765-Wing/hwdef.dat
undef SERIAL_ORDER
undef UART4 UART4_TX UART4_RX
undef PD0 PD1
2021-11-05 00:18:01 -03:00
SERIAL_ORDER OTG1 UART7 USART1 USART2 USART3 UART8 EMPTY USART6 UART5 OTG2
# CAN bus
PD0 CAN1_RX CAN1
PD1 CAN1_TX CAN1
PD3 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW GPIO(70)
# voltage and current sensing scale
undef HAL_BATT_VOLT_SCALE
define HAL_BATT_VOLT_SCALE 21
undef HAL_BATT_CURR_SCALE
define HAL_BATT_CURR_SCALE 66.7
# undef ICM20602 & MPU6000, Add ICM42688 to SPI4, one IMU only
undef IMU mpu6000 icm20602
SPIDEV icm42688 SPI4 DEVID1 SPARE_CS MODE3 2*MHZ 8*MHZ
IMU Invensensev3 SPI:icm42688 ROTATION_YAW_180
undef HAL_I2C_INTERNAL_MASK
define HAL_I2C_INTERNAL_MASK 0
define DEFAULT_NTF_LED_TYPES 487