2018-05-24 11:36:20 +02:00
|
|
|
# RIOT specific dependencies
|
|
|
|
USEMODULE += posix_semaphore
|
|
|
|
USEMODULE += event_callback
|
|
|
|
USEMODULE += xtimer
|
|
|
|
|
|
|
|
# glue code
|
|
|
|
USEMODULE += nimble_riot_contrib
|
|
|
|
|
2019-02-22 13:55:16 +01:00
|
|
|
# RIOT port
|
2018-05-24 11:36:20 +02:00
|
|
|
USEMODULE += nimble_porting_nimble
|
|
|
|
USEMODULE += nimble_npl_riot
|
|
|
|
|
2019-02-22 13:55:16 +01:00
|
|
|
# if nothing else is specified, we build the host and controller
|
|
|
|
ifeq (,$(filter nimble_host nimble_controller,$(USEMODULE)))
|
|
|
|
USEMODULE += nimble_host
|
|
|
|
USEMODULE += nimble_controller
|
|
|
|
endif
|
|
|
|
|
|
|
|
# include host dependencies
|
|
|
|
ifneq (,$(filter nimble_host,$(USEMODULE)))
|
|
|
|
USEMODULE += nimble_host_util
|
|
|
|
USEMODULE += nimble_tinycrypt
|
|
|
|
USEMODULE += nimble_host_store_ram
|
|
|
|
endif
|
|
|
|
|
|
|
|
# nimble controller dependencies
|
|
|
|
ifneq (,$(filter nimble_controller,$(USEMODULE)))
|
|
|
|
USEMODULE += nimble_transport_ram
|
|
|
|
ifeq (nrf52,$(CPU_FAM))
|
|
|
|
USEMODULE += nimble_drivers_nrf52
|
|
|
|
endif
|
2018-05-24 11:36:20 +02:00
|
|
|
endif
|