/** * \file * * * \brief Configuration file for xmodem module. * * \author Daniele Basile */ #ifndef CFG_XMODEM_H #define CFG_XMODEM_H /** * Module logging level. * $WIZ$ type = "enum" * $WIZ$ value_list = "log_level" */ #define CONFIG_XMODEM_LOG_LEVEL LOG_LVL_ERR /** * Module logging format. * $WIZ$ type = "enum" * $WIZ$ value_list = "log_format" */ #define CONFIG_XMODEM_LOG_FORMAT LOG_FMT_TERSE /// Enable Rx. $WIZ$ type = "boolean" #define CONFIG_XMODEM_RECV 1 /// Enable TX. $WIZ$ type = "boolean" #define CONFIG_XMODEM_SEND 1 /// 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 = 1 */ #define CONFIG_XMODEM_MAXRETRIES 15 /** * Max retries before switching to BCC. * $WIZ$ type = "int" * $WIZ$ min = 1 */ #define CONFIG_XMODEM_MAXCRCRETRIES 7 #endif /* CFG_XMODEM_H */