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.
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
|
|
# Use stdio_usb_serial_jtag if no other stdio is requested explicitly
|
|
# and neither USBUS nor tinyusb_device are used
|
|
USEMODULE += stdio_usb_serial_jtag
|
|
# Even if only stdio_usb_serial_jtag is enabled, usb_board_reset is enabled
|
|
# since there should be a CDC ACM interface in any case. This is necessary,
|
|
# for example, to reset the board if stdio_cdc_acm or stdio_tinyusb_cdc_acm
|
|
# was previously used.
|
|
USEMODULE += usb_board_reset
|
|
# include $(RIOTMAKE)/tools/usb_board_reset.mk
|
|
endif
|
|
|
|
include $(RIOTBOARD)/common/esp32s3/Makefile.dep
|
|
include $(RIOTBOARD)/common/makefiles/stdio_cdc_acm.dep.mk
|
|
|
|
# default to using fatfs on SD card
|
|
ifneq (,$(filter vfs_default,$(USEMODULE)))
|
|
USEMODULE += fatfs_vfs
|
|
USEMODULE += mtd
|
|
endif
|
|
|
|
ifneq (,$(filter mtd,$(USEMODULE)))
|
|
USEMODULE += mtd_sdcard_default
|
|
endif
|
|
|
|
ifneq (,$(filter disp_dev,$(USEMODULE)))
|
|
USEMODULE += st7796
|
|
endif
|
|
|
|
ifneq (,$(filter st7796,$(USEMODULE)))
|
|
USEMODULE += lcd_parallel
|
|
USEMODULE += lcd_parallel_ll_mcu
|
|
endif
|
|
|
|
ifneq (,$(filter touch_dev,$(USEMODULE)))
|
|
USEMODULE += ft5x06
|
|
endif
|
|
|
|
ifneq (,$(filter periph_i2c,$(USEMODULE)))
|
|
USEMODULE += esp_i2c_hw
|
|
endif
|
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
USEMODULE += saul_gpio
|
|
endif
|