does DAVE4 GCC Compiler support MISRA

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DenniesChu
Employee
Employee
Hi All,

I saw our XMC™ Lib support CMSIS / MISRA 2004-compliant low level driver library for peripherals (APIs).
But does our DAVE4 GCC compiler support it?

Best Regards,
Dennies Chu
0 Likes
1 Reply
Not applicable
DenniesChu wrote:
Hi All,

I saw our XMC™ Lib support CMSIS / MISRA 2004-compliant low level driver library for peripherals (APIs).
But does our DAVE4 GCC compiler support it?

Best Regards,
Dennies Chu



It's not a matter of the c-compiler. gcc compiles all valid c-code and some gcc-extensions.
MISRA-C:2012 rules are based on C99 standard. As far as you use C99 only statemants and follow the MISRA rules, gcc will do the job.

Heinz
0 Likes