HAL_ChibiOS: fixed DMA on SPI for Pixhawk4Pro

This commit is contained in:
Andrew Tridgell 2019-02-21 21:31:49 +11:00
parent 518476dba9
commit b0f4494c4a
2 changed files with 6 additions and 6 deletions

View File

@ -163,7 +163,7 @@ PD0 UART4_RX UART4 NODMA
PD1 UART4_TX UART4 NODMA
# USART6 is telem3
PG9 USART6_RX USART6
PG9 USART6_RX USART6 NODMA
# we leave PG14 as an input to prevent it acting as a pullup
# on the IOMCU SBUS input
# PG14 USART6_TX USART6
@ -343,5 +343,5 @@ define HAL_BATT_CURR_SCALE 36.364
# there is an issue with DMA on SPI which needs to be solved
# before we enable it
define HAL_SPI_USE_POLLED
#define HAL_SPI_USE_POLLED

View File

@ -159,10 +159,10 @@
#define STM32_RTCSEL STM32_RTCSEL_NOCLK
#define STM32_D1CPRE STM32_D1CPRE_DIV1
#define STM32_D1HPRE STM32_D1HPRE_DIV4
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV2
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV2
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV2
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV2
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV1
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV1
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV1
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV1
/*
* Peripherals clocks static settings.