stm32l4: enable USB OTG driver

This commit is contained in:
Manuel Bl
2020-10-18 17:10:55 +02:00
committed by Karl Palsson
parent 76c0a8c289
commit e9c94760e6
3 changed files with 3 additions and 1 deletions

View File

@@ -28,7 +28,7 @@
#include <libopencm3/usb/dwc/otg_common.h>
/* Memory map is required for USB_OTG_FS_BASE address */
#if defined(STM32F1) || defined(STM32F2) || defined(STM32F4)
#if defined(STM32F1) || defined(STM32F2) || defined(STM32F4) || defined(STM32L4)
# include <libopencm3/stm32/memorymap.h>
#elif defined(EFM32HG)
# include <libopencm3/efm32/memorymap.h>