Browse Source

HAL_ChibiOS: use RCIN pin for only PPM only on iomcu

use uarts for SBUS and other serial protocols
master
Andrew Tridgell 6 years ago
parent
commit
d18277487e
  1. 4
      libraries/AP_HAL_ChibiOS/hwdef/iomcu/hwdef.dat

4
libraries/AP_HAL_ChibiOS/hwdef/iomcu/hwdef.dat

@ -97,6 +97,10 @@ define RCIN_ICU_TIMER ICUD1 @@ -97,6 +97,10 @@ define RCIN_ICU_TIMER ICUD1
define RCIN_ICU_CHANNEL ICU_CHANNEL_1
define STM32_RCIN_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
# only use pulse input for PPM, other protocols
# are on serial
define HAL_RCIN_PULSE_PPM_ONLY
#DMA Channel Not relevant for F1 series
define STM32_RCIN_DMA_CHANNEL 0

Loading…
Cancel
Save