1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

[F7] Migration to FW library V1.15.0 (#8626)

[F7] Migration to FW library V1.15.0
This commit is contained in:
Michael Keller 2019-08-01 14:31:23 +12:00 committed by GitHub
commit 0908ea3fce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
336 changed files with 178706 additions and 122550 deletions

View file

@ -47,22 +47,6 @@
#include "build/debug.h"
/* Define(s) --------------------------------------------------------------------------------------------------------*/
//#define DMA_CHANNEL_4 ((uint32_t)0x08000000)
#define DMA_MEMORY_TO_PERIPH ((uint32_t)DMA_SxCR_DIR_0)
//#define DMA_PERIPH_TO_MEMORY ((uint32_t)0x00)
#define DMA_MINC_ENABLE ((uint32_t)DMA_SxCR_MINC)
#define DMA_MDATAALIGN_WORD ((uint32_t)DMA_SxCR_MSIZE_1)
#define DMA_PDATAALIGN_WORD ((uint32_t)DMA_SxCR_PSIZE_1)
#define DMA_PRIORITY_LOW ((uint32_t)0x00000000U)
#define DMA_PRIORITY_MEDIUM ((uint32_t)DMA_SxCR_PL_0)
#define DMA_PRIORITY_HIGH ((uint32_t)DMA_SxCR_PL_1)
#define DMA_PRIORITY_VERY_HIGH ((uint32_t)DMA_SxCR_PL)
#define DMA_MBURST_INC4 ((uint32_t)DMA_SxCR_MBURST_0)
#define DMA_PBURST_INC4 ((uint32_t)DMA_SxCR_PBURST_0)
#define BLOCK_SIZE ((uint32_t)(512))
#define IFCR_CLEAR_MASK_STREAM3 (DMA_LIFCR_CTCIF3 | DMA_LIFCR_CHTIF3 | DMA_LIFCR_CTEIF3 | DMA_LIFCR_CDMEIF3 | DMA_LIFCR_CFEIF3)