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.

[SOLVED] Suppressing a Misra Rule for a function or portion of code in IAR MSP430 IDE

Status
Not open for further replies.

ammamon

Newbie level 4
Newbie level 4
Joined
Jun 28, 2006
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,327
Is it possible to suppress a MISRA rule for a function or portion of code in IAR MSP430 IDE instead of applying the suppress for the whole module?

Please help.

Regards,
Ammamon
 

If you are using PC Lint to analyze the code, it is possible.

/*lint -e102, suppress error */

__CONFIG(INTIO & WDTEN & PWRTEN & MCLREN & BOREN & CP & IESODIS & FCMDIS & LVPDIS & DEBUGEN);
__CONFIG(BORV21 & WP2);

/*lint +e102 */
 

Thank you btbass. I will try using PC Lint.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top