diff --git a/lib/stm32/h7/Makefile b/lib/stm32/h7/Makefile index 46d2d03752..d9ec979371 100644 --- a/lib/stm32/h7/Makefile +++ b/lib/stm32/h7/Makefile @@ -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 diff --git a/lib/stm32/h7/meson.build b/lib/stm32/h7/meson.build index 89e6185dcc..a2542a47c6 100644 --- a/lib/stm32/h7/meson.build +++ b/lib/stm32/h7/meson.build @@ -74,6 +74,8 @@ libstm32h7 = static_library( implicit_include_directories: false, dependencies: [ stm32h7_cm3, + usb_common, + usb_stm32_dwc, ], pic: false, )