Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compiler library files
#1
Hi,
I am currently working on a Blackfin project, developing in VISUAL DSP++

I would like to bring this to MISRA, however if i use "include" files such as stdio.h or ccblkfn.h do they comply with MISRA?

I have tried to bring any include files into my local workspace so that logiscope can run through them aswell, this results in hundreds of violations from the files.

Can I claim MISRA compliance with these files? or is there an alternative route i.e. buying MISRA compliant librarys?

Thanks for any advice,

Matthew
<t></t>
Reply
#2
There's a whole stack of rules related to "standard" librarys (section 6.20)
is banned for production code.
But provided your other librarys comply with the rules and you obey the rules in section 6.20 then why should you not be able to clain compliance?
I guess you will have problems with rule 3.6!
However you can raise a deveation and document the facts about the compiler etc. and I guess still claim your code is compliant?
Rule 1.1 has some comments about low level code which may be relevant.
<t></t>
Reply
#3
Another question relating to library files for a PIC project.

Microchip header files for each processor i.e. p24HJ128GP504.h contains an awful lot of unions. And extern variables to source I won't have.
Will these files therefore me MISRA non-compliant, meaning i would have to define my own header file to map registers etc?

thanks for any advice,

Matt
<t></t>
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)