mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
883d138e1c
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
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
|
|
|
|
ifneq (,$(filter uwb-core_dpl,$(USEMODULE)))
|
|
USEPKG += mynewt-core
|
|
USEMODULE += mynewt-core_os
|
|
# don't pull nrf53 into the list
|
|
ifneq (,$(filter nrf51 nrf52,$(CPU)))
|
|
USEMODULE += mynewt-core_nrf5x_hal
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(filter uwb-core_event_thread,$(USEMODULE)))
|
|
USEMODULE += event_thread
|
|
endif
|
|
|
|
ifneq (,$(filter uwb-core_rng_json,$(USEMODULE)))
|
|
USEMODULE += fmt
|
|
endif
|
|
# 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
|