Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UART RX fifo not thread safe #99

Open
gabonator opened this issue Dec 21, 2022 · 0 comments
Open

UART RX fifo not thread safe #99

gabonator opened this issue Dec 21, 2022 · 0 comments

Comments

@gabonator
Copy link
Owner

need to implement some locking mechanism, sometimes it drops a byte in uart monitor (at random intervals, approx. every 2-100kb)

  • RingBuffer<uint8_t, 300> mUartBuffer
  • BIOS::GPIO::UART::Available()
  • BIOS::GPIO::UART::Read()
  • ::UartPushByte()

Also it would be a nice feature if the uart ringbuffer could be overridden by client app for providing larger buffers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant