Skip to content

Commit c484aae

Browse files
authored
Merge pull request #3247 from hathach/fsdev_fix
Fix AT32 compile after #3152
2 parents 841cac6 + cf6cbf0 commit c484aae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/portable/st/stm32_fsdev/fsdev_at32.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,14 @@
3636
#endif
3737

3838
#define FSDEV_PMA_SIZE (512u)
39+
#define FSDEV_USE_SBUF_ISO 0
3940
#define FSDEV_REG_BASE (APB1PERIPH_BASE + 0x00005C00UL)
4041
#define FSDEV_PMA_BASE (APB1PERIPH_BASE + 0x00006000UL)
4142

43+
#ifndef CFG_TUD_FSDEV_DOUBLE_BUFFERED_ISO_EP
44+
#define CFG_TUD_FSDEV_DOUBLE_BUFFERED_ISO_EP 0
45+
#endif
46+
4247
/**************************** ISTR interrupt events *************************/
4348
#define USB_ISTR_CTR ((uint16_t)0x8000U) /*!< Correct TRansfer (clear-only bit) */
4449
#define USB_ISTR_PMAOVR ((uint16_t)0x4000U) /*!< DMA OVeR/underrun (clear-only bit) */

0 commit comments

Comments
 (0)