From aaab96050ab39871fd495dd4e2402688a3edfd2d Mon Sep 17 00:00:00 2001 From: Xu Si Yu Date: Mon, 16 Dec 2024 16:38:39 +0800 Subject: [PATCH] fix(openthread): fix a naming error of kconfig --- components/openthread/Kconfig | 2 +- examples/openthread/ot_br/sdkconfig.ci.spiram | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 examples/openthread/ot_br/sdkconfig.ci.spiram diff --git a/components/openthread/Kconfig b/components/openthread/Kconfig index c6c700c72a..fdd5445456 100644 --- a/components/openthread/Kconfig +++ b/components/openthread/Kconfig @@ -328,7 +328,7 @@ menu "OpenThread" menu "Thread Memory Allocation" depends on (SPIRAM_USE_CAPS_ALLOC || SPIRAM_USE_MALLOC) - config OPENTHREAD_MEM_ALLOC_EXTERNAL + config OPENTHREAD_PLATFORM_MALLOC_CAP_SPIRAM bool 'Allocate memory from PSRAM' default y help diff --git a/examples/openthread/ot_br/sdkconfig.ci.spiram b/examples/openthread/ot_br/sdkconfig.ci.spiram new file mode 100644 index 0000000000..f4b071ddb0 --- /dev/null +++ b/examples/openthread/ot_br/sdkconfig.ci.spiram @@ -0,0 +1,6 @@ +CONFIG_IDF_TARGET="esp32s3" +CONFIG_IDF_TARGET_ESP32S3=y +CONFIG_SPIRAM=y +CONFIG_SPIRAM_USE_MALLOC=y +CONFIG_OPENTHREAD_PLATFORM_MALLOC_CAP_SPIRAM=y +CONFIG_OPENTHREAD_PLATFORM_MSGPOOL_MANAGEMENT=y