tillitis-key/hw/application_fpga/fw/tk1
Michael Cardell Widerkrantz c443ef8a3e
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.
2023-03-22 11:05:32 +01:00
..
blake2s Rename to TK1 2022-10-26 09:20:02 +02:00
assert.c fw: clang-tidy and splint: New make target: check 2023-03-22 11:05:32 +01:00
assert.h fw: clang-tidy and splint: New make target: check 2023-03-22 11:05:32 +01:00
firmware.lds fw: load app at the start of RAM 2023-03-14 10:25:03 +01:00
led.c fw: Hide *led in led.c 2023-03-16 14:26:20 +01:00
led.h fw: Hide *led in led.c 2023-03-16 14:26:20 +01:00
lib.c fw: clang-tidy and splint: New make target: check 2023-03-22 11:05:32 +01:00
lib.h fw: clang-tidy and splint: New make target: check 2023-03-22 11:05:32 +01:00
main.c fw: clang-tidy and splint: New make target: check 2023-03-22 11:05:32 +01:00
Makefile fw: Move LED defines and function to own files 2023-03-14 10:25:01 +01:00
proto.c fw: clang-tidy and splint: New make target: check 2023-03-22 11:05:32 +01:00
proto.h fw: clang-tidy and splint: New make target: check 2023-03-22 11:05:32 +01:00
start.S fw: Init stack pointer to end of fw_ram 2023-03-14 11:31:48 +01:00
state.h fw: Simplify logic 2023-03-14 11:31:47 +01:00
types.h fw: Introduce an explicit state machine - changes protocol! 2022-11-28 16:17:19 +01:00