Pumpkin, Inc.

Pumpkin User Forums

ICCAVR v8 MISRA errors on freeware salvo

If you have a general question or comment regarding Salvo, post it here.

ICCAVR v8 MISRA errors on freeware salvo

Postby jccordill » Fri Apr 01, 2011 9:50 am

Using the new Imagecraft c compiler, v8.02.2, I'm getting MISRA compiler errors on Salvo OS calls. Since I'm using the freeware or tiny versions of the library and don't have access to the source code, this may be some thing in a macro, I'm not sure. The code works so it's not a show stopper. I've managed to clean up all other references to misra errors but these. -Jim

ex./ C:\DOCUME~1\Desk..... test.c|36|[warning] [MISRA 2360]bitwise operator in conditional expression|

code snippet:
ClrBit(PORTD, Solanoid); //solanoid denergized
PCMSK2 = 0x74; //enable breath det
OS_WaitBinSem(BINSEM_BREATH_DET_P,100); <-- line generating MISRA error above
if (!OSTimedOut()) //
Posts: 5
Joined: Mon Dec 06, 2010 12:20 pm

Re: ICCAVR v8 MISRA errors on freeware salvo

Postby aek » Fri Apr 01, 2011 11:55 am

Hi Jim.

Yes, there are some items that MISRA doesn't like.

Please email me and I'll send you the MISRA compliance matrix of Salvo v3.
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests