Remove `-Wno-error=array-bounds` from several build configurations (#28835)
* Remove -Wno-error=array-bounds from nlfaultinjection library
* Remove some array-bounds from esp32 as well: nlfaultinjection should be fixed separately
* Remove nlfaultinjection as a submodule, add only relevant files with patch for gcc12 support.
* Restyle
* Update a few more include paths for nlfaultinjection
* exclude nlfaultinjection from clangtidy
* Restyle
* Apply clang-tidy fixes to nlfaultinjection.cpp
diff --git a/scripts/examples/tests/test_project.json b/scripts/examples/tests/test_project.json
index dbaf96a..d15f2ab 100644
--- a/scripts/examples/tests/test_project.json
+++ b/scripts/examples/tests/test_project.json
@@ -88,7 +88,7 @@
"//config/standalone/",
"//third_party/nlassert/repo/include/",
"//third_party/nlio/repo/include/",
- "//third_party/nlfaultinjection/repo/include/",
+ "//third_party/nlfaultinjection/include/",
"//third_party/nlunit-test/repo/src/"
],
"ldflags": ["-march=armv8-a", "-O0"],