From cceae1acf32e8a1843e609fed40e05455067afc2 Mon Sep 17 00:00:00 2001 From: Nikolay March Date: Fri, 24 Dec 2021 09:27:51 +0300 Subject: [PATCH] hwdef: Redefine DMA priority PH4-mini BUG. Without redefining priority there is no DMA on any RX of serial ports. Now it is. Without DMA, you cannot normally use the serial port for the CRSF protocol. --- libraries/AP_HAL_ChibiOS/hwdef/PH4-mini/hwdef.dat | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/PH4-mini/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/PH4-mini/hwdef.dat index dab2914d36..e5feabe5c0 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/PH4-mini/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/PH4-mini/hwdef.dat @@ -44,3 +44,8 @@ define HAL_BATT_CURR_SCALE 36.364 # setup safety switch PE12 LED_SAFETY OUTPUT PE10 SAFETY_IN INPUT PULLDOWN + +#redefine dma +undef DMA_PRIORITY +DMA_PRIORITY SDMMC* USART2* ADC* SPI* TIM* +