mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-05 13:14:19 -04:00
fw: clang-tidy and splint: New make target: check
Add clang-tidy and splint static analytics check. For now, we use only the cert-* warnings on clang-tidy and run splint with a lot of flags to allow more things. Changes to silence these analytics: - Stop returning stuff from our debug print functions. We don't check them anyway and we don't have any way of detecting transmission failure. - Declare more things static that isn't used outside of a file. - Change types to be more consistent, typically to size_t or something or to uint32_t.
This commit is contained in:
parent
f622937918
commit
c443ef8a3e
8 changed files with 70 additions and 51 deletions
|
@ -7,8 +7,8 @@
|
|||
#include "led.h"
|
||||
#include "lib.h"
|
||||
|
||||
void assert_fail(const char *assertion, const char *file,
|
||||
unsigned int line, const char *function)
|
||||
void assert_fail(const char *assertion, const char *file, unsigned int line,
|
||||
const char *function)
|
||||
{
|
||||
htif_puts("assert: ");
|
||||
htif_puts(assertion);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue