aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/icu_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-25 11:58:40 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-25 11:58:40 +0000
commitcced334724aec1f39d683adcda6984543095ba8c (patch)
treeb2b40c6c276399e2136228840985ca52145d5cac /os/hal/templates/icu_lld.h
parent9afc25656cf245314157c310847f100acb54597a (diff)
downloadChibiOS-cced334724aec1f39d683adcda6984543095ba8c.tar.gz
ChibiOS-cced334724aec1f39d683adcda6984543095ba8c.tar.bz2
ChibiOS-cced334724aec1f39d683adcda6984543095ba8c.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5318 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/icu_lld.h')
-rw-r--r--os/hal/templates/icu_lld.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/os/hal/templates/icu_lld.h b/os/hal/templates/icu_lld.h
index c245ed58c..b30733a43 100644
--- a/os/hal/templates/icu_lld.h
+++ b/os/hal/templates/icu_lld.h
@@ -43,6 +43,19 @@
/* Driver pre-compile time settings. */
/*===========================================================================*/
+/**
+ * @name Configuration options
+ * @{
+ */
+/**
+ * @brief ICU driver enable switch.
+ * @details If set to @p TRUE the support for ICU1 is included.
+ */
+#if !defined(PLATFORM_ICU_USE_ICU1) || defined(__DOXYGEN__)
+#define PLATFORM_ICU_USE_ICU1 FALSE
+#endif
+/** @} */
+
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/
@@ -125,6 +138,10 @@ struct ICUDriver {
/* External declarations. */
/*===========================================================================*/
+#if PLATFORM_ICU_USE_ICU1 && !defined(__DOXYGEN__)
+extern ICUDriver ICUD1;
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif