#4236 closed defect (fixed)

bsps/zynq: termios not working correctly for stdin

Reported by: Jan Sommer Owned by: Jan Sommer <jan.sommer@…>
Priority: normal Milestone: 5.2
Component: bsps Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The termios test application does not work correctly for Zynq based BSPs.
Also scanf and similar functions reading from stdin do return immediately and do not block as expected.

The console driver has been fixed in master. This should be backported to 5.x.

Change History (2)

comment:1 Changed on Mar 9, 2021 at 8:30:07 AM by Kinsey Moore <kinsey.moore@…>

In 2f32370/rtems:

zynq-uart: Fix set_attributes implementation

The zynq-uart set_attributes implementation was configured to always
return false which causes spconsole01 to fail. This restores the
disabled implementation which sets the baud rate registers
appropriately and allows spconsole01 to pass. This also expands the
set_attributes functionality to allow setting of the stop bits,
character width, and parity.

Updates #4236

comment:2 Changed on Mar 9, 2021 at 8:30:38 AM by Jan Sommer <jan.sommer@…>

Owner: set to Jan Sommer <jan.sommer@…>
Resolution: fixed
Status: newclosed

In 645dbc5/rtems:

bsps/shared: Allow setting baud rate for zynq uart

Closes #4236

Note: See TracTickets for help on using tickets.