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
 

bobcat1

Advanced Member level 4
Joined
Jul 10, 2002
Messages
1,288
Helped
99
Reputation
198
Reaction score
34
Trophy points
1,328
Activity points
8,547
Re: coding guidelines

here is a good c style coding


enjoy



bobi
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
880
Reaction score
287
Trophy points
1,363
Location
Oberon
Activity points
12,863
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.
 

Eternauta

Junior Member level 2
Joined
Oct 9, 2003
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
212
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
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top