Skip to content

Commit 772c1c6

Browse files
Raffael Rostagnomarekmatej
Raffael Rostagno
authored andcommitted
usb_otg: Add support for esp32s3
Add LL files for USB-OTG peripheral support for S3. Signed-off-by: Raffael Rostagno <[email protected]>
1 parent d44b26a commit 772c1c6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

zephyr/esp32s3/CMakeLists.txt

+12
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,18 @@ if(CONFIG_SOC_SERIES_ESP32S3)
217217
)
218218
endif()
219219

220+
if (CONFIG_UDC_DWC2)
221+
zephyr_include_directories(
222+
../../components/usb/include
223+
)
224+
225+
zephyr_sources(
226+
../../components/driver/gpio/gpio.c
227+
../../components/driver/gpio/rtc_io.c
228+
../../components/hal/usb_wrap_hal.c
229+
)
230+
endif()
231+
220232
zephyr_sources_ifdef(
221233
CONFIG_DMA_ESP32
222234
../../components/soc/lldesc.c

0 commit comments

Comments
 (0)