Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6405

SDK • Re: tinyUSB TX Fifo size

$
0
0
No an ideal solution to modify the SDK obviously.
Perhaps consider something like this as the best modification -

Code:

#ifdef SLAMMERS_TX_BUFSIZE    #define CFG_TUD_CDC_TX_BUFSIZE  (SLAMMERS_TX_BUFSIZE)#else    #define CFG_TUD_CDC_TX_BUFSIZE  (256)#endif
Then you should be able to specify that within your 'CMakeLists.txt' -

Code:

target_compile_definitions(${PROJECT_NAME} PRIVATE SLAMMERS_TX_BUFSIZE=1024)
But good to hear you have solved your issue, proved it was what you thought it was.

Statistics: Posted by hippy — Tue Jan 30, 2024 10:25 pm



Viewing all articles
Browse latest Browse all 6405

Trending Articles