Minor cleanup of usb. Template driver for STM32F107 added.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#define LIBOPENCM3_OTG_FS_H
|
||||
|
||||
#include <libopencm3/stm32/memorymap.h>
|
||||
#include <libopencm3/common.h>
|
||||
#include <libopencm3/cm3/common.h>
|
||||
|
||||
/* Core Global Control and Status Registers */
|
||||
#define OTG_FS_OTGCTL MMIO32(USB_OTG_FS_BASE + 0x000)
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
typedef struct _usbd_driver usbd_driver;
|
||||
extern const usbd_driver stm32f103_usb_driver;
|
||||
extern const usbd_driver stm32f107_usb_driver;
|
||||
|
||||
/* Static buffer for control transactions:
|
||||
* This is defined as weak in the library, applicaiton
|
||||
|
||||
Reference in New Issue
Block a user