From d1857758a00392eaf10ff36ecd7a80f18ba41075 Mon Sep 17 00:00:00 2001 From: asterix Date: Mon, 5 Sep 2011 15:47:27 +0000 Subject: [PATCH] Add configuration mode flag. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5019 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_sd.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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, -- 2.25.1