Rename CLOCK_FREQ macro to CPU_FREQ: now clock frequency has to be set in the makefile.
[bertos.git] / bertos / cfg / cfg_xmodem.h
index 71ced64a6022344b401088401b1648ba8b519897..2922d0574bfdaf9650eef9da2ffbc17cf6c16a05 100644 (file)
 #ifndef CFG_XMODEM_H
 #define CFG_XMODEM_H
 
-/// Enable Rx 
+/// Enable Rx. $WIZ$ type = "boolean"
 #define CONFIG_XMODEM_RECV   1
 
-/// Enable TX
+/// Enable TX. $WIZ$ type = "boolean"
 #define CONFIG_XMODEM_SEND   1
 
-/// Allow a Rx/Tx of 1Kbyte block
+/// Allow a Rx/Tx of 1Kbyte block. $WIZ$ type = "boolean"
 #define CONFIG_XMODEM_1KCRC  1
 
+/**
+ * Max retries before giving up.
+ * $WIZ$ type = "int"
+ * $WIZ$ min = "0"
+ */
+#define CONFIG_XMODEM_MAXRETRIES     15
+
+/**
+ * Max retries before switching to BCC.
+ * $WIZ$ type = "int"
+ * $WIZ$ min = "0"
+ */
+#define CONFIG_XMODEM_MAXCRCRETRIES   7
+
 #endif /* CFG_XMODEM_H */