RTEMS | bsps/shared/dev/can/ctucanfd/ctucanfd.c: Error frame bug fixes (!1360)

Avi Weiss (@thnkslprpt) gitlab at rtems.org
Wed Jul 22 00:34:26 UTC 2026



Avi Weiss created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1360

Project:Branches: thnkslprpt/rtems:fix-5654-ctu-can-fd-bug-fix to rtems/rtos/rtems:main
Author:   Avi Weiss



## Summary

bsps/shared/dev/can/ctucanfd/ctucanfd.c: correct CAN error frame bug

The RX overflow handling uses CAN_ERR_ID_LOSTARB, which is an
err_frame.header.can_id mask, as an err_frame.data index.

Correct it to use CAN_ERR_DATA_BYTE_TRX_CTRL as intended.


## 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/1360
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-e11nn425y2751xdfb8g8os2oj-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260722/607e358f/attachment.htm>


More information about the bugs mailing list