My tusb_config.h has this in it - not sure if I inherited it from somewhere or added it myself:Ie. if you don't support hubs then no point having more than one, but if you do then you need more.
Code:
// max device support (excluding hub device)#define CFG_TUH_DEVICE_MAX (CFG_TUH_HUB ? 4 : 1) // hub typically has 4 ports
Statistics: Posted by arg001 — Sat Nov 16, 2024 5:35 pm