Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top