Add some config flags.
[bertos.git] / 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 */