added dcd_sof_enable(), tud_sof_isr_set()

make number of interface configurable (default to 8)
CFG_TUD_INTERFACE_MAX
This commit is contained in:
hathach
2022-03-07 23:03:37 +07:00
parent ce60e98f6d
commit 707a633de3
4 changed files with 41 additions and 2 deletions

View File

@@ -287,6 +287,10 @@
#define CFG_TUD_ENDPOINT0_SIZE 64
#endif
#ifndef CFG_TUD_INTERFACE_MAX
#define CFG_TUD_INTERFACE_MAX 8
#endif
#ifndef CFG_TUD_CDC
#define CFG_TUD_CDC 0
#endif