From cced334724aec1f39d683adcda6984543095ba8c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 25 Feb 2013 11:58:40 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5318 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/templates/icu_lld.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'os/hal/templates/icu_lld.h') 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 -- cgit v1.2.3