This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001453] New: CAN IO package: wider flags field, flag to reportreturn to 'error active' mode


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 the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]