mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
SIM: Register the schedule note driver if enabled
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/sched_note.h>
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/fs/loop.h>
|
||||
#include <nuttx/fs/ioctl.h>
|
||||
@@ -148,6 +149,11 @@ void up_initialize(void)
|
||||
#endif
|
||||
#endif /* CONFIG_NFILE_DESCRIPTORS */
|
||||
|
||||
#if defined(CONFIG_SCHED_INSTRUMENTATION_BUFFER) && \
|
||||
defined(CONFIG_DRIVER_NOTE)
|
||||
note_register(); /* Non-standard /dev/note */
|
||||
#endif
|
||||
|
||||
#if defined(USE_DEVCONSOLE)
|
||||
/* Start the sumulated UART device */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user