Skip to content

Commit

Permalink
stm32/h7: Enabled DWC2-based USB support for the platform
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Aug 11, 2024
1 parent a1f47eb commit 869bba0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/stm32/h7/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ OBJS += timer_common_all.o
OBJS += usart_common_all.o usart_common_v2.o usart_common_fifos.o
OBJS += quadspi_common_v1.o

OBJS += usb.o usb_standard.o usb_control.o usb_msc.o
OBJS += usb_hid.o usb_bos.o usb_microsoft.o
OBJS += usb_audio.o usb_cdc.o usb_midi.o
OBJS += usb_dwc_common.o

VPATH += ../../usb:../:../../cm3:../common

include ../../Makefile.include
2 changes: 2 additions & 0 deletions lib/stm32/h7/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ libstm32h7 = static_library(
implicit_include_directories: false,
dependencies: [
stm32h7_cm3,
usb_common,
usb_stm32_dwc,
],
pic: false,
)
Expand Down

0 comments on commit 869bba0

Please sign in to comment.