Update sd project.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 6 Sep 2011 08:44:08 +0000 (08:44 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 6 Sep 2011 08:44:08 +0000 (08:44 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5022 38d2e660-2303-0410-9eaa-f027e97ec537

boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_sd.h
boards/at91sam7x-ek/examples/sd_fat/sd_fat.mk

index a91df59f4cda3e4c808799dfa90f794cb8d447b4..8d4a7ad3260d42a8dd0450c620906d3b79508abc 100644 (file)
  */
 #define CONFIG_SD_AUTOASSIGN_FAT   1
 
+/**
+ * SD bus mode.
+ *
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "sd_mode"
+ */
+#define CONFIG_SD_MODE     SD_SPI_MODE
+
 /**
  * Enable backward compatibility for sd_init().
  * If enabled, sd_init() will allocate internally an Sd context,
index 5a25ccc049d2fbb8f651284797dbbc0fb785643e..7e4a5897ee34a3fa30b1dfb578fb63f75e299757 100644 (file)
@@ -37,6 +37,7 @@ sd_fat_WIZARD_CSRC = \
        bertos/struct/kfile_fifo.c \
        bertos/mware/formatwr.c \
        bertos/drv/sd.c \
+       bertos/drv/sd_spi.c \
        bertos/io/kblock.c \
        bertos/mware/event.c \
        bertos/cpu/arm/drv/sysirq_at91.c \