X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Fbenchmark%2Fkernel-core_avr%2Fcfg%2Fcfg_formatwr.h;h=ff929c565d65e89a28fe4b945bccda2e0888c040;hb=d57f4313ab2bbeadd26ff38c2f9797e7ba55b627;hp=13966536ba054f850067a5580ae039493014ee1a;hpb=6f98f43f001b52f27f86af0807dc1fa41d4051d0;p=bertos.git diff --git a/examples/benchmark/kernel-core_avr/cfg/cfg_formatwr.h b/examples/benchmark/kernel-core_avr/cfg/cfg_formatwr.h index 13966536..ff929c56 100644 --- a/examples/benchmark/kernel-core_avr/cfg/cfg_formatwr.h +++ b/examples/benchmark/kernel-core_avr/cfg/cfg_formatwr.h @@ -32,8 +32,6 @@ * * \brief Configuration file for formatted write module. * - * \version $Id$ - * * \author Daniele Basile */ @@ -52,6 +50,16 @@ */ #define CONFIG_PRINTF PRINTF_NOFLOAT +/** + * 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 */