diff options
Diffstat (limited to 'cpukit/include/rtems/shellconfig.h')
-rw-r--r-- | cpukit/include/rtems/shellconfig.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cpukit/include/rtems/shellconfig.h b/cpukit/include/rtems/shellconfig.h index 3e87d472d6..c5fcf4a45e 100644 --- a/cpukit/include/rtems/shellconfig.h +++ b/cpukit/include/rtems/shellconfig.h @@ -78,6 +78,10 @@ extern rtems_shell_cmd_t rtems_shell_DF_Command; extern rtems_shell_cmd_t rtems_shell_MD5_Command; extern rtems_shell_cmd_t rtems_shell_RTC_Command; +extern rtems_shell_cmd_t rtems_shell_SPI_Command; +extern rtems_shell_cmd_t rtems_shell_I2CDETECT_Command; +extern rtems_shell_cmd_t rtems_shell_I2CGET_Command; +extern rtems_shell_cmd_t rtems_shell_I2CSET_Command; extern rtems_shell_cmd_t rtems_shell_SHUTDOWN_Command; extern rtems_shell_cmd_t rtems_shell_CPUINFO_Command; @@ -521,6 +525,30 @@ extern rtems_shell_alias_t * const rtems_shell_Initial_aliases[]; &rtems_shell_RTC_Command, #endif + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \ + && !defined(CONFIGURE_SHELL_NO_COMMAND_SPI)) \ + || defined(CONFIGURE_SHELL_COMMAND_SPI) + &rtems_shell_SPI_Command, + #endif + + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \ + && !defined(CONFIGURE_SHELL_NO_COMMAND_I2CDETECT)) \ + || defined(CONFIGURE_SHELL_COMMAND_I2CDETECT) + &rtems_shell_I2CDETECT_Command, + #endif + + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \ + && !defined(CONFIGURE_SHELL_NO_COMMAND_I2CGET)) \ + || defined(CONFIGURE_SHELL_COMMAND_I2CGET) + &rtems_shell_I2CGET_Command, + #endif + + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \ + && !defined(CONFIGURE_SHELL_NO_COMMAND_I2CSET)) \ + || defined(CONFIGURE_SHELL_COMMAND_I2CSET) + &rtems_shell_I2CSET_Command, + #endif + /* * System related commands */ |