mirror of
https://github.com/hathach/tinyusb.git
synced 2026-02-05 17:25:41 +00:00
Merge pull request #3247 from hathach/fsdev_fix
Fix AT32 compile after #3152
This commit is contained in:
@ -36,9 +36,14 @@
|
||||
#endif
|
||||
|
||||
#define FSDEV_PMA_SIZE (512u)
|
||||
#define FSDEV_USE_SBUF_ISO 0
|
||||
#define FSDEV_REG_BASE (APB1PERIPH_BASE + 0x00005C00UL)
|
||||
#define FSDEV_PMA_BASE (APB1PERIPH_BASE + 0x00006000UL)
|
||||
|
||||
#ifndef CFG_TUD_FSDEV_DOUBLE_BUFFERED_ISO_EP
|
||||
#define CFG_TUD_FSDEV_DOUBLE_BUFFERED_ISO_EP 0
|
||||
#endif
|
||||
|
||||
/**************************** ISTR interrupt events *************************/
|
||||
#define USB_ISTR_CTR ((uint16_t)0x8000U) /*!< Correct TRansfer (clear-only bit) */
|
||||
#define USB_ISTR_PMAOVR ((uint16_t)0x4000U) /*!< DMA OVeR/underrun (clear-only bit) */
|
||||
|
||||
Reference in New Issue
Block a user