Skip to content

Commit

Permalink
Adjust rpi_pico default stack size
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Dec 19, 2024
1 parent aa64a2e commit c9caba4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/rpi_pico.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 somtimes latest is broken
git checkout e169442c29ba8e26faf033cc0886029dd5812979
git submodule update --init
- name: Build examples
Expand Down
2 changes: 1 addition & 1 deletion src/system/rpi_pico/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ------------------*/
Expand Down

0 comments on commit c9caba4

Please sign in to comment.