Add some config flags.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 10 Aug 2010 17:30:11 +0000 (17:30 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 10 Aug 2010 17:30:11 +0000 (17:30 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4158 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cfg/cfg_emb_flash.h

index 48257ce8206556530bfe49cd341f8f4c9c63f8e3..82d96e5282761a78752a614a9e8103dbf27e64d9 100644 (file)
  */
 #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 */