fix(gdma): burst size should be configurable on esp32c5

This commit is contained in:
morris
2024-12-02 13:42:17 +08:00
parent 1b44d4df3b
commit f47cb027df
9 changed files with 17 additions and 123 deletions

View File

@@ -220,9 +220,6 @@ static inline void ahb_dma_ll_rx_set_burst_size(ahb_dma_dev_t *dev, uint32_t cha
case 32:
burst_mode = 2; // incr8
break;
case 64:
burst_mode = 3; // incr16
break;
default:
HAL_ASSERT(false);
break;
@@ -473,9 +470,6 @@ static inline void ahb_dma_ll_tx_set_burst_size(ahb_dma_dev_t *dev, uint32_t cha
case 32:
burst_mode = 2; // incr8
break;
case 64:
burst_mode = 3; // incr16
break;
default:
HAL_ASSERT(false);
break;