mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 03:11:35 +08:00
Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4996 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -3099,4 +3099,15 @@
|
||||
* sched/on_exit.c, sched/task_exithook.c, and include/nuttx/sched.c: Add
|
||||
support for multiple registered on_exit() functions if CONFIG_SCHED_ONEXIT_MAX
|
||||
is defined.
|
||||
* drivers/syslog/ramlog.c: Move the RAM SYSLOG device into drivers/syslog
|
||||
so that it will be in the same directory as some new SYSLOGing devices
|
||||
in the works.
|
||||
* include/nuttx/syslog.h and drivers/syslog/ramlog.c: The SYSLOG putc function
|
||||
now has a common name that is independent of the device that provides the
|
||||
SYSLOG.
|
||||
* include/nuttx/syslog.h and drivers/syslog/syslog.c: This is a new, generic
|
||||
SYSLOG device that can redirect debug output to any character device or file.
|
||||
So you can log debug output to a file or you can put the console on /dev/ttyS0
|
||||
and the debug output on /dev/ttyS1.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user