X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=blobdiff_plain;f=boards%2Fstm32-p103%2Ftemplates%2Fstm32-p103_empty%2Fcfg%2Fcfg_syslog.h;fp=boards%2Fstm32-p103%2Ftemplates%2Fstm32-p103_empty%2Fcfg%2Fcfg_syslog.h;h=5ee39c0f26c3020aced0fcc200d765caa476a2d6;hp=0000000000000000000000000000000000000000;hb=5f4ad7298d1d8d411286e18ba23b201b57e653b2;hpb=92d0de91b210748b19bd4bdaac1cc16e74369b78 diff --git a/boards/stm32-p103/templates/stm32-p103_empty/cfg/cfg_syslog.h b/boards/stm32-p103/templates/stm32-p103_empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/stm32-p103/templates/stm32-p103_empty/cfg/cfg_syslog.h @@ -0,0 +1,70 @@ +/** + * \file + * + * + * \brief SYSLOG configuration. + * + * \author Daniele Basile + * + */ +#ifndef CFG_SYSLOG_H +#define CFG_SYSLOG_H + +/** + * Enable the net logging. + * + * $WIZ$ type = "autoenabled" + */ +#define CONFIG_SYSLOG_NET 0 + +/** + * Log also on serial. + * + * $WIZ$ type = "boolean" + */ +#define CONFIG_SYSLOG_SERIAL 1 + +/** + * Destination port of log messages. + * + * $WIZ$ type = "int" + */ +#define CONFIG_SYSLOG_PORT 514 + +/** + * Max log message length. + * + * $WIZ$ type = "int" + */ +#define CONFIG_SYSLOG_BUFSIZE 256 + + +#endif /* CFG_SYSLOG_H */