2020-08-14 15:50:26 +02:00
|
|
|
USEMODULE += uwb-core_dpl
|
|
|
|
USEMODULE += uwb-core_contrib
|
|
|
|
|
|
|
|
DEFAULT_MODULE += auto_init_uwb-core
|
|
|
|
|
|
|
|
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
|
|
|
|
ifneq (,$(filter uwb-core_twr_%,$(USEMODULE)))
|
|
|
|
USEMODULE += uwb-core_rng
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter uwb-core_rng,$(USEMODULE)))
|
|
|
|
USEMODULE += uwb-core_rng_math
|
|
|
|
USEMODULE += uwb-core_dsp
|
|
|
|
endif
|
|
|
|
|
2021-07-05 14:30:50 +02:00
|
|
|
ifneq (,$(filter uwb-core_dpl,$(USEMODULE)))
|
|
|
|
USEPKG += mynewt-core
|
|
|
|
USEMODULE += mynewt-core_os
|
2023-07-13 13:22:28 +02:00
|
|
|
# don't pull nrf53 into the list
|
|
|
|
ifneq (,$(filter nrf51 nrf52,$(CPU)))
|
2021-07-05 14:30:50 +02:00
|
|
|
USEMODULE += mynewt-core_nrf5x_hal
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2021-09-06 11:00:54 +02:00
|
|
|
ifneq (,$(filter uwb-core_event_thread,$(USEMODULE)))
|
|
|
|
USEMODULE += event_thread
|
|
|
|
endif
|
|
|
|
|
2021-12-15 13:51:14 +01:00
|
|
|
ifneq (,$(filter uwb-core_rng_json,$(USEMODULE)))
|
|
|
|
USEMODULE += fmt
|
|
|
|
endif
|
2020-08-14 15:50:26 +02:00
|
|
|
# Some stdlib functions used by the pkg are not in avr-gcc
|
|
|
|
FEATURES_BLACKLIST += arch_avr8
|
|
|
|
# uwb-core has specific compilation sources when compiling kernel
|
|
|
|
# libraries these introduce additional compilation issues that have not
|
|
|
|
# been addressed in this port
|
|
|
|
FEATURES_BLACKLIST += arch_native
|