/** * \file * * * \brief Configuration file Secure Digital module. * * * \author Francesco Sacchi */ #ifndef CFG_SD_H #define CFG_SD_H /** * Module logging level. * * $WIZ$ type = "enum" * $WIZ$ value_list = "log_level" */ #define SD_LOG_LEVEL LOG_LVL_ERR /** * Module logging format. * * $WIZ$ type = "enum" * $WIZ$ value_list = "log_format" */ #define SD_LOG_FORMAT LOG_FMT_VERBOSE /** * Enable autoassignment of SD driver to disk drive number 0 of FatFs module. * $WIZ$ type = "boolean" * $WIZ$ conditional_deps = "fat" */ #define CONFIG_SD_AUTOASSIGN_FAT 1 /** * Enable backward compatibility for sd_init(). * If enabled, sd_init() will allocate internally an Sd context, * otherwise sd_init() will need the context to be passed explicitly. * * $WIZ$ type = "boolean" */ #define CONFIG_SD_OLD_INIT 1 #endif /* CFG_SD_H */