diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-24 15:35:53 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-24 15:35:53 +0000 |
commit | 9708a3c30ff4ce1d95b3333b6be4375138a89be5 (patch) | |
tree | a8b3422730ceaa58c1b4edf54b3a1f66d505310d /os/hal/templates/ext_lld.h | |
parent | 9a1b57db6d7da73e6a1ae070de1835caaf276341 (diff) | |
download | ChibiOS-9708a3c30ff4ce1d95b3333b6be4375138a89be5.tar.gz ChibiOS-9708a3c30ff4ce1d95b3333b6be4375138a89be5.tar.bz2 ChibiOS-9708a3c30ff4ce1d95b3333b6be4375138a89be5.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5313 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/ext_lld.h')
-rw-r--r-- | os/hal/templates/ext_lld.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/os/hal/templates/ext_lld.h b/os/hal/templates/ext_lld.h index 5c4c4398a..d1f971713 100644 --- a/os/hal/templates/ext_lld.h +++ b/os/hal/templates/ext_lld.h @@ -44,6 +44,19 @@ /* Driver pre-compile time settings. */
/*===========================================================================*/
+/**
+ * @name Configuration options
+ * @{
+ */
+/**
+ * @brief EXT driver enable switch.
+ * @details If set to @p TRUE the support for EXT1 is included.
+ */
+#if !defined(PLATFORM_EXT_USE_EXT1) || defined(__DOXYGEN__)
+#define PLATFORM_EXT_USE_EXT1 FALSE
+#endif
+/** @} */
+
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/
@@ -117,7 +130,7 @@ struct EXTDriver { /* External declarations. */
/*===========================================================================*/
-#if !defined(__DOXYGEN__)
+#if PLATFORM_EXT_USE_EXT1 && !defined(__DOXYGEN__)
extern EXTDriver EXTD1;
#endif
|