X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fek-lm3s1968%2Fexamples%2Fgps%2Fcfg%2Fcfg_pocketbus.h;fp=boards%2Fek-lm3s1968%2Fexamples%2Fgps%2Fcfg%2Fcfg_pocketbus.h;h=aa0b090bb1aadaf9d6e65197474c586bdd404465;hb=144f8f1b4079593b00cded5db9b7f2b2da5ecc87;hp=4ea138438e7994ae9a641fb342b543e116ecfc2f;hpb=2f8ddd222403c832825f4bc9b875ed5dd60a613c;p=bertos.git diff --git a/boards/ek-lm3s1968/examples/gps/cfg/cfg_pocketbus.h b/boards/ek-lm3s1968/examples/gps/cfg/cfg_pocketbus.h index 4ea13843..aa0b090b 100644 --- a/boards/ek-lm3s1968/examples/gps/cfg/cfg_pocketbus.h +++ b/boards/ek-lm3s1968/examples/gps/cfg/cfg_pocketbus.h @@ -32,13 +32,29 @@ * * \brief Configuration file for pocketbus module. * - * * \author Daniele Basile */ #ifndef CFG_POCKETBUS_H #define CFG_POCKETBUS_H +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define POCKETBUS_LOG_LEVEL LOG_LVL_ERR + +/** + * Module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define POCKETBUS_LOG_FORMAT LOG_FMT_TERSE + + /** *Buffer len for pockebus protocol. * $WIZ$ type = "int" @@ -46,4 +62,10 @@ */ #define CONFIG_POCKETBUS_BUFLEN 128 +/** + * Command replay timeout in milliseconds. + * $WIZ$ type = "int" + */ +#define CONFIG_POCKETBUS_CMD_REPLY_TIMEOUT 50 + #endif /* CFG_POCKETBUS_H */