You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using an STM32F4 board as a serial passthrough for programming other STM32 microprocessors. The buffer sizes set in the cdc_queue.h file are too small to allow for this application. Is there a way to set the two relevant parameters (CDC_TRANSMIT_QUEUE_BUFFER_SIZE and CDC_RECEIVE_QUEUE_BUFFER_SIZE) from the .ino sketch without modifying the library?
The text was updated successfully, but these errors were encountered:
Hi,
You can try to override it using build_opt.h but basically it is not allowed to redefine it as it is not protected by #ifndef so you should have a warning about redefinition and hope the one in build_opt will be used but I guess it should be safe for you to change it in the core.
I'm using an STM32F4 board as a serial passthrough for programming other STM32 microprocessors. The buffer sizes set in the cdc_queue.h file are too small to allow for this application. Is there a way to set the two relevant parameters (CDC_TRANSMIT_QUEUE_BUFFER_SIZE and CDC_RECEIVE_QUEUE_BUFFER_SIZE) from the .ino sketch without modifying the library?
The text was updated successfully, but these errors were encountered: