Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RT-1000-356: add parameter for configuring size of the provisioning thread stack #4

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions subsys/net/lib/nrf_provisioning/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ config NRF_PROVISIONING_TX_BUF_SZ
int "TX buffer size"
default 2048

config NRF_PROVISIONING_STACK_SIZE
int "Provisioning thread stack size"
default 2048

config NRF_PROVISIONING_JWT_SEC_TAG
int "Provision Service's security tag, private Device Identity key used by default"
default 0
Expand Down
2 changes: 1 addition & 1 deletion subsys/net/lib/nrf_provisioning/src/nrf_provisioning.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ int nrf_provisioning_req(void)
return ret;
}

#define NRF_PROVISIONING_STACK_SIZE 3072
#define NRF_PROVISIONING_STACK_SIZE CONFIG_NRF_PROVISIONING_STACK_SIZE
#define NRF_PROVISIONING_PRIORITY 5

K_THREAD_DEFINE(nrf_provisioning, NRF_PROVISIONING_STACK_SIZE,
Expand Down