refactor ftdi driver

This commit is contained in:
hathach
2023-04-27 15:20:04 +07:00
parent 293a6222f8
commit 85d9925d24
2 changed files with 307 additions and 163 deletions

View File

@@ -440,10 +440,15 @@
#endif
#ifndef CFG_TUH_CDC_FTDI
// FTDI is not part of CDC class, CDC is used for Serial-over-USB here
// FTDI is not part of CDC class, only to re-use CDC driver API
#define CFG_TUH_CDC_FTDI 0
#endif
#ifndef CFG_TUH_CDC_CP210X
// CP210X is not part of CDC class, only to re-use CDC driver API
#define CFG_TUH_CDC_CP210X 0
#endif
#ifndef CFG_TUH_HID
#define CFG_TUH_HID 0
#endif