RTEMS | bsps/zynq-uart: fix parity configuration handling (!1212)

SHIVAM DEOLANKAR (@D3athSkulll) gitlab at rtems.org
Wed Apr 22 02:39:30 UTC 2026




SHIVAM DEOLANKAR commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1212#note_148879


The logic issues in previous implmentation is rectified here

Earlier we tried to keep no parity first. then tried to add ODD or EVEN using OR operator and also mixed up the ODD and EVEN logic. In turn this combined multiple values. Thus UART ignored parity settings showing incorrect behaviour.

New logic clears old parity bits and sets exactly one mode. NO, ODD, EVEN. and thus correct behaviour should be observed logically

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1212#note_148879
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260422/c83735d3/attachment-0001.htm>


More information about the bugs mailing list