refactor(cp_dma): to use gdma_link driver for descriptor config

This commit is contained in:
morris
2024-12-02 17:39:37 +08:00
parent 1b44d4df3b
commit 364bbbde68
3 changed files with 88 additions and 112 deletions
@@ -53,7 +53,7 @@ typedef struct {
uint32_t backlog; /*!< Maximum number of transactions that can be prepared in the background */
size_t sram_trans_align __attribute__((deprecated)); /*!< DMA transfer alignment (both in size and address) for SRAM memory */
union {
size_t psram_trans_align; /*!< DMA transfer alignment (both in size and address) for PSRAM memory */
size_t psram_trans_align __attribute__((deprecated)); /*!< DMA transfer alignment (both in size and address) for PSRAM memory */
size_t dma_burst_size; /*!< DMA transfer burst size, in bytes */
};
uint32_t flags; /*!< Extra flags to control async memcpy feature */