diff --git a/components/heap/tlsf_platform.h b/components/heap/tlsf_platform.h index 6b882be920..f40e0ca0f9 100644 --- a/components/heap/tlsf_platform.h +++ b/components/heap/tlsf_platform.h @@ -36,6 +36,8 @@ extern "C" { #define FL_INDEX_MAX_PLATFORM 23 //Each pool can have up 8MB #elif (TLSF_MAX_POOL_SIZE <= (16 * 1024 * 1024)) #define FL_INDEX_MAX_PLATFORM 24 //Each pool can have up 16MB +#elif (TLSF_MAX_POOL_SIZE <= (32 * 1024 * 1024)) +#define FL_INDEX_MAX_PLATFORM 25 //Each pool can have up 32MB #else #error "Higher TLSF pool sizes should be added for this new config" #endif