From d8914f064fe735890156a1e39f80ece9d9ee39f1 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 27 Feb 2013 15:57:45 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5337 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/PPC-SPC563M-GCC/halconf.h | 2 +- demos/PPC-SPC563M-GCC/mcuconf.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'demos/PPC-SPC563M-GCC') diff --git a/demos/PPC-SPC563M-GCC/halconf.h b/demos/PPC-SPC563M-GCC/halconf.h index 9bff08736..a9d890562 100644 --- a/demos/PPC-SPC563M-GCC/halconf.h +++ b/demos/PPC-SPC563M-GCC/halconf.h @@ -52,7 +52,7 @@ * @brief Enables the ADC subsystem. */ #if !defined(HAL_USE_ADC) || defined(__DOXYGEN__) -#define HAL_USE_ADC FALSE +#define HAL_USE_ADC TRUE #endif /** diff --git a/demos/PPC-SPC563M-GCC/mcuconf.h b/demos/PPC-SPC563M-GCC/mcuconf.h index 77f9ab2e8..da2b259e9 100644 --- a/demos/PPC-SPC563M-GCC/mcuconf.h +++ b/demos/PPC-SPC563M-GCC/mcuconf.h @@ -42,6 +42,11 @@ BIUCR_PFLIM_ON_MISS | \ BIUCR_BFEN) +/* + * ADC driver settings. + */ +#define SPC5_ADC_USE_EQADC_Q0 TRUE + /* * SERIAL driver system settings. */ -- cgit v1.2.3