BeRTOS
Defines
cfg_sd.h File Reference

Configuration file Secure Digital module. More...

Go to the source code of this file.

Defines

#define SD_LOG_LEVEL   LOG_LVL_ERR
 Module logging level.
#define SD_LOG_FORMAT   LOG_FMT_VERBOSE
 Module logging format.
#define CONFIG_SD_AUTOASSIGN_FAT   1
 Enable autoassignment of SD driver to disk drive number 0 of FatFs module.
#define CONFIG_SD_OLD_INIT   1
 Enable backward compatibility for sd_init().

Detailed Description

Configuration file Secure Digital module.

Author:
Francesco Sacchi <batt@develer.com>

Definition in file cfg_sd.h.


Define Documentation

#define CONFIG_SD_OLD_INIT   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.

Definition at line 73 of file cfg_sd.h.