From: asterix Date: Tue, 10 Aug 2010 17:30:11 +0000 (+0000) Subject: Add some config flags. X-Git-Tag: 2.6.0~232 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=946dee22e8981cf6df94faeeb691b31ff8917ce1;hp=093087cc07b4b74e53f6f842bf5e08cd518ca403;p=bertos.git Add some config flags. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4158 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 */