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
@@ -288,7 +288,7 @@ static void memcpy_performance_test(uint32_t buffer_size)
async_memcpy_config_t config = ASYNC_MEMCPY_DEFAULT_CONFIG();
config.backlog = (buffer_size / DMA_DESCRIPTOR_BUFFER_MAX_SIZE + 1) * TEST_ASYNC_MEMCPY_BENCH_COUNTS;
config.dma_burst_size = 64; // set a big burst size for performance
config.dma_burst_size = 32; // set a big burst size for performance
async_memcpy_handle_t driver = NULL;
int64_t elapse_us = 0;
float throughput = 0.0;