X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Favr-kern%2Fcfg%2Fcfg_battfs.h;fp=examples%2Favr-kern%2Fcfg%2Fcfg_battfs.h;h=fb438a084fdc752bcbf5b6c341adaf7392a44f02;hb=1c675e3194ab2c54098866018f4856c736922553;hp=0000000000000000000000000000000000000000;hpb=31347cddceafb4e9775d9f51b268091409adee72;p=bertos.git diff --git a/examples/avr-kern/cfg/cfg_battfs.h b/examples/avr-kern/cfg/cfg_battfs.h new file mode 100644 index 00000000..fb438a08 --- /dev/null +++ b/examples/avr-kern/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 */