X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_emb_flash.h;fp=bertos%2Fcfg%2Fcfg_emb_flash.h;h=48257ce8206556530bfe49cd341f8f4c9c63f8e3;hb=ec3166808afafa4cdae2f542253cd0a530e6ee79;hp=0000000000000000000000000000000000000000;hpb=11f14621bcd59a2de4564b0e9804b15acd11ea75;p=bertos.git diff --git a/bertos/cfg/cfg_emb_flash.h b/bertos/cfg/cfg_emb_flash.h new file mode 100644 index 00000000..48257ce8 --- /dev/null +++ b/bertos/cfg/cfg_emb_flash.h @@ -0,0 +1,58 @@ +/** + * \file + * + * + * \author Daniele Basile + * + * \brief Configuration file for embedded flash module. + */ + +#ifndef CFG_EMB_FLASH_H +#define CFG_EMB_FLASH_H + +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define CONFIG_FLASH_EMB_LOG_LEVEL LOG_LVL_INFO + +/** + * module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define CONFIG_FLASH_EMB_LOG_FORMAT LOG_FMT_TERSE + +#define CONFIG_FLASH_WR_TIMEOUT 100 + +#endif /* CFG_FLASH_AT91_H */