aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorutzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-09 21:05:09 +0000
committerutzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-09 21:05:09 +0000
commit82c16dccd407e9150745f8622044b6438c124f2b (patch)
tree1b39edc31ed8c2656732c9da7aa78aa81fee01c9 /demos
parent9970f28cb9a705c7b502c4cf95f2dffb39b7164f (diff)
downloadChibiOS-82c16dccd407e9150745f8622044b6438c124f2b.tar.gz
ChibiOS-82c16dccd407e9150745f8622044b6438c124f2b.tar.bz2
ChibiOS-82c16dccd407e9150745f8622044b6438c124f2b.zip
[AVR] add DAC HAL options to disable annoying warning
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5944 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/AVR-AT90CANx-GCC/halconf.h7
-rw-r--r--demos/AVR-ATmega128-GCC/halconf.h7
-rw-r--r--demos/AVR-Arduino-GCC/halconf.h7
-rw-r--r--demos/AVR-ArduinoMega-GCC/halconf.h7
4 files changed, 28 insertions, 0 deletions
diff --git a/demos/AVR-AT90CANx-GCC/halconf.h b/demos/AVR-AT90CANx-GCC/halconf.h
index 3858828e6..ce9115bfe 100644
--- a/demos/AVR-AT90CANx-GCC/halconf.h
+++ b/demos/AVR-AT90CANx-GCC/halconf.h
@@ -52,6 +52,13 @@
#endif
/**
+ * @brief Enables the DAC subsystem.
+ */
+#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
+#define HAL_USE_DAC FALSE
+#endif
+
+/**
* @brief Enables the CAN subsystem.
*/
#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
diff --git a/demos/AVR-ATmega128-GCC/halconf.h b/demos/AVR-ATmega128-GCC/halconf.h
index 3858828e6..ce9115bfe 100644
--- a/demos/AVR-ATmega128-GCC/halconf.h
+++ b/demos/AVR-ATmega128-GCC/halconf.h
@@ -52,6 +52,13 @@
#endif
/**
+ * @brief Enables the DAC subsystem.
+ */
+#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
+#define HAL_USE_DAC FALSE
+#endif
+
+/**
* @brief Enables the CAN subsystem.
*/
#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
diff --git a/demos/AVR-Arduino-GCC/halconf.h b/demos/AVR-Arduino-GCC/halconf.h
index 3858828e6..ce9115bfe 100644
--- a/demos/AVR-Arduino-GCC/halconf.h
+++ b/demos/AVR-Arduino-GCC/halconf.h
@@ -52,6 +52,13 @@
#endif
/**
+ * @brief Enables the DAC subsystem.
+ */
+#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
+#define HAL_USE_DAC FALSE
+#endif
+
+/**
* @brief Enables the CAN subsystem.
*/
#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
diff --git a/demos/AVR-ArduinoMega-GCC/halconf.h b/demos/AVR-ArduinoMega-GCC/halconf.h
index 3858828e6..ce9115bfe 100644
--- a/demos/AVR-ArduinoMega-GCC/halconf.h
+++ b/demos/AVR-ArduinoMega-GCC/halconf.h
@@ -52,6 +52,13 @@
#endif
/**
+ * @brief Enables the DAC subsystem.
+ */
+#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
+#define HAL_USE_DAC FALSE
+#endif
+
+/**
* @brief Enables the CAN subsystem.
*/
#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)