Re: Source code for CAN Implementations



In article <slrnf9s0qg.jre.usenet@xxxxxxxxxxxxxxxx>, Urs Beeli <usenet@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes
On Wed, 18 Jul 2007 12:00:18 GMT dathome wrote:

"Urs Beeli" <usenet@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:slrnf9rv41.jre.usenet@xxxxxxxxxxxxxxxxxxx
I've got to disagree somewhat with the comments regarding how good the
Vector drivers were with particular reference to the coding standards used.
They were littered with continue and break statements as well as having
bunches of code that was compiled dependant on #defines. Not at all MISRA-C
compliant despite being for vehicle platforms! Additionally the footprint
was way bigger than necessary occupying about 8-9k on a 16bit micro.

Fair enough. As we were using CANopen in a non security critical environment
MISRA-C and SIL2 were not something we cared about greatly :)

Why not use MISRA-C anyway?
Once you are using it there is no overhead.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@xxxxxxxxxxxx www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



.