diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-05-14 05:24:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-05-14 05:24:10 +0000 |
commit | 8af2607871d3a2f5bc92ce9fb095a23d7adab27b (patch) | |
tree | a2b4dd9433a284d7c972b5f23face2552e3e442a /demos/ARMCM0-LPC1114-LPCXPRESSO | |
parent | 44f0f5de70fcba3065397317b153170169824989 (diff) | |
download | ChibiOS-8af2607871d3a2f5bc92ce9fb095a23d7adab27b.tar.gz ChibiOS-8af2607871d3a2f5bc92ce9fb095a23d7adab27b.tar.bz2 ChibiOS-8af2607871d3a2f5bc92ce9fb095a23d7adab27b.zip |
Updated HAL configuration files with SDC driver settings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2953 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM0-LPC1114-LPCXPRESSO')
-rw-r--r-- | demos/ARMCM0-LPC1114-LPCXPRESSO/halconf.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/demos/ARMCM0-LPC1114-LPCXPRESSO/halconf.h b/demos/ARMCM0-LPC1114-LPCXPRESSO/halconf.h index 73e7227c9..e26ce86df 100644 --- a/demos/ARMCM0-LPC1114-LPCXPRESSO/halconf.h +++ b/demos/ARMCM0-LPC1114-LPCXPRESSO/halconf.h @@ -243,6 +243,36 @@ /*===========================================================================*/
/*===========================================================================*/
+/* SDC driver related settings. */
+/*===========================================================================*/
+/**
+ * @brief Number of initialization attempts before rejecting the card.
+ * @note Attempts are performed at 10mS intevals.
+ */
+#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
+#define SDC_INIT_RETRY 100
+#endif
+
+/**
+ * @brief Include support for MMC cards.
+ * @note MMC support is not yet implemented so this option must be kept
+ * at @p FALSE.
+ */
+#if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__)
+#define SDC_MMC_SUPPORT FALSE
+#endif
+
+/**
+ * @brief Delays insertions.
+ * @details If enabled this options inserts delays into the MMC waiting
+ * routines releasing some extra CPU time for the threads with
+ * lower priority, this may slow down the driver a bit however.
+ */
+#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__)
+#define SDC_NICE_WAITING TRUE
+#endif
+
+/*===========================================================================*/
/* SERIAL driver related settings. */
/*===========================================================================*/
|