mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Added TIM_UP + burst DMA -based DSHOT to F3
This commit is contained in:
parent
2207a98a7a
commit
a89409a26a
5 changed files with 47 additions and 18 deletions
|
@ -111,7 +111,11 @@ typedef struct {
|
|||
TIM_TypeDef *timer;
|
||||
#if defined(USE_DSHOT_DMAR)
|
||||
#if !defined(USE_HAL_DRIVER)
|
||||
#ifdef STM32F3
|
||||
DMA_Channel_TypeDef *dmaBurstRef;
|
||||
#else
|
||||
DMA_Stream_TypeDef *dmaBurstRef;
|
||||
#endif
|
||||
uint16_t dmaBurstLength;
|
||||
#endif
|
||||
uint32_t dmaBurstBuffer[DSHOT_DMA_BUFFER_SIZE * 4];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue