feat(openthread): use heap_caps_calloc_prefer for messagepool

This commit is contained in:
Tan Yan Quan
2026-03-13 21:02:03 +08:00
parent 8445719b4c
commit 541e306799
5 changed files with 29 additions and 15 deletions
@@ -227,6 +227,6 @@ uint32_t esp_openthread_get_alloc_caps(void)
#if CONFIG_OPENTHREAD_PLATFORM_MALLOC_CAP_SPIRAM
(MALLOC_CAP_SPIRAM | MALLOC_CAP_8BIT);
#else
(MALLOC_CAP_DEFAULT | MALLOC_CAP_8BIT);
(MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT);
#endif
}