This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[SOLVED]BULK_BUFFER_SIZE

I would like to understand how to set the parameter BULK_BUFFER_SIZE in the USB BULK.

The comment below is not clear to me. Thanks.

//*****************************************************************************
//
// The size of the transmit and receive buffers used. 256 is chosen pretty
// much at random though the buffer should be at least twice the size of
// a maximum-sized USB packet.
//
//*****************************************************************************
#define BULK_BUFFER_SIZE  XX