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 c5342d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/zenoh-pico/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/*--- CMake generated config; pass values to CMake to change the following tokens ---*/
#define Z_FRAG_MAX_SIZE 4096
#define Z_BATCH_UNICAST_SIZE 2048
#define Z_BATCH_MULTICAST_SIZE 2048
#define Z_BATCH_MULTICAST_SIZE 8192
#define Z_CONFIG_SOCKET_TIMEOUT 100

/* #undef Z_FEATURE_UNSTABLE_API */
Expand All @@ -27,7 +27,7 @@
#define Z_FEATURE_SUBSCRIPTION 1
#define Z_FEATURE_QUERY 1
#define Z_FEATURE_QUERYABLE 1
#define Z_FEATURE_LIVELINESS 0
#define Z_FEATURE_LIVELINESS 1
#define Z_FEATURE_RAWETH_TRANSPORT 0
#define Z_FEATURE_INTEREST 1
#define Z_FEATURE_DYNAMIC_MEMORY_ALLOCATION 0
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 c5342d9

Please sign in to comment.