aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 15:44:49 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 15:44:49 +0000
commit894e11f8f781dc17ff729acfddc4db1a3091951f (patch)
tree56356f9c1f8f55ae09b58f844f81850dd76079f3 /demos
parent03ee1dcc181977a44af9a43906fb1d41055ab713 (diff)
downloadChibiOS-894e11f8f781dc17ff729acfddc4db1a3091951f.tar.gz
ChibiOS-894e11f8f781dc17ff729acfddc4db1a3091951f.tar.bz2
ChibiOS-894e11f8f781dc17ff729acfddc4db1a3091951f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1396 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARMCM3-STM32F103-FATFS-GCC/halconf.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F103-FATFS-GCC/halconf.h b/demos/ARMCM3-STM32F103-FATFS-GCC/halconf.h
index 94136ff29..6fb0e97fa 100644
--- a/demos/ARMCM3-STM32F103-FATFS-GCC/halconf.h
+++ b/demos/ARMCM3-STM32F103-FATFS-GCC/halconf.h
@@ -20,10 +20,18 @@
/**
* @file templates/halconf.h
* @brief HAL configuration header.
- * @addtogroup HAL
+ * @addtogroup HAL_CONF
* @{
*/
+/*
+ * HAL configuration file, this file allows to enable or disable the various
+ * device drivers from your application. You may also use this file in order
+ * to change the device drivers settings found in the low level drivers
+ * headers, just define here the new settings and those will override the
+ * defaults defined in the LLD headers.
+ */
+
#ifndef _HALCONF_H_
#define _HALCONF_H_
@@ -56,6 +64,13 @@
#endif
/**
+ * @brief Enables the PWM subsystem.
+ */
+#if !defined(CH_HAL_USE_PWM) || defined(__DOXYGEN__)
+#define CH_HAL_USE_PWM FALSE
+#endif
+
+/**
* @brief Enables the SERIAL subsystem.
*/
#if !defined(CH_HAL_USE_SERIAL) || defined(__DOXYGEN__)