From 4e98ee4b123bddd22448fef47e02009428bb5f41 Mon Sep 17 00:00:00 2001 From: barthess Date: Sun, 28 Jun 2015 22:22:01 +0300 Subject: Added -Wundef key into Makefiles --- testhal/STM32/STM32F1xx/onewire/Makefile | 4 ++-- testhal/STM32/STM32F1xx/onewire/halconf.h | 7 +++++++ testhal/STM32/STM32F1xx/onewire/halconf_community.h | 7 +++++++ 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'testhal/STM32/STM32F1xx') diff --git a/testhal/STM32/STM32F1xx/onewire/Makefile b/testhal/STM32/STM32F1xx/onewire/Makefile index 8875fd8..4e33419 100644 --- a/testhal/STM32/STM32F1xx/onewire/Makefile +++ b/testhal/STM32/STM32F1xx/onewire/Makefile @@ -175,10 +175,10 @@ AOPT = TOPT = -mthumb -DTHUMB # Define C warning options here -CWARN = -Wall -Wextra -Wstrict-prototypes +CWARN = -Wall -Wextra -Wstrict-prototypes -Wundef # Define C++ warning options here -CPPWARN = -Wall -Wextra +CPPWARN = -Wall -Wextra -Wundef # # Compiler settings diff --git a/testhal/STM32/STM32F1xx/onewire/halconf.h b/testhal/STM32/STM32F1xx/onewire/halconf.h index 6d7df57..0ecf5be 100644 --- a/testhal/STM32/STM32F1xx/onewire/halconf.h +++ b/testhal/STM32/STM32F1xx/onewire/halconf.h @@ -44,6 +44,13 @@ #define HAL_USE_ADC FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC FALSE +#endif + /** * @brief Enables the CAN subsystem. */ diff --git a/testhal/STM32/STM32F1xx/onewire/halconf_community.h b/testhal/STM32/STM32F1xx/onewire/halconf_community.h index 7f037ec..e90257b 100644 --- a/testhal/STM32/STM32F1xx/onewire/halconf_community.h +++ b/testhal/STM32/STM32F1xx/onewire/halconf_community.h @@ -38,6 +38,13 @@ #define HAL_USE_ONEWIRE TRUE #endif +/** + * @brief Enables the EICU subsystem. + */ +#if !defined(HAL_USE_EICU) || defined(__DOXYGEN__) +#define HAL_USE_EICU FALSE +#endif + /*===========================================================================*/ /* FSMCNAND driver related settings. */ /*===========================================================================*/ -- cgit v1.2.3