This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
[Bug 1001453] New: CAN IO package: wider flags field, flag to report return to 'error active' mode
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-patches at ecos dot sourceware dot org
- Date: Fri, 13 Jan 2012 16:15:46 +0000
- Subject: [Bug 1001453] New: CAN IO package: wider flags field, flag to report return to 'error active' mode
- Auto-submitted: auto-generated
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001453
Summary: CAN IO package: wider flags field, flag to report
return to 'error active' mode
Product: eCos
Version: CVS
Platform: All
OS/Version: Other
Status: UNCONFIRMED
Severity: enhancement
Priority: low
Component: Patches and contributions
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: bernard.fouche@kuantic.com
CC: ecos-patches@ecos.sourceware.org
Class: Advice Request
The CAN IO package reports events when the controller is downgraded to 'error
passive' or 'bus off'. It does not report an event when it gets back to 'error
active' mode: user code must poll the controller state to know about that
status change instead of being able to keep the event callback logic for
everything that concerns the CAN bus activity.
The patch changes the 'flags' field of 'can_event_t' to 32 bits and add a new
event in bit 16. The fields in 'can_event_t' are reordered to continue to
provide a 24 bytes CAN event on an ARM MCU even if 'flags' is wider, so the
operational cost is nil for such targets.
Patch also includes doc fix and an option to add/suppress compiler flags for
the package.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- Follow-Ups:
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode
- [Bug 1001453] CAN IO package: wider flags field, flag to report return to 'error active' mode