From d7fda4eed0677239097027431c61bf04a2c80a7b Mon Sep 17 00:00:00 2001 From: Alexander Bushnev Date: Thu, 19 Dec 2024 15:55:04 +0100 Subject: [PATCH] Adjust rpi_pico default stack size (#840) --- .github/workflows/rpi_pico.yaml | 2 ++ src/system/rpi_pico/system.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rpi_pico.yaml b/.github/workflows/rpi_pico.yaml index bf67c7965..ce09577e9 100644 --- a/.github/workflows/rpi_pico.yaml +++ b/.github/workflows/rpi_pico.yaml @@ -50,6 +50,8 @@ jobs: mkdir -p $FREERTOS_KERNEL_PATH cd $FREERTOS_KERNEL_PATH git clone https://github.com/FreeRTOS/FreeRTOS-Kernel.git . + # Some version witch aleready supports the Pico SDK but not the latest, because sometimes latest is broken + git checkout e169442c29ba8e26faf033cc0886029dd5812979 git submodule update --init - name: Build examples diff --git a/src/system/rpi_pico/system.c b/src/system/rpi_pico/system.c index 26f3b011a..c3b323483 100644 --- a/src/system/rpi_pico/system.c +++ b/src/system/rpi_pico/system.c @@ -72,7 +72,7 @@ static void z_task_wrapper(void *arg) { static z_task_attr_t z_default_task_attr = { .name = "", .priority = configMAX_PRIORITIES / 2, - .stack_depth = 5120, + .stack_depth = 1024, }; /*------------------ Thread ------------------*/