mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
Merge pull request #14236 from haukepetersen/opt_nimble_hostpriowhenunsingnetif
pkg/nimble/netif: set host thread prio to 1
This commit is contained in:
commit
d059715448
@ -82,6 +82,12 @@ endif
|
||||
ifneq (,$(filter nimble_netif,$(USEMODULE)))
|
||||
INCLUDES += -I$(RIOTPKG)/nimble/netif/include
|
||||
|
||||
# when using IP, the host should have a higher prio than the netif thread, but
|
||||
# MUST always have a lower priority then the controller thread. Setting it to
|
||||
# controller prio plus will guarantee the latter while also matching the first
|
||||
# condition as long as the default netif prio is not changed.
|
||||
CFLAGS += -DNIMBLE_HOST_PRIO="(NIMBLE_CONTROLLER_PRIO + 1)"
|
||||
|
||||
# configure NimBLE's internals
|
||||
NIMBLE_MAX_CONN ?= 3
|
||||
CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_SIZE=264
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user