mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
77dfc7e2a5
The ESP32 Ethernet Kit has only a single GPIO pin exposed to SAUL via `saul_gpio`, but that GPIO doubles as PHY clock input when `esp32_eth` is used. Hence, the `saul_gpio` dep should be optional and only kick in when `esp32_eth` is not used.
24 lines
531 B
Makefile
24 lines
531 B
Makefile
ifneq (,$(filter esp32s2-lilygo-ttgo-t8-usb,$(USEMODULE)))
|
|
include $(RIOTBOARD)/common/makefiles/stdio_cdc_acm.dep.mk
|
|
endif
|
|
|
|
ifneq (,$(filter mtd,$(USEMODULE)))
|
|
USEMODULE += mtd_sdcard_default
|
|
endif
|
|
|
|
# default to using fatfs on SD card
|
|
ifneq (,$(filter vfs_default,$(USEMODULE)))
|
|
USEMODULE += fatfs_vfs
|
|
USEMODULE += mtd
|
|
endif
|
|
|
|
ifneq (,$(filter disp_dev,$(USEMODULE)))
|
|
USEMODULE += st7789
|
|
endif
|
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
USEMODULE += saul_gpio
|
|
endif
|
|
|
|
include $(RIOTBOARD)/common/esp32s2/Makefile.dep
|