X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fek-lm3s1968%2Fexamples%2Fgps%2Fcfg%2Fcfg_formatwr.h;fp=boards%2Fek-lm3s1968%2Fexamples%2Fgps%2Fcfg%2Fcfg_formatwr.h;h=10d41b4845eb43bfaf66d4d00a5b6ed4b8d4db89;hb=e9ccb7d4eec1b5e4d3fc670336828caa52df8056;hp=0000000000000000000000000000000000000000;hpb=bcf97d564b47214ec01b938524e11875ebb7239a;p=bertos.git diff --git a/boards/ek-lm3s1968/examples/gps/cfg/cfg_formatwr.h b/boards/ek-lm3s1968/examples/gps/cfg/cfg_formatwr.h new file mode 100644 index 00000000..10d41b48 --- /dev/null +++ b/boards/ek-lm3s1968/examples/gps/cfg/cfg_formatwr.h @@ -0,0 +1,67 @@ +/** + * \file + * + * + * \brief Configuration file for formatted write module. + * + * \version $Id$ + * + * \author Daniele Basile + */ + +#ifndef CFG_FORMATWR_H +#define CFG_FORMATWR_H + +/** + * printf()-style formatter configuration. + * $WIZ$ type = "enum"; value_list = "printf_list" + * + * \sa PRINTF_DISABLED + * \sa PRINTF_NOMODIFIERS + * \sa PRINTF_REDUCED + * \sa PRINTF_NOFLOAT + * \sa PRINTF_FULL + */ +#define CONFIG_PRINTF PRINTF_FULL + +/** + * Size of buffer to format "%" sequences in printf. + * + * Warning: no check on buffer size is done when formatting, be careful especially + * with big numbers and %f formatting. + * + * $WIZ$ type = "int" + * $WIZ$ min = 4 + */ +#define CONFIG_FRMWRI_BUFSIZE 134 + +#endif /* CFG_FORMATWR_H */ +