Skip to content

Commit 17ba88c

Browse files
committed
cpu/esp32/esp-idf/usb: migration to ESP-IDF v5.4
1 parent 14d1e57 commit 17ba88c

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

cpu/esp32/esp-idf/usb/Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@ MODULE = esp_idf_usb
22

33
# source files to be compiled for this module
44
ESP32_SDK_SRC = \
5-
components/hal/usb_hal.c \
6-
components/hal/usb_phy_hal.c \
7-
components/soc/$(CPU_FAM)/usb_periph.c \
8-
components/soc/$(CPU_FAM)/usb_phy_periph.c \
5+
components/hal/usb_dwc_hal.c \
6+
components/hal/usb_wrap_hal.c \
7+
components/soc/$(CPU_FAM)/usb_dwc_periph.c \
98
components/usb/usb_phy.c \
109
#
1110

11+
ifeq (esp32s3,$(CPU_FAM))
12+
ESP32_SDK_SRC += components/hal/usb_serial_jtag_hal.c
13+
endif
14+
1215
include $(RIOTBASE)/Makefile.base
1316

1417
ESP32_SDK_BIN = $(BINDIR)/$(MODULE)

0 commit comments

Comments
 (0)