stm32duino / Arduino_Core_STM32

STM32 core support for Arduino
https://github.com/stm32duino/Arduino_Core_STM32/wiki
Other
2.86k stars 979 forks source link

Specify `SERIAL_RX_BUFFER_SIZE` or similar define #2459

Closed zfields closed 4 months ago

zfields commented 4 months ago

SERIAL_RX_BUFFER_SIZE is a define from the legacy Arduino Cores.

We use it to optimize large serial transfers, and it would be nice to see it specified in the Arduino_Core_STM32.

If you have a different / similar approach, that would also be very helpful.

fpistm commented 4 months ago

Hi @zfields

it is documented in the wiki: https://github.com/stm32duino/Arduino_Core_STM32/wiki/Custom-definitions#serial-rxtx-buffer-size

A simple search point to it.

zfields commented 4 months ago

I tried to search for SERIAL_RX_BUFFER_SIZE against the repo, and it didn't return as a result, which is why I raised the issue.

I guess I had a typo, because now it works. :shrug:

Sorry for the trouble.