Pages: [1]   Go Down
Author Topic: Automated Arduino coding style & error checking?  (Read 484 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 2
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have been wondering for a while why there are no tools to check Arduino code for common mistakes and errors.

Some ideas:

Coding style:
Arduino traps & tips:

Maybe it could be interesting to start from cpplint (Google c++ coding style checker) and make a style checking tool for Arduino?

Or maybe it could be interesting to see what Arduino can learn/use from MISRA-C?

Does anyone know about AVR Libc tools that offer similar features?
« Last Edit: October 24, 2013, 09:48:27 am by doggenj » Logged

Offline Offline
Edison Member
Karma: 33
Posts: 1468
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It is called the compiler.

Lint might be good, if it works with C++.

We could switch to clang, which has better error messages.

Pages: [1]   Go Up
Jump to: