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

Kinsey Moore (@opticron) gitlab at rtems.org
Mon May 18 19:21:12 UTC 2026



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1252

Project:Branches: opticron/rtems:br6-zynq-uart-parity-fix to rtems/rtos/rtems:6
Author:   Kinsey Moore
Assignee: Kinsey Moore


## Summary

bsps/zynq-uart: fix parity configuration handling

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.

Updates #5554
Closes #5580


## Generative AI
See !1212 
<!-- 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/1252
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/20260518/13ce8683/attachment.htm>


More information about the bugs mailing list