From 45dc56b0afaa906e3716ece4d259987e268ffeb2 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 28 Jan 2013 21:55:16 +0000 Subject: [PATCH] Add syslog.h; rename lib_rawprintf() to syslog() git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3 --- configs/README.txt | 2 +- configs/cloudctrl/src/up_nsh.c | 4 ++-- configs/cloudctrl/src/up_usbmsc.c | 4 ++-- configs/demo9s12ne64/src/up_nsh.c | 4 ++-- configs/ea3131/src/up_nsh.c | 4 ++-- configs/ea3131/src/up_usbmsc.c | 4 ++-- configs/ea3152/src/up_nsh.c | 4 ++-- configs/ea3152/src/up_usbmsc.c | 4 ++-- configs/eagle100/src/up_nsh.c | 4 ++-- configs/ekk-lm3s9b96/src/up_nsh.c | 4 ++-- configs/ez80f910200kitg/ostest/defconfig | 2 +- configs/ez80f910200zco/ostest/defconfig | 2 +- configs/fire-stm32v2/src/up_composite.c | 4 ++-- configs/fire-stm32v2/src/up_nsh.c | 4 ++-- configs/fire-stm32v2/src/up_usbmsc.c | 4 ++-- configs/hymini-stm32v/src/up_nsh.c | 4 ++-- configs/hymini-stm32v/src/up_usbmsc.c | 4 ++-- configs/kwikstik-k40/src/up_nsh.c | 4 ++-- configs/kwikstik-k40/src/up_usbmsc.c | 4 ++-- configs/lincoln60/src/up_nsh.c | 4 ++-- configs/lm3s6432-s2e/src/up_nsh.c | 4 ++-- configs/lm3s6965-ek/src/up_nsh.c | 4 ++-- configs/lm3s8962-ek/src/up_nsh.c | 4 ++-- configs/lpcxpresso-lpc1768/src/up_nsh.c | 4 ++-- configs/lpcxpresso-lpc1768/src/up_usbmsc.c | 4 ++-- configs/mbed/src/up_nsh.c | 4 ++-- configs/mcu123-lpc214x/src/up_composite.c | 4 ++-- configs/mcu123-lpc214x/src/up_nsh.c | 4 ++-- configs/mcu123-lpc214x/src/up_usbmsc.c | 4 ++-- configs/ne64badge/src/up_nsh.c | 4 ++-- configs/nucleus2g/src/up_nsh.c | 4 ++-- configs/nucleus2g/src/up_usbmsc.c | 4 ++-- configs/olimex-lpc1766stk/src/up_nsh.c | 4 ++-- configs/olimex-lpc1766stk/src/up_usbmsc.c | 4 ++-- configs/olimex-lpc2378/src/up_nsh.c | 4 ++-- configs/olimex-strp711/src/up_nsh.c | 4 ++-- configs/pic32-starterkit/src/up_nsh.c | 4 ++-- configs/pic32-starterkit/src/up_usbmsc.c | 4 ++-- configs/pic32mx7mmb/src/up_nsh.c | 4 ++-- configs/pic32mx7mmb/src/up_usbmsc.c | 4 ++-- configs/rgmp/include/README.txt | 2 +- configs/rgmp/src/README.txt | 2 +- configs/sam3u-ek/src/up_nsh.c | 4 ++-- configs/sam3u-ek/src/up_usbmsc.c | 4 ++-- configs/shenzhou/src/up_composite.c | 4 ++-- configs/shenzhou/src/up_ili93xx.c | 6 +++--- configs/shenzhou/src/up_nsh.c | 4 ++-- configs/shenzhou/src/up_usbmsc.c | 4 ++-- configs/sim/cxxtest/defconfig | 2 +- configs/sim/ostest/defconfig | 2 +- configs/stm3210e-eval/src/up_composite.c | 4 ++-- configs/stm3210e-eval/src/up_lcd.c | 6 +++--- configs/stm3210e-eval/src/up_nsh.c | 4 ++-- configs/stm3210e-eval/src/up_pmbuttons.c | 6 +++--- configs/stm3210e-eval/src/up_usbmsc.c | 4 ++-- configs/stm3220g-eval/src/up_lcd.c | 6 +++--- configs/stm3220g-eval/src/up_nsh.c | 4 ++-- configs/stm3240g-eval/discover/defconfig | 2 +- configs/stm3240g-eval/src/up_lcd.c | 6 +++--- configs/stm3240g-eval/src/up_nsh.c | 4 ++-- configs/stm3240g-eval/xmlrpc/defconfig | 2 +- configs/stm32f4discovery/src/up_nsh.c | 4 ++-- configs/stm32f4discovery/src/up_pmbuttons.c | 2 +- configs/sure-pic32mx/src/up_nsh.c | 4 ++-- configs/teensy/src/up_usbmsc.c | 4 ++-- configs/twr-k60n512/src/up_nsh.c | 4 ++-- configs/twr-k60n512/src/up_usbmsc.c | 4 ++-- configs/ubw32/src/up_nsh.c | 4 ++-- configs/vsn/src/usbmsc.c | 4 ++-- configs/vsn/src/vsn.h | 4 ++-- configs/z16f2800100zcog/ostest/defconfig | 2 +- configs/z16f2800100zcog/pashello/README.txt | 24 ++++++++++----------- configs/z16f2800100zcog/pashello/defconfig | 2 +- configs/z8encore000zco/ostest/defconfig | 2 +- configs/z8f64200100kit/ostest/defconfig | 2 +- 75 files changed, 151 insertions(+), 151 deletions(-) diff --git a/configs/README.txt b/configs/README.txt index 1b78567a3d..8d9bb381f3 100644 --- a/configs/README.txt +++ b/configs/README.txt @@ -261,7 +261,7 @@ defconfig -- This is a configuration file similar to the Linux CONFIG_DEBUG - enables built-in debug options CONFIG_DEBUG_VERBOSE - enables verbose debug output - CCONFIG_DEBUG_ENABLE - Support an interface to enable or disable debug output. + CCONFIG_SYSLOG_ENABLE - Support an interface to enable or disable debug output. CONFIG_DEBUG_SYMBOLS - build without optimization and with debug symbols (needed for use with a debugger). CONFIG_DEBUG_SCHED - enable OS debug output (disabled by diff --git a/configs/cloudctrl/src/up_nsh.c b/configs/cloudctrl/src/up_nsh.c index f389460bb8..6baeeeab8e 100644 --- a/configs/cloudctrl/src/up_nsh.c +++ b/configs/cloudctrl/src/up_nsh.c @@ -101,13 +101,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/cloudctrl/src/up_usbmsc.c b/configs/cloudctrl/src/up_usbmsc.c index 1e74e6f242..95fc0189a3 100644 --- a/configs/cloudctrl/src/up_usbmsc.c +++ b/configs/cloudctrl/src/up_usbmsc.c @@ -61,7 +61,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -69,7 +69,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/demo9s12ne64/src/up_nsh.c b/configs/demo9s12ne64/src/up_nsh.c index 7e53f7f076..c4773c0ac5 100644 --- a/configs/demo9s12ne64/src/up_nsh.c +++ b/configs/demo9s12ne64/src/up_nsh.c @@ -54,13 +54,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/ea3131/src/up_nsh.c b/configs/ea3131/src/up_nsh.c index 29ee7ed2ce..b763c26f02 100644 --- a/configs/ea3131/src/up_nsh.c +++ b/configs/ea3131/src/up_nsh.c @@ -100,13 +100,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/ea3131/src/up_usbmsc.c b/configs/ea3131/src/up_usbmsc.c index 5f4850ea1c..e1869af4d5 100644 --- a/configs/ea3131/src/up_usbmsc.c +++ b/configs/ea3131/src/up_usbmsc.c @@ -91,8 +91,8 @@ int usbmsc_archinitialize(void) pbuffer = (uint8_t *) malloc (BUFFER_SIZE); if (!pbuffer) { - lib_lowprintf ("usbmsc_archinitialize: Failed to allocate ramdisk of size %d\n", - BUFFER_SIZE); + lowsyslog("usbmsc_archinitialize: Failed to allocate ramdisk of size %d\n", + BUFFER_SIZE); return -ENOMEM; } diff --git a/configs/ea3152/src/up_nsh.c b/configs/ea3152/src/up_nsh.c index 2b523b44a5..d4ac3da27f 100644 --- a/configs/ea3152/src/up_nsh.c +++ b/configs/ea3152/src/up_nsh.c @@ -100,13 +100,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/ea3152/src/up_usbmsc.c b/configs/ea3152/src/up_usbmsc.c index 2c3356b4e7..ee67f0eede 100644 --- a/configs/ea3152/src/up_usbmsc.c +++ b/configs/ea3152/src/up_usbmsc.c @@ -91,8 +91,8 @@ int usbmsc_archinitialize(void) pbuffer = (uint8_t *) malloc (BUFFER_SIZE); if (!pbuffer) { - lib_lowprintf ("usbmsc_archinitialize: Failed to allocate ramdisk of size %d\n", - BUFFER_SIZE); + lowsyslog("usbmsc_archinitialize: Failed to allocate ramdisk of size %d\n", + BUFFER_SIZE); return -ENOMEM; } diff --git a/configs/eagle100/src/up_nsh.c b/configs/eagle100/src/up_nsh.c index 65fd300232..b1df8cde6e 100644 --- a/configs/eagle100/src/up_nsh.c +++ b/configs/eagle100/src/up_nsh.c @@ -95,13 +95,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/ekk-lm3s9b96/src/up_nsh.c b/configs/ekk-lm3s9b96/src/up_nsh.c index 6f9aac6b1a..f54fb726c5 100644 --- a/configs/ekk-lm3s9b96/src/up_nsh.c +++ b/configs/ekk-lm3s9b96/src/up_nsh.c @@ -55,13 +55,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/ez80f910200kitg/ostest/defconfig b/configs/ez80f910200kitg/ostest/defconfig index d861778282..1abc3fb587 100644 --- a/configs/ez80f910200kitg/ostest/defconfig +++ b/configs/ez80f910200kitg/ostest/defconfig @@ -44,7 +44,7 @@ CONFIG_WINDOWS_CYGWIN=y # CONFIG_DEBUG=y # CONFIG_DEBUG_VERBOSE is not set -# CONFIG_DEBUG_ENABLE is not set +# CONFIG_SYSLOG_ENABLE is not set # # Subsystem Debug Options diff --git a/configs/ez80f910200zco/ostest/defconfig b/configs/ez80f910200zco/ostest/defconfig index e414cfcc14..146b56327b 100644 --- a/configs/ez80f910200zco/ostest/defconfig +++ b/configs/ez80f910200zco/ostest/defconfig @@ -44,7 +44,7 @@ CONFIG_WINDOWS_CYGWIN=y # CONFIG_DEBUG=y # CONFIG_DEBUG_VERBOSE is not set -# CONFIG_DEBUG_ENABLE is not set +# CONFIG_SYSLOG_ENABLE is not set # # Subsystem Debug Options diff --git a/configs/fire-stm32v2/src/up_composite.c b/configs/fire-stm32v2/src/up_composite.c index 6ebc061760..15200caa82 100644 --- a/configs/fire-stm32v2/src/up_composite.c +++ b/configs/fire-stm32v2/src/up_composite.c @@ -60,7 +60,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -68,7 +68,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/fire-stm32v2/src/up_nsh.c b/configs/fire-stm32v2/src/up_nsh.c index ba93d714fc..fa261f5618 100644 --- a/configs/fire-stm32v2/src/up_nsh.c +++ b/configs/fire-stm32v2/src/up_nsh.c @@ -127,13 +127,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/fire-stm32v2/src/up_usbmsc.c b/configs/fire-stm32v2/src/up_usbmsc.c index 8a82695395..f1f6ee69c2 100644 --- a/configs/fire-stm32v2/src/up_usbmsc.c +++ b/configs/fire-stm32v2/src/up_usbmsc.c @@ -60,7 +60,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -68,7 +68,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/hymini-stm32v/src/up_nsh.c b/configs/hymini-stm32v/src/up_nsh.c index ae1ea03a6b..5b823012d9 100644 --- a/configs/hymini-stm32v/src/up_nsh.c +++ b/configs/hymini-stm32v/src/up_nsh.c @@ -110,13 +110,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/hymini-stm32v/src/up_usbmsc.c b/configs/hymini-stm32v/src/up_usbmsc.c index 1ce55adcc0..da8f025338 100644 --- a/configs/hymini-stm32v/src/up_usbmsc.c +++ b/configs/hymini-stm32v/src/up_usbmsc.c @@ -78,7 +78,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -86,7 +86,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/kwikstik-k40/src/up_nsh.c b/configs/kwikstik-k40/src/up_nsh.c index 884ff3c44c..1e52c931e6 100644 --- a/configs/kwikstik-k40/src/up_nsh.c +++ b/configs/kwikstik-k40/src/up_nsh.c @@ -109,13 +109,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/kwikstik-k40/src/up_usbmsc.c b/configs/kwikstik-k40/src/up_usbmsc.c index 8051ea1bad..ea97cb99f2 100644 --- a/configs/kwikstik-k40/src/up_usbmsc.c +++ b/configs/kwikstik-k40/src/up_usbmsc.c @@ -74,7 +74,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -82,7 +82,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/lincoln60/src/up_nsh.c b/configs/lincoln60/src/up_nsh.c index 2c829837a6..a4a6794150 100644 --- a/configs/lincoln60/src/up_nsh.c +++ b/configs/lincoln60/src/up_nsh.c @@ -56,13 +56,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/lm3s6432-s2e/src/up_nsh.c b/configs/lm3s6432-s2e/src/up_nsh.c index 46726e753e..75107be228 100644 --- a/configs/lm3s6432-s2e/src/up_nsh.c +++ b/configs/lm3s6432-s2e/src/up_nsh.c @@ -57,13 +57,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/lm3s6965-ek/src/up_nsh.c b/configs/lm3s6965-ek/src/up_nsh.c index 409b351f06..24b8b0206a 100644 --- a/configs/lm3s6965-ek/src/up_nsh.c +++ b/configs/lm3s6965-ek/src/up_nsh.c @@ -95,13 +95,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/lm3s8962-ek/src/up_nsh.c b/configs/lm3s8962-ek/src/up_nsh.c index 6938621845..f12c48988e 100644 --- a/configs/lm3s8962-ek/src/up_nsh.c +++ b/configs/lm3s8962-ek/src/up_nsh.c @@ -95,13 +95,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/lpcxpresso-lpc1768/src/up_nsh.c b/configs/lpcxpresso-lpc1768/src/up_nsh.c index b9c39ed163..6165cd9e9f 100644 --- a/configs/lpcxpresso-lpc1768/src/up_nsh.c +++ b/configs/lpcxpresso-lpc1768/src/up_nsh.c @@ -103,13 +103,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/lpcxpresso-lpc1768/src/up_usbmsc.c b/configs/lpcxpresso-lpc1768/src/up_usbmsc.c index c43028f1e3..937c7857ad 100644 --- a/configs/lpcxpresso-lpc1768/src/up_usbmsc.c +++ b/configs/lpcxpresso-lpc1768/src/up_usbmsc.c @@ -74,7 +74,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -82,7 +82,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/mbed/src/up_nsh.c b/configs/mbed/src/up_nsh.c index 3a23ca7a51..883a0da158 100644 --- a/configs/mbed/src/up_nsh.c +++ b/configs/mbed/src/up_nsh.c @@ -72,13 +72,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/mcu123-lpc214x/src/up_composite.c b/configs/mcu123-lpc214x/src/up_composite.c index 3540cdb8a9..8feacc9712 100644 --- a/configs/mcu123-lpc214x/src/up_composite.c +++ b/configs/mcu123-lpc214x/src/up_composite.c @@ -75,7 +75,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -83,7 +83,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/mcu123-lpc214x/src/up_nsh.c b/configs/mcu123-lpc214x/src/up_nsh.c index 14b5d7d97e..c4a56784fe 100644 --- a/configs/mcu123-lpc214x/src/up_nsh.c +++ b/configs/mcu123-lpc214x/src/up_nsh.c @@ -95,13 +95,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/mcu123-lpc214x/src/up_usbmsc.c b/configs/mcu123-lpc214x/src/up_usbmsc.c index 79d9344a4a..f003d4c3c1 100644 --- a/configs/mcu123-lpc214x/src/up_usbmsc.c +++ b/configs/mcu123-lpc214x/src/up_usbmsc.c @@ -74,7 +74,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -82,7 +82,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/ne64badge/src/up_nsh.c b/configs/ne64badge/src/up_nsh.c index 17a52819bc..10e0e74d5b 100644 --- a/configs/ne64badge/src/up_nsh.c +++ b/configs/ne64badge/src/up_nsh.c @@ -54,13 +54,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/nucleus2g/src/up_nsh.c b/configs/nucleus2g/src/up_nsh.c index 9986c82823..4453d73a11 100644 --- a/configs/nucleus2g/src/up_nsh.c +++ b/configs/nucleus2g/src/up_nsh.c @@ -97,13 +97,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/nucleus2g/src/up_usbmsc.c b/configs/nucleus2g/src/up_usbmsc.c index 8c71a5ce71..f4a533cb62 100644 --- a/configs/nucleus2g/src/up_usbmsc.c +++ b/configs/nucleus2g/src/up_usbmsc.c @@ -74,7 +74,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -82,7 +82,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/olimex-lpc1766stk/src/up_nsh.c b/configs/olimex-lpc1766stk/src/up_nsh.c index 99e9c4d9c2..f201c8a1b6 100644 --- a/configs/olimex-lpc1766stk/src/up_nsh.c +++ b/configs/olimex-lpc1766stk/src/up_nsh.c @@ -124,13 +124,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/olimex-lpc1766stk/src/up_usbmsc.c b/configs/olimex-lpc1766stk/src/up_usbmsc.c index ce7c757718..5f97aff810 100644 --- a/configs/olimex-lpc1766stk/src/up_usbmsc.c +++ b/configs/olimex-lpc1766stk/src/up_usbmsc.c @@ -77,7 +77,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -85,7 +85,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/olimex-lpc2378/src/up_nsh.c b/configs/olimex-lpc2378/src/up_nsh.c index 6279a7668f..f5ec1fed85 100644 --- a/configs/olimex-lpc2378/src/up_nsh.c +++ b/configs/olimex-lpc2378/src/up_nsh.c @@ -84,13 +84,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/olimex-strp711/src/up_nsh.c b/configs/olimex-strp711/src/up_nsh.c index 21c3efb83e..7499a8d8f3 100644 --- a/configs/olimex-strp711/src/up_nsh.c +++ b/configs/olimex-strp711/src/up_nsh.c @@ -99,13 +99,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/pic32-starterkit/src/up_nsh.c b/configs/pic32-starterkit/src/up_nsh.c index 0f0f0dffeb..f0e745112c 100644 --- a/configs/pic32-starterkit/src/up_nsh.c +++ b/configs/pic32-starterkit/src/up_nsh.c @@ -154,13 +154,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/pic32-starterkit/src/up_usbmsc.c b/configs/pic32-starterkit/src/up_usbmsc.c index c645c0fe53..51e450c564 100644 --- a/configs/pic32-starterkit/src/up_usbmsc.c +++ b/configs/pic32-starterkit/src/up_usbmsc.c @@ -50,7 +50,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -58,7 +58,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/pic32mx7mmb/src/up_nsh.c b/configs/pic32mx7mmb/src/up_nsh.c index d063450d3d..a1bfbeaa2f 100644 --- a/configs/pic32mx7mmb/src/up_nsh.c +++ b/configs/pic32mx7mmb/src/up_nsh.c @@ -153,13 +153,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/pic32mx7mmb/src/up_usbmsc.c b/configs/pic32mx7mmb/src/up_usbmsc.c index fbebaa3d14..d1f473d4f5 100644 --- a/configs/pic32mx7mmb/src/up_usbmsc.c +++ b/configs/pic32mx7mmb/src/up_usbmsc.c @@ -50,7 +50,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -58,7 +58,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/rgmp/include/README.txt b/configs/rgmp/include/README.txt index 006f13e7c0..78da4eb927 100644 --- a/configs/rgmp/include/README.txt +++ b/configs/rgmp/include/README.txt @@ -1 +1 @@ -This directory is reserved for RGMP header files +This directory is reserved for RGMP header files diff --git a/configs/rgmp/src/README.txt b/configs/rgmp/src/README.txt index d7d216e246..3d0f237c03 100644 --- a/configs/rgmp/src/README.txt +++ b/configs/rgmp/src/README.txt @@ -1 +1 @@ -This directory is reserved for RGMP source files +This directory is reserved for RGMP source files diff --git a/configs/sam3u-ek/src/up_nsh.c b/configs/sam3u-ek/src/up_nsh.c index e8c0df87be..7b3174a74c 100644 --- a/configs/sam3u-ek/src/up_nsh.c +++ b/configs/sam3u-ek/src/up_nsh.c @@ -100,13 +100,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_rawprintf(__VA_ARGS__) +# define message(...) syslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_rawprintf +# define message syslog # else # define message printf # endif diff --git a/configs/sam3u-ek/src/up_usbmsc.c b/configs/sam3u-ek/src/up_usbmsc.c index 7e04ee04a9..dfe2e2c495 100644 --- a/configs/sam3u-ek/src/up_usbmsc.c +++ b/configs/sam3u-ek/src/up_usbmsc.c @@ -76,7 +76,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -84,7 +84,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/shenzhou/src/up_composite.c b/configs/shenzhou/src/up_composite.c index 81c33dcc83..fb16409087 100644 --- a/configs/shenzhou/src/up_composite.c +++ b/configs/shenzhou/src/up_composite.c @@ -60,7 +60,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -68,7 +68,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/shenzhou/src/up_ili93xx.c b/configs/shenzhou/src/up_ili93xx.c index a89e20d02e..1a099f8209 100644 --- a/configs/shenzhou/src/up_ili93xx.c +++ b/configs/shenzhou/src/up_ili93xx.c @@ -833,14 +833,14 @@ static void stm32_dumprun(FAR const char *msg, FAR uint16_t *run, size_t npixels { int i, j; - lib_rawprintf("\n%s:\n", msg); + syslog("\n%s:\n", msg); for (i = 0; i < npixels; i += 16) { up_putc(' '); - lib_rawprintf(" "); + syslog(" "); for (j = 0; j < 16; j++) { - lib_rawprintf(" %04x", *run++); + syslog(" %04x", *run++); } up_putc('\n'); } diff --git a/configs/shenzhou/src/up_nsh.c b/configs/shenzhou/src/up_nsh.c index 685281f5da..d68a734e0a 100644 --- a/configs/shenzhou/src/up_nsh.c +++ b/configs/shenzhou/src/up_nsh.c @@ -149,13 +149,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/shenzhou/src/up_usbmsc.c b/configs/shenzhou/src/up_usbmsc.c index 8566aedfd8..eaecfb4969 100644 --- a/configs/shenzhou/src/up_usbmsc.c +++ b/configs/shenzhou/src/up_usbmsc.c @@ -60,7 +60,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -68,7 +68,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/sim/cxxtest/defconfig b/configs/sim/cxxtest/defconfig index 6ac45d44d8..b12eda172e 100644 --- a/configs/sim/cxxtest/defconfig +++ b/configs/sim/cxxtest/defconfig @@ -36,7 +36,7 @@ CONFIG_ARCH_FLOAT_H=y # CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y -# CONFIG_DEBUG_ENABLE is not set +# CONFIG_SYSLOG_ENABLE is not set # # Subsystem Debug Options diff --git a/configs/sim/ostest/defconfig b/configs/sim/ostest/defconfig index 65f5330fcd..07a0f71b4b 100644 --- a/configs/sim/ostest/defconfig +++ b/configs/sim/ostest/defconfig @@ -40,7 +40,7 @@ CONFIG_HOST_LINUX=y # CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y -# CONFIG_DEBUG_ENABLE is not set +# CONFIG_SYSLOG_ENABLE is not set # # Subsystem Debug Options diff --git a/configs/stm3210e-eval/src/up_composite.c b/configs/stm3210e-eval/src/up_composite.c index e80e0fcb45..de5759c788 100644 --- a/configs/stm3210e-eval/src/up_composite.c +++ b/configs/stm3210e-eval/src/up_composite.c @@ -79,7 +79,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -87,7 +87,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/stm3210e-eval/src/up_lcd.c b/configs/stm3210e-eval/src/up_lcd.c index 8b832aafb3..81cc3f20a4 100644 --- a/configs/stm3210e-eval/src/up_lcd.c +++ b/configs/stm3210e-eval/src/up_lcd.c @@ -704,14 +704,14 @@ static void stm3210e_dumprun(FAR const char *msg, FAR uint16_t *run, size_t npix { int i, j; - lib_rawprintf("\n%s:\n", msg); + syslog("\n%s:\n", msg); for (i = 0; i < npixels; i += 16) { up_putc(' '); - lib_rawprintf(" "); + syslog(" "); for (j = 0; j < 16; j++) { - lib_rawprintf(" %04x", *run++); + syslog(" %04x", *run++); } up_putc('\n'); } diff --git a/configs/stm3210e-eval/src/up_nsh.c b/configs/stm3210e-eval/src/up_nsh.c index 3e7c2013c4..544a0e75e4 100644 --- a/configs/stm3210e-eval/src/up_nsh.c +++ b/configs/stm3210e-eval/src/up_nsh.c @@ -108,13 +108,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/stm3210e-eval/src/up_pmbuttons.c b/configs/stm3210e-eval/src/up_pmbuttons.c index c0f16ee8c6..cc6f3cae0e 100644 --- a/configs/stm3210e-eval/src/up_pmbuttons.c +++ b/configs/stm3210e-eval/src/up_pmbuttons.c @@ -308,9 +308,9 @@ void up_pmbuttons(void) if (oldhandler != NULL) { - lib_lowprintf("WARNING: oldhandler:%p is not NULL! " - "Button events may be lost or aliased!\n", - oldhandler); + lowsyslog("WARNING: oldhandler:%p is not NULL! " + "Button events may be lost or aliased!\n", + oldhandler); } } #endif diff --git a/configs/stm3210e-eval/src/up_usbmsc.c b/configs/stm3210e-eval/src/up_usbmsc.c index dce463abce..d1727174e0 100644 --- a/configs/stm3210e-eval/src/up_usbmsc.c +++ b/configs/stm3210e-eval/src/up_usbmsc.c @@ -78,7 +78,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -86,7 +86,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/stm3220g-eval/src/up_lcd.c b/configs/stm3220g-eval/src/up_lcd.c index a1fcceef7e..4a1ce09532 100644 --- a/configs/stm3220g-eval/src/up_lcd.c +++ b/configs/stm3220g-eval/src/up_lcd.c @@ -550,14 +550,14 @@ static void stm3220g_dumprun(FAR const char *msg, FAR uint16_t *run, size_t npix { int i, j; - lib_rawprintf("\n%s:\n", msg); + syslog("\n%s:\n", msg); for (i = 0; i < npixels; i += 16) { up_putc(' '); - lib_rawprintf(" "); + syslog(" "); for (j = 0; j < 16; j++) { - lib_rawprintf(" %04x", *run++); + syslog(" %04x", *run++); } up_putc('\n'); } diff --git a/configs/stm3220g-eval/src/up_nsh.c b/configs/stm3220g-eval/src/up_nsh.c index e1359de96a..068deb1a64 100644 --- a/configs/stm3220g-eval/src/up_nsh.c +++ b/configs/stm3220g-eval/src/up_nsh.c @@ -122,13 +122,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/stm3240g-eval/discover/defconfig b/configs/stm3240g-eval/discover/defconfig index e11d39ce1a..37b74972f6 100644 --- a/configs/stm3240g-eval/discover/defconfig +++ b/configs/stm3240g-eval/discover/defconfig @@ -35,7 +35,7 @@ CONFIG_RAW_BINARY=y # CONFIG_DEBUG=y # CONFIG_DEBUG_VERBOSE is not set -# CONFIG_DEBUG_ENABLE is not set +# CONFIG_SYSLOG_ENABLE is not set # # Subsystem Debug Options diff --git a/configs/stm3240g-eval/src/up_lcd.c b/configs/stm3240g-eval/src/up_lcd.c index 45e4a2b57b..74088dc5e3 100644 --- a/configs/stm3240g-eval/src/up_lcd.c +++ b/configs/stm3240g-eval/src/up_lcd.c @@ -550,14 +550,14 @@ static void stm3240g_dumprun(FAR const char *msg, FAR uint16_t *run, size_t npix { int i, j; - lib_rawprintf("\n%s:\n", msg); + syslog("\n%s:\n", msg); for (i = 0; i < npixels; i += 16) { up_putc(' '); - lib_rawprintf(" "); + syslog(" "); for (j = 0; j < 16; j++) { - lib_rawprintf(" %04x", *run++); + syslog(" %04x", *run++); } up_putc('\n'); } diff --git a/configs/stm3240g-eval/src/up_nsh.c b/configs/stm3240g-eval/src/up_nsh.c index c106e99180..596f902db0 100644 --- a/configs/stm3240g-eval/src/up_nsh.c +++ b/configs/stm3240g-eval/src/up_nsh.c @@ -128,13 +128,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/stm3240g-eval/xmlrpc/defconfig b/configs/stm3240g-eval/xmlrpc/defconfig index 4f621d4535..daa1efb8a8 100644 --- a/configs/stm3240g-eval/xmlrpc/defconfig +++ b/configs/stm3240g-eval/xmlrpc/defconfig @@ -35,7 +35,7 @@ CONFIG_RAW_BINARY=y # CONFIG_DEBUG=y # CONFIG_DEBUG_VERBOSE is not set -# CONFIG_DEBUG_ENABLE is not set +# CONFIG_SYSLOG_ENABLE is not set # # Subsystem Debug Options diff --git a/configs/stm32f4discovery/src/up_nsh.c b/configs/stm32f4discovery/src/up_nsh.c index 2a933569fd..fd3fe5cd90 100644 --- a/configs/stm32f4discovery/src/up_nsh.c +++ b/configs/stm32f4discovery/src/up_nsh.c @@ -89,13 +89,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/stm32f4discovery/src/up_pmbuttons.c b/configs/stm32f4discovery/src/up_pmbuttons.c index aa72e3da12..4bc241fce4 100644 --- a/configs/stm32f4discovery/src/up_pmbuttons.c +++ b/configs/stm32f4discovery/src/up_pmbuttons.c @@ -139,7 +139,7 @@ void up_pmbuttons(void) if (oldhandler != NULL) { - lib_lowprintf("WARNING: oldhandler:%p is not NULL! " + lowsyslog("WARNING: oldhandler:%p is not NULL! " "Button events may be lost or aliased!\n", oldhandler); } diff --git a/configs/sure-pic32mx/src/up_nsh.c b/configs/sure-pic32mx/src/up_nsh.c index 4b68350edf..94ae10d219 100644 --- a/configs/sure-pic32mx/src/up_nsh.c +++ b/configs/sure-pic32mx/src/up_nsh.c @@ -124,13 +124,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/teensy/src/up_usbmsc.c b/configs/teensy/src/up_usbmsc.c index fcf7fe2f56..0b944eda39 100644 --- a/configs/teensy/src/up_usbmsc.c +++ b/configs/teensy/src/up_usbmsc.c @@ -78,7 +78,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -86,7 +86,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/twr-k60n512/src/up_nsh.c b/configs/twr-k60n512/src/up_nsh.c index 3bb4e8527b..8069e3f966 100644 --- a/configs/twr-k60n512/src/up_nsh.c +++ b/configs/twr-k60n512/src/up_nsh.c @@ -109,13 +109,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/twr-k60n512/src/up_usbmsc.c b/configs/twr-k60n512/src/up_usbmsc.c index 1a8f7a70de..c893551cad 100644 --- a/configs/twr-k60n512/src/up_usbmsc.c +++ b/configs/twr-k60n512/src/up_usbmsc.c @@ -74,7 +74,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -82,7 +82,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/ubw32/src/up_nsh.c b/configs/ubw32/src/up_nsh.c index 5e5895b63a..7c64520045 100644 --- a/configs/ubw32/src/up_nsh.c +++ b/configs/ubw32/src/up_nsh.c @@ -54,13 +54,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/vsn/src/usbmsc.c b/configs/vsn/src/usbmsc.c index c0eebf6bf0..198e27dea1 100644 --- a/configs/vsn/src/usbmsc.c +++ b/configs/vsn/src/usbmsc.c @@ -79,7 +79,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -87,7 +87,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # define msgflush() # else # define message printf diff --git a/configs/vsn/src/vsn.h b/configs/vsn/src/vsn.h index eb999f2466..f8414f36c3 100644 --- a/configs/vsn/src/vsn.h +++ b/configs/vsn/src/vsn.h @@ -175,13 +175,13 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) +# define message(...) lowsyslog(__VA_ARGS__) # else # define message(...) printf(__VA_ARGS__) # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf +# define message lowsyslog # else # define message printf # endif diff --git a/configs/z16f2800100zcog/ostest/defconfig b/configs/z16f2800100zcog/ostest/defconfig index 64828738f2..50c3a96c67 100644 --- a/configs/z16f2800100zcog/ostest/defconfig +++ b/configs/z16f2800100zcog/ostest/defconfig @@ -44,7 +44,7 @@ CONFIG_WINDOWS_CYGWIN=y # CONFIG_DEBUG=y # CONFIG_DEBUG_VERBOSE is not set -# CONFIG_DEBUG_ENABLE is not set +# CONFIG_SYSLOG_ENABLE is not set # # Subsystem Debug Options diff --git a/configs/z16f2800100zcog/pashello/README.txt b/configs/z16f2800100zcog/pashello/README.txt index bc98281846..97d326097e 100644 --- a/configs/z16f2800100zcog/pashello/README.txt +++ b/configs/z16f2800100zcog/pashello/README.txt @@ -1,12 +1,12 @@ -README.txt -^^^^^^^^^^ - -pashello.zfpproj is a simple ZDS-II project that will allow you - to use the ZDS-II debugger. Before using, copy the following - files from the toplevel directory: - - nuttx.hex, nuttx.map, nuttx.lod - - to this directory as: - - pashello.hex, pashello.map, pashello.lod +README.txt +^^^^^^^^^^ + +pashello.zfpproj is a simple ZDS-II project that will allow you + to use the ZDS-II debugger. Before using, copy the following + files from the toplevel directory: + + nuttx.hex, nuttx.map, nuttx.lod + + to this directory as: + + pashello.hex, pashello.map, pashello.lod diff --git a/configs/z16f2800100zcog/pashello/defconfig b/configs/z16f2800100zcog/pashello/defconfig index ba99283d33..96bff8dee5 100644 --- a/configs/z16f2800100zcog/pashello/defconfig +++ b/configs/z16f2800100zcog/pashello/defconfig @@ -44,7 +44,7 @@ CONFIG_WINDOWS_CYGWIN=y # CONFIG_DEBUG=y # CONFIG_DEBUG_VERBOSE is not set -# CONFIG_DEBUG_ENABLE is not set +# CONFIG_SYSLOG_ENABLE is not set # # Subsystem Debug Options diff --git a/configs/z8encore000zco/ostest/defconfig b/configs/z8encore000zco/ostest/defconfig index 7bd512727e..605bec669b 100644 --- a/configs/z8encore000zco/ostest/defconfig +++ b/configs/z8encore000zco/ostest/defconfig @@ -44,7 +44,7 @@ CONFIG_WINDOWS_CYGWIN=y # CONFIG_DEBUG=y # CONFIG_DEBUG_VERBOSE is not set -# CONFIG_DEBUG_ENABLE is not set +# CONFIG_SYSLOG_ENABLE is not set # # Subsystem Debug Options diff --git a/configs/z8f64200100kit/ostest/defconfig b/configs/z8f64200100kit/ostest/defconfig index e98e415618..aabfc6ee4e 100644 --- a/configs/z8f64200100kit/ostest/defconfig +++ b/configs/z8f64200100kit/ostest/defconfig @@ -44,7 +44,7 @@ CONFIG_WINDOWS_CYGWIN=y # CONFIG_DEBUG=y # CONFIG_DEBUG_VERBOSE is not set -# CONFIG_DEBUG_ENABLE is not set +# CONFIG_SYSLOG_ENABLE is not set # # Subsystem Debug Options