From: Daniele Basile Date: Fri, 20 Jan 2012 09:49:05 +0000 (+0100) Subject: Update all projects. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=5f4ad7298d1d8d411286e18ba23b201b57e653b2;p=bertos.git Update all projects. --- diff --git a/boards/arduino-mega/benchmark/arduino-mega_context_switch/cfg/cfg_syslog.h b/boards/arduino-mega/benchmark/arduino-mega_context_switch/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/arduino-mega/benchmark/arduino-mega_context_switch/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 */ diff --git a/boards/arduino-mega/benchmark/arduino-mega_kernel_footprint/cfg/cfg_syslog.h b/boards/arduino-mega/benchmark/arduino-mega_kernel_footprint/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/arduino-mega/benchmark/arduino-mega_kernel_footprint/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 */ diff --git a/boards/arduino-mega/examples/arduino-mega_aprs/cfg/cfg_syslog.h b/boards/arduino-mega/examples/arduino-mega_aprs/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/arduino-mega/examples/arduino-mega_aprs/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 */ diff --git a/boards/arduino-mega/templates/arduino-mega_empty/cfg/cfg_syslog.h b/boards/arduino-mega/templates/arduino-mega_empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/arduino-mega/templates/arduino-mega_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 */ diff --git a/boards/arduino-mega/templates/arduino-mega_kernel/cfg/cfg_syslog.h b/boards/arduino-mega/templates/arduino-mega_kernel/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/arduino-mega/templates/arduino-mega_kernel/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 */ diff --git a/boards/arduino/benchmark/arduino_context_switch/cfg/cfg_syslog.h b/boards/arduino/benchmark/arduino_context_switch/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/arduino/benchmark/arduino_context_switch/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 */ diff --git a/boards/arduino/benchmark/arduino_kernel_footprint/cfg/cfg_syslog.h b/boards/arduino/benchmark/arduino_kernel_footprint/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/arduino/benchmark/arduino_kernel_footprint/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 */ diff --git a/boards/arduino/examples/arduino_aprs/cfg/cfg_syslog.h b/boards/arduino/examples/arduino_aprs/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/arduino/examples/arduino_aprs/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 */ diff --git a/boards/arduino/templates/arduino_empty/cfg/cfg_syslog.h b/boards/arduino/templates/arduino_empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/arduino/templates/arduino_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 */ diff --git a/boards/arduino/templates/arduino_kernel/cfg/cfg_syslog.h b/boards/arduino/templates/arduino_kernel/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/arduino/templates/arduino_kernel/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 */ diff --git a/boards/at91sam7s-ek/benchmark/at91sam7s-ek_context_switch/cfg/cfg_syslog.h b/boards/at91sam7s-ek/benchmark/at91sam7s-ek_context_switch/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/at91sam7s-ek/benchmark/at91sam7s-ek_context_switch/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 */ diff --git a/boards/at91sam7s-ek/benchmark/at91sam7s-ek_kernel_footprint/cfg/cfg_syslog.h b/boards/at91sam7s-ek/benchmark/at91sam7s-ek_kernel_footprint/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/at91sam7s-ek/benchmark/at91sam7s-ek_kernel_footprint/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 */ diff --git a/boards/at91sam7s-ek/templates/at91sam7s-ek_empty/cfg/cfg_syslog.h b/boards/at91sam7s-ek/templates/at91sam7s-ek_empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/at91sam7s-ek/templates/at91sam7s-ek_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 */ diff --git a/boards/at91sam7s-ek/templates/at91sam7s-ek_kernel/cfg/cfg_syslog.h b/boards/at91sam7s-ek/templates/at91sam7s-ek_kernel/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/at91sam7s-ek/templates/at91sam7s-ek_kernel/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 */ diff --git a/boards/at91sam7x-ek/benchmark/at91sam7x-ek_context_switch/cfg/cfg_syslog.h b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_context_switch/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_context_switch/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 */ diff --git a/boards/at91sam7x-ek/benchmark/at91sam7x-ek_kernel_footprint/cfg/cfg_syslog.h b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_kernel_footprint/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_kernel_footprint/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 */ diff --git a/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_syslog.h b/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/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 */ diff --git a/boards/at91sam7x-ek/examples/at91sam7x-ek_tcp_server/cfg/cfg_syslog.h b/boards/at91sam7x-ek/examples/at91sam7x-ek_tcp_server/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/at91sam7x-ek/examples/at91sam7x-ek_tcp_server/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 */ diff --git a/boards/at91sam7x-ek/templates/at91sam7x-ek_empty/cfg/cfg_syslog.h b/boards/at91sam7x-ek/templates/at91sam7x-ek_empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/at91sam7x-ek/templates/at91sam7x-ek_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 */ diff --git a/boards/at91sam7x-ek/templates/at91sam7x-ek_kernel/cfg/cfg_syslog.h b/boards/at91sam7x-ek/templates/at91sam7x-ek_kernel/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/at91sam7x-ek/templates/at91sam7x-ek_kernel/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 */ diff --git a/boards/ek-lm3s1968/benchmark/context_switch/cfg/cfg_syslog.h b/boards/ek-lm3s1968/benchmark/context_switch/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/ek-lm3s1968/benchmark/context_switch/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 */ diff --git a/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_syslog.h b/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/ek-lm3s1968/benchmark/kernel_footprint/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 */ diff --git a/boards/ek-lm3s1968/examples/gps/cfg/cfg_syslog.h b/boards/ek-lm3s1968/examples/gps/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/ek-lm3s1968/examples/gps/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 */ diff --git a/boards/ek-lm3s1968/templates/empty/cfg/cfg_syslog.h b/boards/ek-lm3s1968/templates/empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/ek-lm3s1968/templates/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 */ diff --git a/boards/ek-lm3s1968/templates/kernel/cfg/cfg_syslog.h b/boards/ek-lm3s1968/templates/kernel/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/ek-lm3s1968/templates/kernel/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 */ diff --git a/boards/lpc-p2378/benchmark/context_switch/cfg/cfg_syslog.h b/boards/lpc-p2378/benchmark/context_switch/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/lpc-p2378/benchmark/context_switch/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 */ diff --git a/boards/lpc-p2378/benchmark/lpc-p2378_kernel_footprint/cfg/cfg_syslog.h b/boards/lpc-p2378/benchmark/lpc-p2378_kernel_footprint/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/lpc-p2378/benchmark/lpc-p2378_kernel_footprint/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 */ diff --git a/boards/lpc-p2378/templates/empty/cfg/cfg_syslog.h b/boards/lpc-p2378/templates/empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/lpc-p2378/templates/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 */ diff --git a/boards/lpc-p2378/templates/kernel/cfg/cfg_syslog.h b/boards/lpc-p2378/templates/kernel/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/lpc-p2378/templates/kernel/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 */ diff --git a/boards/sam3n-ek/benchmark/sam3n-ek_kernel_footprint/cfg/cfg_syslog.h b/boards/sam3n-ek/benchmark/sam3n-ek_kernel_footprint/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/sam3n-ek/benchmark/sam3n-ek_kernel_footprint/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 */ diff --git a/boards/sam3n-ek/examples/sam3n-ek_display/cfg/cfg_syslog.h b/boards/sam3n-ek/examples/sam3n-ek_display/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/sam3n-ek/examples/sam3n-ek_display/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 */ diff --git a/boards/sam3n-ek/templates/sam3n-ek_empty/cfg/cfg_syslog.h b/boards/sam3n-ek/templates/sam3n-ek_empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/sam3n-ek/templates/sam3n-ek_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 */ diff --git a/boards/sam3n-ek/templates/sam3n-ek_kernel/cfg/cfg_syslog.h b/boards/sam3n-ek/templates/sam3n-ek_kernel/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/sam3n-ek/templates/sam3n-ek_kernel/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 */ diff --git a/boards/sam3x-ek/examples/sam3x-ek_codec/cfg/cfg_syslog.h b/boards/sam3x-ek/examples/sam3x-ek_codec/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_codec/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 */ diff --git a/boards/sam3x-ek/examples/sam3x-ek_display/cfg/cfg_syslog.h b/boards/sam3x-ek/examples/sam3x-ek_display/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_display/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 */ diff --git a/boards/sam3x-ek/examples/sam3x-ek_http_server/cfg/cfg_syslog.h b/boards/sam3x-ek/examples/sam3x-ek_http_server/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_http_server/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 */ diff --git a/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/cfg/cfg_syslog.h b/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/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 */ diff --git a/boards/sam3x-ek/examples/sam3x-ek_tcp_server/cfg/cfg_syslog.h b/boards/sam3x-ek/examples/sam3x-ek_tcp_server/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_tcp_server/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 */ diff --git a/boards/sam3x-ek/templates/sam3x-ek_empty/cfg/cfg_syslog.h b/boards/sam3x-ek/templates/sam3x-ek_empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/sam3x-ek/templates/sam3x-ek_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 */ diff --git a/boards/stm32-p103/benchmark/stm32-p103_context_switch/cfg/cfg_syslog.h b/boards/stm32-p103/benchmark/stm32-p103_context_switch/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/stm32-p103/benchmark/stm32-p103_context_switch/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 */ diff --git a/boards/stm32-p103/benchmark/stm32-p103_kernel_footprint/cfg/cfg_syslog.h b/boards/stm32-p103/benchmark/stm32-p103_kernel_footprint/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/stm32-p103/benchmark/stm32-p103_kernel_footprint/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 */ diff --git a/boards/stm32-p103/examples/usbkeyboard/cfg/cfg_syslog.h b/boards/stm32-p103/examples/usbkeyboard/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/stm32-p103/examples/usbkeyboard/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 */ diff --git a/boards/stm32-p103/examples/usbmouse/cfg/cfg_syslog.h b/boards/stm32-p103/examples/usbmouse/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/stm32-p103/examples/usbmouse/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 */ diff --git a/boards/stm32-p103/examples/usbserial/cfg/cfg_syslog.h b/boards/stm32-p103/examples/usbserial/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/stm32-p103/examples/usbserial/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 */ 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 */ diff --git a/boards/stm32-p103/templates/stm32-p103_kernel/cfg/cfg_syslog.h b/boards/stm32-p103/templates/stm32-p103_kernel/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/stm32-p103/templates/stm32-p103_kernel/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 */ diff --git a/boards/stm32VLDiscovery/templates/empty/cfg/cfg_syslog.h b/boards/stm32VLDiscovery/templates/empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/stm32VLDiscovery/templates/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 */ diff --git a/boards/stm32VLDiscovery/templates/kernel/cfg/cfg_syslog.h b/boards/stm32VLDiscovery/templates/kernel/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/stm32VLDiscovery/templates/kernel/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 */ diff --git a/boards/triface/benchmark/triface_context_switch/cfg/cfg_syslog.h b/boards/triface/benchmark/triface_context_switch/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/triface/benchmark/triface_context_switch/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 */ diff --git a/boards/triface/benchmark/triface_kernel_footprint/cfg/cfg_syslog.h b/boards/triface/benchmark/triface_kernel_footprint/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/triface/benchmark/triface_kernel_footprint/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 */ diff --git a/boards/triface/examples/triface/cfg/cfg_syslog.h b/boards/triface/examples/triface/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/triface/examples/triface/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 */ diff --git a/boards/triface/templates/triface_empty/cfg/cfg_syslog.h b/boards/triface/templates/triface_empty/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/triface/templates/triface_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 */ diff --git a/boards/triface/templates/triface_kernel/cfg/cfg_syslog.h b/boards/triface/templates/triface_kernel/cfg/cfg_syslog.h new file mode 100644 index 00000000..5ee39c0f --- /dev/null +++ b/boards/triface/templates/triface_kernel/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 */