mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'bugfix/gdma_burst_config_esp32c5' into 'master'
fix(gdma): burst size should be configurable on esp32c5 See merge request espressif/esp-idf!35322
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user