mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 05:53:49 +01:00
17 lines
438 B
Makefile
17 lines
438 B
Makefile
USEMODULE += boards_common_esp32
|
|
|
|
# enables esp_eth as default network device
|
|
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
|
USEMODULE += esp_eth
|
|
endif
|
|
|
|
# saul_gpio does conflict eth, as the only SAUL enabled GPIO is the boot button.
|
|
# But that GPIO doubles as phy clock input.
|
|
ifneq (,$(filter esp_eth,$(USEMODULE)))
|
|
DISABLE_MODULE += saul_gpio
|
|
endif
|
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
DEFAULT_MODULE += saul_gpio
|
|
endif
|