mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: hwdef for bdshot version of CUAV Nora/Nora+
This commit is contained in:
parent
d182c4168e
commit
f0c591eb18
|
@ -0,0 +1,19 @@
|
|||
# setup the temperature compensation
|
||||
BRD_HEAT_TARG 45
|
||||
BRD_HEAT_P 50
|
||||
BRD_HEAT_I 0.07
|
||||
|
||||
# turn on the CAN power monitoring(default)
|
||||
CAN_P1_DRIVER 1
|
||||
BATT_MONITOR 8
|
||||
|
||||
# setup the parameter for the ADC power module
|
||||
BATT_VOLT_PIN 16
|
||||
BATT_CURR_PIN 17
|
||||
BATT_VOLT_MULT 18.000
|
||||
BATT_AMP_PERVLT 24.000
|
||||
|
||||
# turn on CAN RGB LED
|
||||
NTF_LED_TYPES 231
|
||||
|
||||
EK2_IMU_MASK 7
|
|
@ -0,0 +1 @@
|
|||
include ../CUAV-Nora/hwdef-bl.dat
|
|
@ -0,0 +1,14 @@
|
|||
# Bi-directional dshot version of CUAV-Nora
|
||||
|
||||
include ../CUAV-Nora/hwdef.dat
|
||||
|
||||
undef PH10 PH12 PD12 PD14
|
||||
|
||||
# This gives bi-dir dshot on the first eight channels
|
||||
PH10 TIM5_CH1 TIM5 PWM(1) GPIO(50) BIDIR
|
||||
PH12 TIM5_CH3 TIM5 PWM(3) GPIO(52) BIDIR
|
||||
PD12 TIM4_CH1 TIM4 PWM(5) GPIO(54) BIDIR
|
||||
PD14 TIM4_CH3 TIM4 PWM(7) GPIO(56) BIDIR
|
||||
|
||||
NODMA I2C*
|
||||
define STM32_I2C_USE_DMA FALSE
|
Loading…
Reference in New Issue