stm32f7: added USB OTG FS/HS
Originally tracked at https://github.com/libopencm3/libopencm3/pull/958 While it doesn't work for everyone, this is clearly the basic first steps required for any progress to be made. Reviewed-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
committed by
Karl Palsson
parent
5d393b17a3
commit
c49b4d35c2
@@ -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) || defined(STM32L4)
|
||||
#if defined(STM32F1) || defined(STM32F2) || defined(STM32F4) || defined(STM32F7) || defined(STM32L4)
|
||||
# include <libopencm3/stm32/memorymap.h>
|
||||
#elif defined(EFM32HG)
|
||||
# include <libopencm3/efm32/memorymap.h>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <libopencm3/usb/dwc/otg_common.h>
|
||||
|
||||
/* Memory map is required for USB_OTG_HS_BASE address */
|
||||
#if defined(STM32F2) || defined(STM32F4)
|
||||
#if defined(STM32F2) || defined(STM32F4) || defined(STM32F7)
|
||||
# include <libopencm3/stm32/memorymap.h>
|
||||
#else
|
||||
# error "device family not supported by dwc/otg_hs."
|
||||
|
||||
Reference in New Issue
Block a user