2020-06-26 21:55:37 +02:00
|
|
|
USEMODULE += netdev_eth
|
2021-12-11 09:24:54 +01:00
|
|
|
USEMODULE += ztimer_msec
|
2022-08-09 14:58:36 +02:00
|
|
|
USEMODULE += netdev_legacy_api
|
2023-03-14 10:42:08 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-06-26 21:55:37 +02:00
|
|
|
USEPKG += driver_atwinc15x0
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
2022-06-19 16:53:34 +02:00
|
|
|
|
2022-06-23 23:24:15 +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.
|
2022-06-23 23:24:15 +02:00
|
|
|
# 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
|
2022-06-23 23:24:15 +02:00
|
|
|
FEATURES_BLACKLIST += arch_esp32
|