1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/esp32c3-wemos-mini/Makefile.dep
Marian Buschsieweke 77dfc7e2a5
boards/esp32*: move saul_gpio dep to board level
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.
2024-05-22 13:38:33 +02:00

15 lines
377 B
Makefile

ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
USEMODULE += stdio_usb_serial_jtag
endif
ifeq (,$(filter esp32c3_wemos_mini_v%,$(USEMODULE)))
# use Wemos ESP32-C3 min version V2.1.0 by default
USEMODULE += esp32c3_wemos_mini_v2_1_0
endif
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
endif
include $(RIOTBOARD)/common/esp32c3/Makefile.dep