projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix and update the template prj.
[bertos.git]
/
boards
/
sam3n-ek
/
templates
/
sam3n-ek_empty
/
cfg
/
cfg_sd.h
diff --git
a/boards/sam3n-ek/templates/sam3n-ek_empty/cfg/cfg_sd.h
b/boards/sam3n-ek/templates/sam3n-ek_empty/cfg/cfg_sd.h
index 8c40f827113d4abca74f04d5aae8c2cae601c211..ac2abb1d39ffd67ac2567ac79f9555b68961485d 100644
(file)
--- a/
boards/sam3n-ek/templates/sam3n-ek_empty/cfg/cfg_sd.h
+++ b/
boards/sam3n-ek/templates/sam3n-ek_empty/cfg/cfg_sd.h
@@
-63,6
+63,14
@@
*/
#define CONFIG_SD_AUTOASSIGN_FAT 1
*/
#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,
/**
* Enable backward compatibility for sd_init().
* If enabled, sd_init() will allocate internally an Sd context,