arduino / arduino/ArduinoCore-mbed

MBED SerialN UART drivers are unbuffered in transmit path

Open
#935 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
411
Forks
225
PR merge metrics
No merged PRs in 30d

Description

All MBED SerialN UART drivers are unbuffered in the transmit path, which means that they block pretty much all the time.
This is undesirable.

Related:
https://forum.arduino.cc/t/uart-serial-write-appears-to-be-blocking-arduino-mbed-rasberry-pi-pico/1290268
https://forum.arduino.cc/t/serialx-x-1-4-are-unbuffered-surprised/1178363
https://github.com/arduino/ArduinoCore-mbed/issues/272

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the MBED SerialN UART drivers and the related ArduinoCore-mbed issue and forum discussions linked here. Determine how their transmit paths behave; done would mean the transmit path is buffered so writes do not block as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.