X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Ftemplates%2Fat91sam7x-ek_empty%2Fcfg%2Fcfg_battfs.h;fp=boards%2Fat91sam7x-ek%2Ftemplates%2Fat91sam7x-ek_empty%2Fcfg%2Fcfg_battfs.h;h=249dda76e0849ce3e44a2b89abe6634270ca7385;hb=78be08e4397b2c98da4b119aad450acab17048d7;hp=0000000000000000000000000000000000000000;hpb=45a5ed5a6f4ccb4cf34e54b92eccb486436bc469;p=bertos.git diff --git a/boards/at91sam7x-ek/templates/at91sam7x-ek_empty/cfg/cfg_battfs.h b/boards/at91sam7x-ek/templates/at91sam7x-ek_empty/cfg/cfg_battfs.h new file mode 100644 index 00000000..249dda76 --- /dev/null +++ b/boards/at91sam7x-ek/templates/at91sam7x-ek_empty/cfg/cfg_battfs.h @@ -0,0 +1,67 @@ +/** + * \file + * + * + * \brief Configuration file for BattFS module. + * + * \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 */