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

SHIVAM DEOLANKAR (@D3athSkulll) gitlab at rtems.org
Mon Apr 20 23:50:01 UTC 2026



SHIVAM DEOLANKAR created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1212

Project:Branches: D3athSkulll/rtems:zynq-uart-parity-fix to rtems/rtos/rtems:main
Author:   SHIVAM DEOLANKAR



## Summary

Fix parity handling in zynq_uart_set_attributes() by clearing existing parity bits before setting a new mode instead of always ORing PAR_NONE, which caused incorrect or ignored parity; also fix inverted PARODD logic and add ZYNQ_UART_MODE_PAR_MASK to manage the parity field correctly.

Fixes #5554

## Generative AI

<!--If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->

<!--Default settings, if it is a dropdown it will set after submission-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1212
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/20260420/13c8c492/attachment.htm>


More information about the bugs mailing list