From: asterix Date: Mon, 5 Sep 2011 15:47:27 +0000 (+0000) Subject: Add configuration mode flag. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d1857758a00392eaf10ff36ecd7a80f18ba41075;p=bertos.git Add configuration mode flag. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5019 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_sd.h b/bertos/cfg/cfg_sd.h index 8c40f827..ac2abb1d 100644 --- a/bertos/cfg/cfg_sd.h +++ b/bertos/cfg/cfg_sd.h @@ -63,6 +63,14 @@ */ #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,