What is the c/c++ coding standard follwed in SYS/BIOS. Can I mix up the other standards such as MISRA C? Any document is there to go through to understand the style-guide better?
Regards,
Pratap
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
There is a DSP/BIOS coding convention document (SPRA788), and then there are RTSC coding conventions. These two sources mainly agree, but the first document is more comprehensive.
Sasha,
I cannot open the link "DSP/BIOS coding convention document " (SPRA788) . Pls send another one.
Regards,
Prat
It probably means that the document is not supposed to be publicly available. I guess it's because it's not updated since 2002. Can you check if you are looking for something that RTSC Coding Standards don't specify, and if there is, let me know?
Prat,
This documentation on DSP/BIOS Language Coding Standards is similar what Sasha linked.
Is this what you're looking for?
Prat,
Actually, Sasha had it right the first time: the coding standard that SYS/BIOS adheres to is the RTSC Coding Conventions at:
http://rtsc.eclipse.org/docs-tip/RTSC_Coding_Conventions
This supersedes any other document that anyone can point you to, and is in fact the authoritative source. If you have any questions understanding it, please let us know and we'll be happy to help.
Dave
Can I mix up the said standard with others say, MISRA C/C++ 1998/2004?
What precaution shall I take. These are, I feel, some of the things that should be thought of in the beginning of the project development and have impact on the system reliability and stability.
Can anybody comment on this?
Regards,
Prat