enabled stricter warnings and improved error handling in eeproms

This commit is contained in:
2025-07-15 18:54:44 +02:00
parent f4bf8e1d62
commit bb45b99e8a
11 changed files with 296 additions and 135 deletions

View File

@@ -40,6 +40,10 @@ fn addEngineSources(b: *std.Build, opts: LibBuildOpts) *std.Build.Module {
.flags = &.{
if(opts.baremetal) "-DNN_BAREMETAL" else "",
if(opts.bit32) "-DNN_BIT32" else "",
"-Wall",
"-Werror",
"-std=gnu23",
"-Wno-keyword-macro", // cuz bools
},
});