From ff1fd81e2ff0d66fc8a71fb0b171b6184c96ad27 Mon Sep 17 00:00:00 2001 From: zwx Date: Wed, 31 Jan 2024 22:05:02 +0800 Subject: [PATCH] fix(openthread): support uart ISR in IRAM --- components/openthread/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/openthread/Kconfig b/components/openthread/Kconfig index fd77585b23..ec98241f58 100644 --- a/components/openthread/Kconfig +++ b/components/openthread/Kconfig @@ -114,6 +114,7 @@ menu "OpenThread" Select this to use the native 15.4 radio. config OPENTHREAD_RADIO_SPINEL_UART + select UART_ISR_IN_IRAM bool "Connect via UART" help Select this to connect to a Radio Co-Processor via UART. @@ -157,6 +158,7 @@ menu "OpenThread" default OPENTHREAD_RCP_UART config OPENTHREAD_RCP_UART + select UART_ISR_IN_IRAM bool "UART RCP" help Select this to enable UART connection to host. @@ -293,7 +295,7 @@ menu "OpenThread" config OPENTHREAD_UART_BUFFER_SIZE int "The uart received buffer size of openthread" depends on OPENTHREAD_ENABLED - default 256 + default 768 range 128 1024 help Set the OpenThread UART buffer size.