gdma: avoid manually start/stop when channel is controled by ETM

This commit is contained in:
morris
2023-04-03 15:55:00 +08:00
parent 1429913042
commit 6c19e7b8a7
5 changed files with 18 additions and 10 deletions

View File

@@ -9,8 +9,9 @@
#include "esp_heap_caps.h"
// Some resources are lazy allocated (newlib locks) in the bootloader support code, the threshold is left for that case
#define TEST_MEMORY_LEAK_THRESHOLD (-650)
// Some resources are lazy allocated, e.g. newlib locks, GDMA channel lazy installed by crypto driver
// the threshold is left for those cases
#define TEST_MEMORY_LEAK_THRESHOLD (-700)
static size_t before_free_8bit;
static size_t before_free_32bit;