X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fbenchmark%2Fat91sam7x-ek_context_switch%2Fcfg%2Fcfg_emb_flash.h;fp=boards%2Fat91sam7x-ek%2Fbenchmark%2Fat91sam7x-ek_context_switch%2Fcfg%2Fcfg_emb_flash.h;h=82d96e5282761a78752a614a9e8103dbf27e64d9;hb=242d8ea69e730f74b25ae3e1e8897ea61b81c250;hp=0000000000000000000000000000000000000000;hpb=48f658cb2360654d8ae4e17adf660dbea5a9e72e;p=bertos.git diff --git a/boards/at91sam7x-ek/benchmark/at91sam7x-ek_context_switch/cfg/cfg_emb_flash.h b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_context_switch/cfg/cfg_emb_flash.h new file mode 100644 index 00000000..82d96e52 --- /dev/null +++ b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_context_switch/cfg/cfg_emb_flash.h @@ -0,0 +1,73 @@ +/** + * \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 + + +/** + * Write emb flash timeout. + * For how many milliseconds the cpu wait + * to complete write operation. + * + * $WIZ$ type = "int" + */ +#define CONFIG_FLASH_WR_TIMEOUT 100 + +/** + * Check this to disable embedded flash deprecated API support. + * + * $WIZ$ type = "boolean" + */ +#define CONFIG_FLASH_DISABLE_OLD_API 0 + +#endif /* CFG_FLASH_AT91_H */