RTEMS | bsps/arm/tms570: fix misnamed LIN/SCI interrupt macro names (!1296)
Avi Weiss (@thnkslprpt)
gitlab at rtems.org
Tue Jun 9 08:43:42 UTC 2026
Avi Weiss created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1296
Project:Branches: thnkslprpt/rtems:fix-5618-lin-sci-header-macro-cleanup to rtems/rtos/rtems:main
Author: Avi Weiss
## Summary
Fixes #5618
The generated LIN/SCI headers have some misnamed interrupt macros.
`CLEARINTLVL` bit 8 was auto-generated with a generic name:
```c
TMS570_LIN_CLEARINTLVL_8
TMS570_SCI_CLEARINTLVL_8
```
This MR updates them to semantic TX interrupt level clear names:
`TMS570_LIN_CLEARINTLVL_CLR_TX_INT_LVL`
`TMS570_SCI_CLEARINTLVL_CLR_TX_INT_LVL`
Bit 25 is the overrun-error interrupt bit, but some macros used `CE` instead of `OE`.
This updates to use `OE` consistently.
Also removes the duplicated `*_CLEARINTLVL_CLR_CE_INT_LVL` definition in both headers.
Tested on TMS570LC4357 LaunchPad XL and validated.
<!-- 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/1296
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/20260609/c1903c87/attachment.htm>
More information about the bugs
mailing list