mirror of https://github.com/ArduPilot/ardupilot
38 lines
939 B
Plaintext
38 lines
939 B
Plaintext
include ../MatekF765-Wing/hwdef.dat
|
|
|
|
undef SERIAL_ORDER
|
|
undef UART4 UART4_TX UART4_RX
|
|
undef PD0 PD1 PA0 PA1 PA2 PA3
|
|
|
|
# bidir on first 4 PWM
|
|
|
|
PA0 TIM2_CH1 TIM2 PWM(1) GPIO(50) BIDIR
|
|
PA1 TIM2_CH2 TIM2 PWM(2) GPIO(51)
|
|
PA2 TIM5_CH3 TIM5 PWM(3) GPIO(52) BIDIR
|
|
PA3 TIM5_CH4 TIM5 PWM(4) GPIO(53)
|
|
|
|
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
|
|
undef DEFAULT_NTF_LED_TYPES
|
|
define DEFAULT_NTF_LED_TYPES 487
|