diff --git a/targets/ESP32/_nanoCLR/Memory.cpp b/targets/ESP32/_nanoCLR/Memory.cpp index 64f6b7902c..d2d1ebaa82 100644 --- a/targets/ESP32/_nanoCLR/Memory.cpp +++ b/targets/ESP32/_nanoCLR/Memory.cpp @@ -23,6 +23,8 @@ static const char *TAG = "Memory"; // Minimum memory needed for IDF (native code) #if defined(CONFIG_IDF_TARGET_ESP32H2) #define MINIMUM_FREE_MEMORY_FOR_IDF (20 * 1024) +#elif defined(CONFIG_IDF_TARGET_ESP32C6) +#define MINIMUM_FREE_MEMORY_FOR_IDF (90 * 1024) #else #define MINIMUM_FREE_MEMORY_FOR_IDF (100 * 1024) #endif