1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-20 12:03:52 +01:00
RIOT/cpu/esp32/esp-idf/usb/Makefile
2025-05-28 17:50:41 +02:00

21 lines
446 B
Makefile

MODULE = esp_idf_usb
# source files to be compiled for this module
ESP32_SDK_SRC = \
components/hal/usb_dwc_hal.c \
components/hal/usb_wrap_hal.c \
components/soc/$(CPU_FAM)/usb_dwc_periph.c \
components/usb/usb_phy.c \
#
ifeq (esp32s3,$(CPU_FAM))
ESP32_SDK_SRC += components/hal/usb_serial_jtag_hal.c
endif
include $(RIOTBASE)/Makefile.base
ESP32_SDK_BIN = $(BINDIR)/$(MODULE)
include ../esp_idf.mk
include ../esp_idf_cflags.mk