From 26e23725da8c32ae5ca83c0a0179fdc4abce9689 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 8bc98015c57..2a89bf47fc7 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"