X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_tcp_server%2Fcfg%2Fcfg_emb_flash.h;fp=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_tcp_server%2Fcfg%2Fcfg_emb_flash.h;h=82d96e5282761a78752a614a9e8103dbf27e64d9;hb=2f4f8a91630ed4019ef0cb166cd3c93270b7a28e;hp=0000000000000000000000000000000000000000;hpb=36f86286c51f1bcfb9097d477d5b32e4b8c11563;p=bertos.git diff --git a/boards/sam3x-ek/examples/sam3x-ek_tcp_server/cfg/cfg_emb_flash.h b/boards/sam3x-ek/examples/sam3x-ek_tcp_server/cfg/cfg_emb_flash.h new file mode 100644 index 00000000..82d96e52 --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_tcp_server/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 */