diff --git a/wireless/bluetooth/nimble/Kconfig b/wireless/bluetooth/nimble/Kconfig index 995ed2bb6..e72a01626 100644 --- a/wireless/bluetooth/nimble/Kconfig +++ b/wireless/bluetooth/nimble/Kconfig @@ -7,7 +7,11 @@ config NIMBLE host-layer stack. if NIMBLE - config NIMBLE_REF +config NIMBLE_STACKSIZE + int "nimble stack size" + default DEFAULT_TASK_STACKSIZE + +config NIMBLE_REF string "Version" default "cd8ab38c3da91b71dd428979153a408f38d3b02e" ---help--- diff --git a/wireless/bluetooth/nimble/Makefile b/wireless/bluetooth/nimble/Makefile index 743ccd2dc..f0b9fd7f6 100644 --- a/wireless/bluetooth/nimble/Makefile +++ b/wireless/bluetooth/nimble/Makefile @@ -21,7 +21,7 @@ include $(APPDIR)/Make.defs PRIORITY = 255 -STACKSIZE = 16384 +STACKSIZE = $(CONFIG_NIMBLE_STACKSIZE) NIMBLE_UNPACKDIR = mynewt-nimble NIMBLE_ROOT = $(APPDIR)/wireless/bluetooth/nimble/$(NIMBLE_UNPACKDIR)