S32 SDK MISRA-C: 2012 compliancy

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32 SDK MISRA-C: 2012 compliancy

Jump to solution
2,249 Views
d_shivamkumar
Contributor III

I am trying to run static analysis on my application running on S32K144 (with SDK). I've read that the SDK is MISRA-C: 2012 compliant, but when I'm trying to run static analysis I'm getting so many violations that are there in the SDK.

 

Please guide me on what went wrong!!

Labels (1)
0 Kudos
Reply
1 Solution
2,223 Views
hungnguyenphi
NXP Employee
NXP Employee

Hello @d_shivamkumar ,

 

I would like to answer your question. The SDK driver is MISRA-C: 2012 compliant, but we also document in the user manual that the driver still contains Violations of MISRA C 2012. It also has a comment/justification on top of each source/header file. Please see below picture for more information.

hungnguyenphi_0-1635739829675.png

 

Best regards,

Hung

View solution in original post

1 Reply
2,224 Views
hungnguyenphi
NXP Employee
NXP Employee

Hello @d_shivamkumar ,

 

I would like to answer your question. The SDK driver is MISRA-C: 2012 compliant, but we also document in the user manual that the driver still contains Violations of MISRA C 2012. It also has a comment/justification on top of each source/header file. Please see below picture for more information.

hungnguyenphi_0-1635739829675.png

 

Best regards,

Hung