aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/AVR
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-03-17 09:03:27 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-03-17 09:03:27 +0000
commit5806f29b87e6d94957c907de200e6cdbe49aea78 (patch)
treea5916c512460bf0fa9bb1293870d7ef1d5146637 /testhal/AVR
parent946ea7eb8ee1d136933321a84e96d23324342c73 (diff)
downloadChibiOS-5806f29b87e6d94957c907de200e6cdbe49aea78.tar.gz
ChibiOS-5806f29b87e6d94957c907de200e6cdbe49aea78.tar.bz2
ChibiOS-5806f29b87e6d94957c907de200e6cdbe49aea78.zip
New halconf.h template.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11788 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/AVR')
-rw-r--r--testhal/AVR/MEGA/ADC/halconf.h7
-rw-r--r--testhal/AVR/MEGA/EXT/halconf.h7
-rw-r--r--testhal/AVR/MEGA/GPT/halconf.h7
-rw-r--r--testhal/AVR/MEGA/I2C/halconf.h7
-rw-r--r--testhal/AVR/MEGA/ICU/halconf.h7
-rw-r--r--testhal/AVR/MEGA/PWM/halconf.h7
-rw-r--r--testhal/AVR/MEGA/SPI/halconf.h7
-rw-r--r--testhal/AVR/XMEGA/SERIAL/halconf.h7
-rw-r--r--testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h7
-rw-r--r--testhal/AVR/XMEGA/USART/halconf.h7
-rw-r--r--testhal/AVR/XMEGA/WDT/halconf.h7
-rw-r--r--testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h7
-rw-r--r--testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h7
-rw-r--r--testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h7
-rw-r--r--testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h7
15 files changed, 105 insertions, 0 deletions
diff --git a/testhal/AVR/MEGA/ADC/halconf.h b/testhal/AVR/MEGA/ADC/halconf.h
index d316d48df..3ba396470 100644
--- a/testhal/AVR/MEGA/ADC/halconf.h
+++ b/testhal/AVR/MEGA/ADC/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/MEGA/EXT/halconf.h b/testhal/AVR/MEGA/EXT/halconf.h
index a2b257d00..5e28c6680 100644
--- a/testhal/AVR/MEGA/EXT/halconf.h
+++ b/testhal/AVR/MEGA/EXT/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/MEGA/GPT/halconf.h b/testhal/AVR/MEGA/GPT/halconf.h
index 35fecac12..9956e76a6 100644
--- a/testhal/AVR/MEGA/GPT/halconf.h
+++ b/testhal/AVR/MEGA/GPT/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/MEGA/I2C/halconf.h b/testhal/AVR/MEGA/I2C/halconf.h
index f8b72e11e..27816d917 100644
--- a/testhal/AVR/MEGA/I2C/halconf.h
+++ b/testhal/AVR/MEGA/I2C/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/MEGA/ICU/halconf.h b/testhal/AVR/MEGA/ICU/halconf.h
index 04e289ffc..b3cac4bf3 100644
--- a/testhal/AVR/MEGA/ICU/halconf.h
+++ b/testhal/AVR/MEGA/ICU/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/MEGA/PWM/halconf.h b/testhal/AVR/MEGA/PWM/halconf.h
index ec81c4da3..0612a21ac 100644
--- a/testhal/AVR/MEGA/PWM/halconf.h
+++ b/testhal/AVR/MEGA/PWM/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/MEGA/SPI/halconf.h b/testhal/AVR/MEGA/SPI/halconf.h
index 02dd0b6ea..360aa6965 100644
--- a/testhal/AVR/MEGA/SPI/halconf.h
+++ b/testhal/AVR/MEGA/SPI/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/XMEGA/SERIAL/halconf.h b/testhal/AVR/XMEGA/SERIAL/halconf.h
index 8d1b79823..6e5569097 100644
--- a/testhal/AVR/XMEGA/SERIAL/halconf.h
+++ b/testhal/AVR/XMEGA/SERIAL/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h b/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h
index 8d1b79823..6e5569097 100644
--- a/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h
+++ b/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/XMEGA/USART/halconf.h b/testhal/AVR/XMEGA/USART/halconf.h
index f251d703e..6d234d11f 100644
--- a/testhal/AVR/XMEGA/USART/halconf.h
+++ b/testhal/AVR/XMEGA/USART/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/XMEGA/WDT/halconf.h b/testhal/AVR/XMEGA/WDT/halconf.h
index 9fa7881e9..0928035e4 100644
--- a/testhal/AVR/XMEGA/WDT/halconf.h
+++ b/testhal/AVR/XMEGA/WDT/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h
index 8d1b79823..6e5569097 100644
--- a/testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h
index 8d1b79823..6e5569097 100644
--- a/testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h
index 8d1b79823..6e5569097 100644
--- a/testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h
index 8d1b79823..6e5569097 100644
--- a/testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h
@@ -238,6 +238,13 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/