diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-06-13 10:24:42 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-06-13 10:24:42 +0000 |
commit | 952b0dc3fdb9db9055a67958135aca3046fd9249 (patch) | |
tree | 832c945265561b4cf1e0d2bf8c60db26a6b37716 /demos/various/RT-Win32-Simulator | |
parent | 07abb12be83bb896d5dcbce8397f90d1f40f0a95 (diff) | |
download | ChibiOS-952b0dc3fdb9db9055a67958135aca3046fd9249.tar.gz ChibiOS-952b0dc3fdb9db9055a67958135aca3046fd9249.tar.bz2 ChibiOS-952b0dc3fdb9db9055a67958135aca3046fd9249.zip |
Updated all makefiles by adding -Wundef.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8029 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/various/RT-Win32-Simulator')
-rw-r--r-- | demos/various/RT-Win32-Simulator/Makefile | 2 | ||||
-rw-r--r-- | demos/various/RT-Win32-Simulator/halconf.h | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/demos/various/RT-Win32-Simulator/Makefile b/demos/various/RT-Win32-Simulator/Makefile index ca25fd0d9..0164f138d 100644 --- a/demos/various/RT-Win32-Simulator/Makefile +++ b/demos/various/RT-Win32-Simulator/Makefile @@ -108,7 +108,7 @@ LIBS = $(DLIBS) $(ULIBS) LDFLAGS = -Wl,-Map=$(PROJECT).map,--cref,--no-warn-mismatch $(LIBDIR)
ASFLAGS = -Wa,-amhls=$(<:.s=.lst) $(ADEFS)
-CPFLAGS = -Wall -Wextra -Wstrict-prototypes -fverbose-asm -Wa,-alms=$(<:.c=.lst) $(DEFS)
+CPFLAGS = -Wall -Wextra -Wundef -Wstrict-prototypes -fverbose-asm -Wa,-alms=$(<:.c=.lst) $(DEFS)
# Generate dependency information
CPFLAGS += -MD -MP -MF .dep/$(@F).d
diff --git a/demos/various/RT-Win32-Simulator/halconf.h b/demos/various/RT-Win32-Simulator/halconf.h index 5b55d8fcf..73766ec0d 100644 --- a/demos/various/RT-Win32-Simulator/halconf.h +++ b/demos/various/RT-Win32-Simulator/halconf.h @@ -87,6 +87,13 @@ #endif
/**
+ * @brief Enables the I2S subsystem.
+ */
+#if !defined(HAL_USE_I2S) || defined(__DOXYGEN__)
+#define HAL_USE_I2S FALSE
+#endif
+
+/**
* @brief Enables the ICU subsystem.
*/
#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)
|