X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7s-ek%2Ftemplates%2Fempty%2Fcfg%2Fcfg_battfs.h;fp=boards%2Fat91sam7s-ek%2Ftemplates%2Fempty%2Fcfg%2Fcfg_battfs.h;h=fb438a084fdc752bcbf5b6c341adaf7392a44f02;hb=c68aaf5c088d0194b39f5a2238323eaef04550ac;hp=0000000000000000000000000000000000000000;hpb=cd19c6e09a32747c2da6e62204e4b74c7502d200;p=bertos.git diff --git a/boards/at91sam7s-ek/templates/empty/cfg/cfg_battfs.h b/boards/at91sam7s-ek/templates/empty/cfg/cfg_battfs.h new file mode 100644 index 00000000..fb438a08 --- /dev/null +++ b/boards/at91sam7s-ek/templates/empty/cfg/cfg_battfs.h @@ -0,0 +1,68 @@ +/** + * \file + * + * + * \brief Configuration file for BattFS module. + * + * \version $Id$ + * \author Daniele Basile + */ + +#ifndef CFG_BATTFS_H +#define CFG_BATTFS_H + + +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define BATTFS_LOG_LEVEL LOG_LVL_INFO + +/** + * module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define BATTFS_LOG_FORMAT LOG_FMT_VERBOSE + +/** + * Set to 1 to enable free page shuffling. + * This increase memories life but makes debugging + * more difficult due to its unrepeteable state. + * $WIZ$ type = "boolean" + */ +#define CONFIG_BATTFS_SHUFFLE_FREE_PAGES 0 + + +#endif /* BATTFS */