mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
27 lines
856 B
Makefile
27 lines
856 B
Makefile
USEMODULE += netdev_eth
|
|
USEMODULE += ztimer_msec
|
|
USEMODULE += netdev_new_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
|
|
|
|
# esp8266 and esp32 vendor code and atwinc15x0 both define conflicting
|
|
# spi_flash_{read, write} functions.
|
|
# esp8266 and esp32 already have build-in WiFi, so it's unlikely to ever
|
|
# use this driver - just blacklist the architecture.
|
|
FEATURES_BLACKLIST += arch_esp8266
|
|
FEATURES_BLACKLIST += arch_esp32
|