usb/dwc: Enable the STM32H7 in the DWC2 support

This commit is contained in:
dragonmux
2024-04-10 05:30:04 +01:00
committed by Piotr Esden-Tempski
parent 903720f6dc
commit 24cdca8101

View File

@@ -28,7 +28,7 @@
#include <libopencm3/usb/dwc/otg_common.h> #include <libopencm3/usb/dwc/otg_common.h>
/* Memory map is required for USB_OTG_HS_BASE address */ /* Memory map is required for USB_OTG_HS_BASE address */
#if defined(STM32F2) || defined(STM32F4) || defined(STM32F7) #if defined(STM32F2) || defined(STM32F4) || defined(STM32F7) || defined(STM32H7)
# include <libopencm3/stm32/memorymap.h> # include <libopencm3/stm32/memorymap.h>
#else #else
# error "device family not supported by dwc/otg_hs." # error "device family not supported by dwc/otg_hs."