Fixing compiler warnings

Adjusting toolchain files which compiler warnings to enable.

Fixing compiler warnings reported by Arm Clang and Arm GCC.

Change-Id: I715e875904ffd7ecfe994d3093cdf066373981b1
diff --git a/cmake/toolchain/arm-none-eabi-gcc.cmake b/cmake/toolchain/arm-none-eabi-gcc.cmake
index 1605f24..d37a3dc 100644
--- a/cmake/toolchain/arm-none-eabi-gcc.cmake
+++ b/cmake/toolchain/arm-none-eabi-gcc.cmake
@@ -84,18 +84,17 @@
 add_compile_options(
     -Wall
     -Wextra
-    -Wsign-compare
-    -Wunused
-    -Wswitch-default
-    -Wformat
+
+    -Wcast-align
     -Wdouble-promotion
+    -Wformat
+    -Wmissing-field-initializers
+    -Wnull-dereference
     -Wredundant-decls
     -Wshadow
-    -Wcast-align
-    -Wnull-dereference
-    -Wno-format-extra-args
-    -Wno-unused-function
-    -Wno-unused-parameter
-    -Wno-unused-label
-    -Wno-missing-field-initializers
-    -Wno-return-type)
+    -Wswitch
+    -Wswitch-default
+    -Wunused
+
+    -Wno-redundant-decls
+)
\ No newline at end of file