aboutsummaryrefslogtreecommitdiff
path: root/cmake/toolchain/arm-none-eabi-gcc.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/toolchain/arm-none-eabi-gcc.cmake')
-rw-r--r--cmake/toolchain/arm-none-eabi-gcc.cmake23
1 files changed, 11 insertions, 12 deletions
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 @@ endif()
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