Is your feature request related to a problem? Please describe.
For a project I'm working on, I need to be able to have full HID parity with an existing device. For this, I need the ability to change CFG_TUD_HID_EP_BUFSIZE from 64 to 32. If I don't have any easy way to change the CFG_TUD_HID_EP_BUFSIZE define, I'd have to require builders to go in and manually edit src/arduino/ports/*/tusb_config.h to redefine CFG_TUD_HID_EP_BUFSIZE to 32.
Describe the solution you'd like
Add guards/ifdef checks for CFG_TUD_HID_EP_BUFSIZE (and preferably CFG_TUD_ENDPOINT0_SIZE as well), so these values can easily be changed. With these changes, there also needs to be a static check for CFG_TUD_ENDPOINT0_SIZE >= CFG_TUD_HID_EP_BUFSIZE afaik.
Additional context

Is your feature request related to a problem? Please describe.
For a project I'm working on, I need to be able to have full HID parity with an existing device. For this, I need the ability to change
CFG_TUD_HID_EP_BUFSIZEfrom64to32. If I don't have any easy way to change theCFG_TUD_HID_EP_BUFSIZEdefine, I'd have to require builders to go in and manually editsrc/arduino/ports/*/tusb_config.hto redefineCFG_TUD_HID_EP_BUFSIZEto32.Describe the solution you'd like
Add guards/ifdef checks for
CFG_TUD_HID_EP_BUFSIZE(and preferablyCFG_TUD_ENDPOINT0_SIZEas well), so these values can easily be changed. With these changes, there also needs to be a static check forCFG_TUD_ENDPOINT0_SIZE >= CFG_TUD_HID_EP_BUFSIZEafaik.Additional context