X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=boards%2Farduino%2Fbenchmark%2Fcontext_switch%2Fcfg%2Fcfg_battfs.h;fp=boards%2Farduino%2Fbenchmark%2Fcontext_switch%2Fcfg%2Fcfg_battfs.h;h=fb438a084fdc752bcbf5b6c341adaf7392a44f02;hb=6dc643d3ebe28f30fb9a1c477f6ca09a0d81c038;hp=0000000000000000000000000000000000000000;hpb=366c02d6f05383863508ae721746fc12fe21c559;p=bertos.git diff --git a/boards/arduino/benchmark/context_switch/cfg/cfg_battfs.h b/boards/arduino/benchmark/context_switch/cfg/cfg_battfs.h new file mode 100644 index 00000000..fb438a08 --- /dev/null +++ b/boards/arduino/benchmark/context_switch/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 */