forked from Imagelibrary/rtems
2009-05-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtc.h: New RTC driver interface. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added RTC command. * libmisc/shell/main_rtc.c: New file.
This commit is contained in:
@@ -55,6 +55,8 @@ extern rtems_shell_cmd_t rtems_shell_UNMOUNT_Command;
|
||||
extern rtems_shell_cmd_t rtems_shell_BLKSYNC_Command;
|
||||
extern rtems_shell_cmd_t rtems_shell_FDISK_Command;
|
||||
|
||||
extern rtems_shell_cmd_t rtems_shell_RTC_Command;
|
||||
|
||||
extern rtems_shell_cmd_t rtems_shell_HALT_Command;
|
||||
extern rtems_shell_cmd_t rtems_shell_CPUUSE_Command;
|
||||
extern rtems_shell_cmd_t rtems_shell_STACKUSE_Command;
|
||||
@@ -368,6 +370,13 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[];
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Miscanellous shell commands */
|
||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \
|
||||
&& !defined(CONFIGURE_SHELL_NO_COMMAND_RTC)) \
|
||||
|| defined(CONFIGURE_SHELL_COMMAND_RTC)
|
||||
&rtems_shell_RTC_Command,
|
||||
#endif
|
||||
|
||||
/*
|
||||
* User defined shell commands
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user