From fddf97eaa140fc37f18b85b06a0d7ba77046b90d Mon Sep 17 00:00:00 2001 From: seteiro <276597748+cms19859230182-lang@users.noreply.github.com> Date: Thu, 12 Nov 2026 14:01:11 +0800 Subject: [drivers][sdio] raise default sdio irq thread stack Fix #11694 Give RT_SDIO_STACK_SIZE an independent default of 2048 instead of following IDLE_THREAD_STACK_SIZE. Keep the dev_sdio.c fallback in sync for configurations that do not define the option. --- components/drivers/sdio/Kconfig | 2 +- components/drivers/sdio/dev_sdio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'components') diff --git a/components/drivers/sdio/Kconfig b/components/drivers/sdio/Kconfig index 232a65efd9..7bcd249b2b 100644 --- a/components/drivers/sdio/Kconfig +++ b/components/drivers/sdio/Kconfig @@ -6,7 +6,7 @@ menuconfig RT_USING_SDIO if RT_USING_SDIO config RT_SDIO_STACK_SIZE int "The stack size for sdio irq thread" - default IDLE_THREAD_STACK_SIZE + default 2048 config RT_SDIO_THREAD_PRIORITY int "The priority level value of sdio irq thread" diff --git a/components/drivers/sdio/dev_sdio.c b/components/drivers/sdio/dev_sdio.c index ebbff7c3ab..94fa0e868d 100644 --- a/components/drivers/sdio/dev_sdio.c +++ b/components/drivers/sdio/dev_sdio.c @@ -23,7 +23,7 @@ #include #ifndef RT_SDIO_STACK_SIZE -#define RT_SDIO_STACK_SIZE 512 +#define RT_SDIO_STACK_SIZE 2048 #endif #ifndef RT_SDIO_THREAD_PRIORITY #define RT_SDIO_THREAD_PRIORITY 0x40 -- cgit v1.3.1