From ebe1fc90275ac41841f23cc3daaab87cc914eb6b Mon Sep 17 00:00:00 2001 From: Michael Cardell Widerkrantz Date: Thu, 10 Apr 2025 16:20:44 +0200 Subject: [PATCH] fw: Change splint config - Now uses at least some of the standard libraries like stdlib.h, stddef.h, et cetera. - Include LIBDIR headers. - Disregard some warnings globally. --- hw/application_fpga/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hw/application_fpga/Makefile b/hw/application_fpga/Makefile index fa715e0..e7ab9f4 100644 --- a/hw/application_fpga/Makefile +++ b/hw/application_fpga/Makefile @@ -222,7 +222,7 @@ check: .PHONY: splint splint: splint \ - -nolib \ + +unixlib \ -predboolint \ +boolint \ -nullpass \ @@ -233,6 +233,12 @@ splint: -unreachable \ -unqualifiedtrans \ -fullinitblock \ + +gnuextensions \ + -fixedformalarray \ + -mustfreeonly \ + -I $(LIBDIR)/include \ + -I $(LIBDIR) \ + -I $(LIBDIR)/blake2s \ $(CHECK_SOURCES) testfw.elf: tkey-libs $(TESTFW_OBJS) $(P)/fw/tk1/firmware.lds