coding guidelines to be followed when writing c program

Status
Not open for further replies.

snsriram79

Member level 4
Joined
May 8, 2001
Messages
71
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
513
coding guidelines

can any1 post me coding guidelines to be followed when writing c program in embbedded........is there any standards to be followed............i would also appreciate if you can send me sum info on memory mapping stuff

10q
sriram
 

Re: coding guidelines

here is a good c style coding


enjoy



bobi
 

Look up MISRA, the 'Motor Industries Software Reliability Association' It is a list of rules to be followed for reliable software. Get a Version of 'LINT' and set it up to check for MISRA rules.
Then do static analysis on your code.
 

Re: coding guidelines

Take a look at the Firmware Standard Manual from embedded muse Ganssle in attachment, he wrote also a lot of good articles on commenting, test memory, etc
www.ganssle.com

/ Files deleted. Use this link instead: www.ganssle.com/misc/fsm.doc
 

C Coding Standard
Jean J. Labrosse
**broken link removed**
**broken link removed**
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…