From 946dee22e8981cf6df94faeeb691b31ff8917ce1 Mon Sep 17 00:00:00 2001 From: asterix Date: Tue, 10 Aug 2010 17:30:11 +0000 Subject: [PATCH] Add some config flags. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4158 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_emb_flash.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bertos/cfg/cfg_emb_flash.h b/bertos/cfg/cfg_emb_flash.h index 48257ce8..82d96e52 100644 --- a/bertos/cfg/cfg_emb_flash.h +++ b/bertos/cfg/cfg_emb_flash.h @@ -53,6 +53,21 @@ */ #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 */ -- 2.25.1