aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/KINETIS
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/KINETIS')
-rw-r--r--testhal/KINETIS/ADC/Makefile4
-rw-r--r--testhal/KINETIS/I2C/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/testhal/KINETIS/ADC/Makefile b/testhal/KINETIS/ADC/Makefile
index 4250684cf..23716dd01 100644
--- a/testhal/KINETIS/ADC/Makefile
+++ b/testhal/KINETIS/ADC/Makefile
@@ -169,10 +169,10 @@ AOPT =
TOPT = -mthumb -DTHUMB
# Define C warning options here
-CWARN = -Wall -Wextra -Wstrict-prototypes
+CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes
# Define C++ warning options here
-CPPWARN = -Wall -Wextra
+CPPWARN = -Wall -Wextra -Wundef
#
# Compiler settings
diff --git a/testhal/KINETIS/I2C/Makefile b/testhal/KINETIS/I2C/Makefile
index 1d3773012..db19ef2f4 100644
--- a/testhal/KINETIS/I2C/Makefile
+++ b/testhal/KINETIS/I2C/Makefile
@@ -170,10 +170,10 @@ AOPT =
TOPT = -mthumb -DTHUMB
# Define C warning options here
-CWARN = -Wall -Wextra -Wstrict-prototypes
+CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes
# Define C++ warning options here
-CPPWARN = -Wall -Wextra
+CPPWARN = -Wall -Wextra -Wundef
#
# Compiler settings