From bc432615f265e106f0dba0a5c3f0b072c76ca48f Mon Sep 17 00:00:00 2001 From: Xu Si Yu Date: Wed, 19 Nov 2025 17:05:15 +0800 Subject: [PATCH] feat(openthread): Use PSRAM by default for OpenThread message buffers when PSRAM is enabled --- components/openthread/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/openthread/Kconfig b/components/openthread/Kconfig index b113cfd1f4c..9b814a47fef 100644 --- a/components/openthread/Kconfig +++ b/components/openthread/Kconfig @@ -430,7 +430,7 @@ menu "OpenThread" config OPENTHREAD_PLATFORM_MSGPOOL_MANAGEMENT bool 'Allocate message pool buffer from PSRAM' - default n + default y help If enabled, the message pool is managed by platform defined logic. endmenu @@ -464,7 +464,8 @@ menu "OpenThread" config OPENTHREAD_NUM_MESSAGE_BUFFERS int "The number of openthread message buffers" - default 65 + default 65 if !OPENTHREAD_PLATFORM_MSGPOOL_MANAGEMENT + default 1024 if OPENTHREAD_PLATFORM_MSGPOOL_MANAGEMENT config OPENTHREAD_XTAL_ACCURACY int "The accuracy of the XTAL"