diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-30 23:43:06 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-30 23:56:21 -0600 |
commit | a3ddac4e4e52aac6865276755164abe72835a97b (patch) | |
tree | 39358934d8779f4218e65583a44fb3a2b1d44a7f /cmd/sbc_harness | |
parent | 191c5ae0cde0b753eaa6d4e9074ddab465933700 (diff) |
wip stack analysis
Diffstat (limited to 'cmd/sbc_harness')
-rw-r--r-- | cmd/sbc_harness/CMakeLists.txt | 1 | ||||
-rw-r--r-- | cmd/sbc_harness/config/config.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cmd/sbc_harness/CMakeLists.txt b/cmd/sbc_harness/CMakeLists.txt index dbc7f24..d59e2b5 100644 --- a/cmd/sbc_harness/CMakeLists.txt +++ b/cmd/sbc_harness/CMakeLists.txt @@ -20,6 +20,7 @@ target_link_libraries(sbc_harness #libdhcp libhw ) +target_compile_options(sbc_harness PUBLIC "-fcallgraph-info=su,da") pico_enable_stdio_usb(sbc_harness 0) pico_enable_stdio_uart(sbc_harness 1) diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h index 9e016bf..5ee8634 100644 --- a/cmd/sbc_harness/config/config.h +++ b/cmd/sbc_harness/config/config.h @@ -47,7 +47,7 @@ /* COROUTINE ******************************************************************/ -#define CONFIG_COROUTINE_DEFAULT_STACK_SIZE (32*1024) +#define CONFIG_COROUTINE_DEFAULT_STACK_SIZE 512 #define CONFIG_COROUTINE_MEASURE_STACK 1 /* bool */ #define CONFIG_COROUTINE_PROTECT_STACK 1 /* bool */ #define CONFIG_COROUTINE_DEBUG 0 /* bool */ |