cancel
Showing results for 
Search instead for 
Did you mean: 

STM8S/A standard lib source code can't meet MISRA C 2004 rules

CGang.1
Associate

Hello, I use STM8AF as MCU, and the project is ASIL B level with functional safety. I downloader the STM8S/A standard driver, I apply MISRA C 2004 as rule to check the project. Oh, I forget to told the IDE, we use IAR for STM8. And we build the project, if no MISRA C check, the project can build success, but with MISRA C check failed every time. the standard file not meet MISRA C 2004, 1-1, 5-1, 8-10, 10-1, 12-4, 14-3, 14-8, 14-10, 16-8, 17-4, 18-4, 19-10;

Do there have one version for functional safety lib?

Thank you.

0 REPLIES 0