1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/atwinc15x0/Makefile.dep

27 lines
859 B
Makefile
Raw Normal View History

USEMODULE += netdev_eth
2021-12-11 09:24:54 +01:00
USEMODULE += ztimer_msec
USEMODULE += netdev_legacy_api
ifeq (,$(filter atwinc15x0_dynamic_%,$(USEMODULE)))
# use static connect by default when no dynamic module is loaded
USEMODULE += atwinc15x0_static_connect
endif
ifneq (,$(filter atwinc15x0_dynamic_scan,$(USEMODULE)))
USEMODULE += wifi_scan_list
endif
ifneq (,$(filter atwinc15x0_static_connect,$(USEMODULE)))
USEMODULE += ztimer
endif
USEPKG += driver_atwinc15x0
FEATURES_REQUIRED += periph_gpio
FEATURES_REQUIRED += periph_gpio_irq
FEATURES_REQUIRED += periph_spi
2022-06-19 16:53:34 +02:00
# esp8266 and esp32 vendor code and atwinc15x0 both define conflicting
2022-06-19 16:53:34 +02:00
# spi_flash_{read, write} functions.
# esp8266 and esp32 already have build-in WiFi, so it's unlikely to ever
2022-06-19 16:53:34 +02:00
# use this driver - just blacklist the architecture.
FEATURES_BLACKLIST += arch_esp8266
FEATURES_BLACKLIST += arch_esp32